From b687659bff33c233769132f6422713ed0c57fc7c Mon Sep 17 00:00:00 2001 From: Jimmy Tang Date: Tue, 23 Dec 2014 15:06:28 +0000 Subject: [PATCH] Initial add of dummy saltify settings This commit also provides a more concrete example of a 'host' to be saltified. Users can do salt-cloud -p make_salty someinstance or salt-cloud -m /etc/salt/cloud.maps.d/foo.conf Either which way the online docs should really be updated with more concrete examples. --- salt/files/cloud.maps.d/saltify.conf | 7 +++++++ salt/files/cloud.profiles.d/saltify.conf | 3 +++ salt/files/cloud.providers.d/saltify.conf | 3 +++ 3 files changed, 13 insertions(+) create mode 100644 salt/files/cloud.maps.d/saltify.conf create mode 100644 salt/files/cloud.profiles.d/saltify.conf create mode 100644 salt/files/cloud.providers.d/saltify.conf diff --git a/salt/files/cloud.maps.d/saltify.conf b/salt/files/cloud.maps.d/saltify.conf new file mode 100644 index 0000000..e7e3858 --- /dev/null +++ b/salt/files/cloud.maps.d/saltify.conf @@ -0,0 +1,7 @@ +# This file is managed by Salt via {{ source }} +make_salty: + - someinstance: + ssh_host: somehost.somedomain + ssh_username: user + password: password + sudo: True diff --git a/salt/files/cloud.profiles.d/saltify.conf b/salt/files/cloud.profiles.d/saltify.conf new file mode 100644 index 0000000..b837f4d --- /dev/null +++ b/salt/files/cloud.profiles.d/saltify.conf @@ -0,0 +1,3 @@ +# This file is managed by Salt via {{ source }} +make_salty: + provider: saltify diff --git a/salt/files/cloud.providers.d/saltify.conf b/salt/files/cloud.providers.d/saltify.conf new file mode 100644 index 0000000..c4d5128 --- /dev/null +++ b/salt/files/cloud.providers.d/saltify.conf @@ -0,0 +1,3 @@ +# This file is managed by Salt via {{ source }} +saltify: + provider: saltify