From d51327929768c736d77674c6b2c9e586e0d81a5d Mon Sep 17 00:00:00 2001 From: Mik-TF Date: Tue, 14 May 2024 12:57:47 -0400 Subject: [PATCH] manual, sysadmins, pulumi --- .../pulumi/pulumi_examples.md | 14 +++++++------- .../system_administrators/pulumi/pulumi_install.md | 6 +++--- .../terraform/advanced/terraform_nextcloud_vpn.md | 4 +++- 3 files changed, 13 insertions(+), 11 deletions(-) diff --git a/collections/system_administrators/pulumi/pulumi_examples.md b/collections/system_administrators/pulumi/pulumi_examples.md index ee8ab14..9910d49 100644 --- a/collections/system_administrators/pulumi/pulumi_examples.md +++ b/collections/system_administrators/pulumi/pulumi_examples.md @@ -25,11 +25,11 @@ There are a few things to set up before exploring Pulumi. Since we will be using * [Install Pulumi](pulumi_install.md) on your machine * Clone the **Pulumi-ThreeFold** repository - * ``` + ``` git clone https://github.com/threefoldtech/pulumi-threefold ``` * Change directory - * ``` + ``` cd ./pulumi-threefold ``` @@ -38,15 +38,15 @@ There are a few things to set up before exploring Pulumi. Since we will be using You can export the environment variables before deploying workloads. * Export the network (**dev**, **qa**, **test**, **main**). Note that we are using the **dev** network by default. - * ``` + ``` export NETWORK="Enter the network" ``` * Export your mnemonics. - * ``` + ``` export MNEMONIC="Enter the mnemonics" ``` * Export the SSH_KEY (public key). - * ``` + ``` export SSH_KEY="Enter the public Key" ``` @@ -65,11 +65,11 @@ The different examples that work simply by running **make run** are the followin We give an example with **virtual_machine**. * Go to the directory **virtual_machine** - * ``` + ``` cd examples/virtual_machine ``` * Deploy the Pulumi workload with **make** - * ``` + ``` make run ``` diff --git a/collections/system_administrators/pulumi/pulumi_install.md b/collections/system_administrators/pulumi/pulumi_install.md index 93262a8..531c591 100644 --- a/collections/system_administrators/pulumi/pulumi_install.md +++ b/collections/system_administrators/pulumi/pulumi_install.md @@ -17,15 +17,15 @@ To install Pulumi, simply follow the steps provided in the [Pulumi documentation ## Installation * Install on Linux - * ``` + ``` curl -fsSL https://get.pulumi.com | sh ``` * Install on MAC - * ``` + ``` brew install pulumi/tap/pulumi ``` * Install on Windows - * ``` + ``` choco install pulumi ``` diff --git a/collections/system_administrators/terraform/advanced/terraform_nextcloud_vpn.md b/collections/system_administrators/terraform/advanced/terraform_nextcloud_vpn.md index e8968ef..3d6843a 100644 --- a/collections/system_administrators/terraform/advanced/terraform_nextcloud_vpn.md +++ b/collections/system_administrators/terraform/advanced/terraform_nextcloud_vpn.md @@ -290,7 +290,9 @@ We need to install a few things on the Nextcloud VM before going further. apt install nano ``` * Install Cron on the Nextcloud VM - * apt install cron + ``` + apt install cron + ``` # Prepare the VMs for the Rsync Daily Backup