I’ like to know if the /etc/salt/master file is read in any sort of order.
I’m specifically speaking of the file_roots directive. Mine reads:
file_roots:
base:
- /srv/salt
- /srv/salt/dev
When I spun up a dev server, see what transpired. Can you tell me why it
worked out that way?
[[email protected] salt]# salt 'dev*' state.highstate
dev-minion-1:
----------
ID: states
Function: no.None
Result: False
Comment: No Top file or external nodes data matches found
Started:
Duration:
Changes:
Summary
------------
Succeeded: 0
Failed: 1
------------
Total states run: 1
[[email protected] salt]# pwd
/srv/salt
[[email protected] salt]# cd dev/
[[email protected] dev]# salt 'dev*' state.highstate
dev-minion-1:
----------
ID: states
Function: no.None
Result: False
Comment: No Top file or external nodes data matches found
Started:
Duration:
Changes:
Summary
------------
Succeeded: 0
Failed: 1
------------
Total states run: 1
[[email protected] dev]# tree
.
├── dev_top.sls
└── init.sls
0 directories, 2 files
[[email protected] dev]# salt 'dev*' state.sls dev
dev-minion-1:
----------
ID: zenity
Function: pkg.installed
Result: True
Comment: The following packages were installed/updated: zenity.
Started: 08:01:02.644779
Duration: 121493.599 ms
Changes:
----------
ConsoleKit:
----------
new:
0.4.1-3.el6
old:
ConsoleKit-libs:
----------
new:
0.4.1-3.el6
old:
[truncated…]
xcb-util:
----------
new:
0.3.6-5.el6
old:
zenity:
----------
new:
2.28.0-1.el6
old:
Summary
------------
Succeeded: 1 (changed=1)
Failed: 0
------------
Total states run: 1
--
You received this message because you are subscribed to the Google Groups "Salt-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
For more options, visit https://groups.google.com/d/optout.