Using grains.append in the terminal (i.e. salt 'Dom' grains.append role test) seems to work properly, and creates the role if it does not exist, however when using it in the SLS, it doesn't seem to create the key if it does not exist
I am using the following to append the key:
collectd_role:
grains.append:
- value: collectd-client
- name: role
Regards,
Phoenix
Gary Tang
unread,
Dec 29, 2014, 1:51:42 PM12/29/14
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message