Page Menu
Home
DevCentral
Search
Configure Global Search
Log In
Files
F3767969
D1075.id2745.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
999 B
Referenced Files
None
Subscribers
None
D1075.id2745.diff
View Options
diff --git a/pillar/salt/roles.sls b/pillar/salt/roles.sls
deleted file mode 100644
--- a/pillar/salt/roles.sls
+++ /dev/null
@@ -1,15 +0,0 @@
-roles:
- eglide:
- - shellserver
- dwellers.nasqueron.org:
- - paas-lxc
- - paas-docker
- ysul.nasqueron.org:
- - devserver
- - saltmaster
- mail.nasqueron.org:
- - mailserver
- ns1.nasqueron.org:
- - dns
- ns2.nasqueron.org:
- - dns
diff --git a/pillar/top.sls b/pillar/top.sls
--- a/pillar/top.sls
+++ b/pillar/top.sls
@@ -11,7 +11,6 @@
- core.hostnames
- certificates.certificates
- nodes.nodes
- - salt.roles
eglide:
- users.revokedusers
- users.shellusers
diff --git a/roles/core/salt/init.sls b/roles/core/salt/init.sls
--- a/roles/core/salt/init.sls
+++ b/roles/core/salt/init.sls
@@ -9,4 +9,4 @@
salt_roles:
grains.list_present:
- name: roles
- - value: {{ pillar.get('roles')[grains['id']] }}
+ - value: {{ salt['pillar.get']("nodes:" + grains['id'] + ":roles", []) }}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Nov 24, 04:37 (3 h, 36 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2259241
Default Alt Text
D1075.id2745.diff (999 B)
Attached To
Mode
D1075: Switch salt unit pillar configuration to nodes
Attached
Detach File
Event Timeline
Log In to Comment