Hi,

I'm using SaltStack on foreman but some things are not clear to me:

1. In /src/salt/ I have 3 files:
/srv/salt/top.sls
/srv/salt/tree.sls
/srv/salt/httpd.sls

top.sls defines a environment "base". I have assigned base to one host but I 
have only selected the Salt State "tree" for this host. Unfortunately, it will 
also apply "httpd" which isn't selected as Salt State.
I guess this is because "This is done in addition to top.sls." (foreman salt 
documentation). Is it best practice to "skip" /srv/salt/top.sls and specify 
environment + states completely in foreman?

2. When I assign a new Salt State to the host (after adding a new state in 
/srv/salt), will it automatically Run Salt or do I need to run it manually 
using "Run Salt"?

3. There is a button to add a new Salt State - like "vim". What's the purpose 
of this button as it doesn't allow to specify the planned actions (like, 
install the package httpd, change configuration file XYZ). I guess you need to 
do this always in /srv/salt - means, you need to add the salt state 
/srv/state/vim.sls on foreman.

Best regards,
Bernhard

--
ATIX - The Linux & Open Source Company 
www.atix.de 

-- 
You received this message because you are subscribed to the Google Groups 
"Foreman users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/foreman-users.
For more options, visit https://groups.google.com/d/optout.

Reply via email to