-
-
Save hatifnatt/59fe414e0156eadd046d72358388e591 to your computer and use it in GitHub Desktop.
salt-ssh doesn't work with gitfs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[DEBUG ] Could not find file 'salt://users/sudo.sls' in saltenv 'base' | |
[DEBUG ] Could not find file 'salt://users/sudo/init.sls' in saltenv 'base' | |
[DEBUG ] compile template: False | |
[ERROR ] Template was specified incorrectly: False | |
[DEBUG ] Could not find file 'salt://users/user_files.sls' in saltenv 'base' | |
[DEBUG ] Could not find file 'salt://users/user_files/init.sls' in saltenv 'base' | |
[DEBUG ] compile template: False | |
[ERROR ] Template was specified incorrectly: False | |
[DEBUG ] LazyLoaded nested.output | |
pve06: | |
- Specified SLS users.sudo in saltenv base is not available on the salt master or through a configured fileserver | |
- Specified SLS users.user_files in saltenv base is not available on the salt master or through a configured fileserver | |
And they really are not here: | |
# ls -l /var/cache/salt/master/files/base/users | |
итого 16 | |
-rw------- 1 root root 15280 фев 24 19:17 init.sls | |
But they are here: | |
# ls -l /var/cache/salt/master/gitfs/refs/base/users | |
итого 36 | |
drwxr-xr-x 4 root root 4096 фев 19 2017 files | |
-rw-r--r-- 1 root root 15280 дек 8 03:34 init.sls | |
drwxr-xr-x 2 root root 4096 фев 15 2017 keys | |
-rw-r--r-- 1 root root 1933 июл 28 2017 map.jinja | |
-rw-r--r-- 1 root root 739 мар 23 2017 sudo.sls | |
-rw-r--r-- 1 root root 2259 ноя 30 19:10 user_files.sls |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
state_top_saltenv: base | |
file_roots: | |
base: | |
- /srv/salt/base/state | |
dev: | |
- /srv/salt/dev/state | |
- /srv/salt/formulas/zabbix-formula | |
top_file_merging_strategy: same | |
env_order: ['dev', 'base'] | |
default_top: base | |
file_ignore_regex: | |
- '/\.svn($|/)' | |
- '/\.git($|/)' | |
fileserver_backend: | |
- roots | |
- git | |
gitfs_provider: gitpython | |
gitfs_remotes: | |
- https://github.com/hatifnatt/users-formula: | |
- saltenv: | |
- base: | |
- ref: master | |
- dev: | |
- ref: dev | |
pillar_roots: | |
base: | |
- /srv/salt/base/pillar | |
dev: | |
- /srv/salt/dev/pillar | |
pillar_merge_lists: True |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment