Page MenuHomeDevCentral

D978.id.diff
No OneTemporary

D978.id.diff

diff --git a/roles/saltmaster/cloud/files/providers/dwellers b/roles/saltmaster/cloud/files/providers/dwellers
new file mode 100644
--- /dev/null
+++ b/roles/saltmaster/cloud/files/providers/dwellers
@@ -0,0 +1,3 @@
+dwellers-lxc:
+ target: dwellers.nasqueron.org
+ driver: lxc
diff --git a/roles/saltmaster/cloud/init.sls b/roles/saltmaster/cloud/init.sls
new file mode 100644
--- /dev/null
+++ b/roles/saltmaster/cloud/init.sls
@@ -0,0 +1,20 @@
+# -------------------------------------------------------------
+# Salt — Salt master configuration
+# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+# Project: Nasqueron
+# Created: 2017-04-28
+# License: Trivial work, not eligible to copyright
+# -------------------------------------------------------------
+
+{% from "map.jinja" import dirs with context %}
+
+# -------------------------------------------------------------
+# Providers
+# -------------------------------------------------------------
+
+saltmaster_cloud_providers:
+ file.recurse:
+ - name: {{ dirs.etc }}/salt/cloud.providers.d
+ - source: salt://roles/saltmaster/cloud/files/providers
+ - dir_mode: 755
+ - file_mode: 644

File Metadata

Mime Type
text/plain
Expires
Fri, Jan 31, 08:33 (10 h, 42 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2387041
Default Alt Text
D978.id.diff (1 KB)

Event Timeline