Questions tagged [saltstack]

SaltStack is an open source configuration management and remote execution application.

5
votes
1answer
770 views

Should I keep my deployment settings in a separate repository?

I'm learning Salt Stack to deploy my Python application to various stages of production on AWS. Right now I have all my source code and salt states in one big repository. Are there any practical or ...
10
votes
3answers
8k views

Clear Directory with Salt State File

How do I clear a directory on a salt-minion using a state file? I want to delete all *.conf files in /etc/supervisord/conf.d/ before I set up other supervisor services. The following top.sls ...
5
votes
2answers
11k views

How do you execute a cmd.script once the pre-requisite files have been downloaded?

I have a very simple use case that I'm trying to get going: I need to download and install a few tar.gz source packages from the master and then run a script to compile and install all of them. I ...
0
votes
1answer
555 views

Requisite of file.append

Is it possible to make salt require that a particular file was appended to as opposed to the file merely existing? It seems like I can only require a file state. The source looks like it strips out ...
5
votes
1answer
5k views

How to use Salt Stack with minions all behind NAT (not publicly accessible, default salt ports not open)?

Can Salt Stack minions communicate with the salt master from behind NAT/Firewalls, etc., using standard ports that would be open be default in all consumer NAT routers (and without the minions having ...
11
votes
5answers
7k views

Can Salt (Saltstack) gather and relay data for Graphite, Ganglia, or Zenoss?

I'm starting a new project and considering using Ansible or Salt for deployment automation and, perhaps, more sophisticated orchestration (server management and federation). With Salt I'm wondering ...
3
votes
6answers
405 views

Monitor servers for changes made outside of automation software

The company I work for is currently investigating the deployment of an centralized automation system (like Salt or Puppet) for our servers (all Ubuntu/FreeBSD). We will probably go along with Salt, ...
40
votes
0answers
6k views

What advantages/features does Puppet or Chef offer over Salt (or vice versa)? [closed]

I am looking at rolling out a new configuration management tool to replace our home-grown solution. The defacto standards are Chef and Puppet, both of which are Ruby-centric (though can be used to ...