Page Menu
Home
DevCentral
Search
Configure Global Search
Log In
Files
F3751437
D1175.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
326 B
Referenced Files
None
Subscribers
None
D1175.diff
View Options
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: {{ salt['pillar.get']("nodes:" + grains['id'] + ":roles", []) }}
+ - value: {{ salt['node.list']("roles") }}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mon, Nov 18, 08:41 (21 h, 49 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2250489
Default Alt Text
D1175.diff (326 B)
Attached To
Mode
D1175: Use node.list
Attached
Detach File
Event Timeline
Log In to Comment