summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorJeff Bauer <jbauer@rubic.com>2012-02-11 09:27:14 -0600
committerJeff Bauer <jbauer@rubic.com>2012-02-11 09:27:14 -0600
commit16fd813d8543dd629346e81c4043411c32b7d9d1 (patch)
treedbddaeb636ca0698ecdc5c5a6d5c61d4baea89d2 /doc
parentfb2fb2ff30db6f1f06f15974a6f6be5c5ed518a6 (diff)
downloadvyos-cloud-init-16fd813d8543dd629346e81c4043411c32b7d9d1.tar.gz
vyos-cloud-init-16fd813d8543dd629346e81c4043411c32b7d9d1.zip
add support for salt minions
Diffstat (limited to 'doc')
-rw-r--r--doc/examples/cloud-config-salt-minion.txt53
1 files changed, 53 insertions, 0 deletions
diff --git a/doc/examples/cloud-config-salt-minion.txt b/doc/examples/cloud-config-salt-minion.txt
new file mode 100644
index 00000000..939fdc8b
--- /dev/null
+++ b/doc/examples/cloud-config-salt-minion.txt
@@ -0,0 +1,53 @@
+#cloud-config
+#
+# This is an example file to automatically setup and run a salt
+# minion when the instance boots for the first time.
+# Make sure that this file is valid yaml before starting instances.
+# It should be passed as user-data when starting the instance.
+
+salt_minion:
+ # conf contains all the directives to be assigned in /etc/salt/minion.
+
+ conf:
+ # Set the location of the salt master server, if the master server cannot be
+ # resolved, then the minion will fail to start.
+
+ master: salt.example.com
+
+ # Salt keys are manually generated by: salt-key --gen-keys=GEN_KEYS,
+ # where GEN_KEYS is the name of the keypair, e.g. 'minion'. The keypair
+ # will be copied to /etc/salt/pki on the minion instance.
+
+ public_key: |
+ -----BEGIN PUBLIC KEY-----
+ MIIBIDANBgkqhkiG9w0BAQEFAAOCAQ0AMIIBCAKCAQEAwI4yqk1Y12zVmu9Ejlua
+ h2FD6kjrt+N9XfGqZUUVNeRb7CA0Sj5Q6NtgoaiXuIrSea2sLda6ivqAGmtxMMrP
+ zpf3FwsYWxBUNF7D4YeLmYjvcTbfr3bCOIRnPNXZ+4isuvvEiM02u2cO0okZSgeb
+ dofNa1Nb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