Skip to content

Instantly share code, notes, and snippets.

@Ch3LL
Created March 3, 2016 01:11
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Ch3LL/24e0ef8021941f2e5c46 to your computer and use it in GitHub Desktop.
Save Ch3LL/24e0ef8021941f2e5c46 to your computer and use it in GitHub Desktop.
1. Need to remove the .sls
[ch3ll@ch3ll-master salt]$ git diff │··············································
diff --git a/salt/users/init.sls b/salt/users/init.sls │··············································
index af16c0c..1025873 100644 │··············································
--- a/salt/users/init.sls │··············································
+++ b/salt/users/init.sls │··············································
@@ -1,5 +1,5 @@ │··············································
include: │··············································
- .root_keys │··············································
- - .chamunks.sls │··············································
- - .graphicrabbit.sls │··············································
- - .fatboy2380.sls │··············································
+ - .chamunks │··············································
+ - .graphicrabbit │··············································
+ - .fatboy2380
2. Need to change root-keys to root_keys
[ch3ll@ch3ll-master salt]$ sudo salt 'ch3ll-master*' state.show_highstate │··············································
ch3ll-master.c7.saltstack.net: │··············································
- Specified SLS users.root_keys in saltenv base is not available on the salt master or through a configured fileserver │··············································
ERROR: Minions returned with non-zero exit code │··············································
[ch3ll@ch3ll-master salt]$ ls users/ | grep -i roo │··············································
root-keys.sls
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment