Questions tagged [salt-stack]

The Salt Project, previously known as SaltStack, is a Python-based open-source configuration management software and remote execution engine.

Salt is an open source tool to manage your infrastructure. Easy enough to get running in minutes and fast enough to manage tens of thousands of servers and still get a response back in seconds.

Execute arbitrary shell commands or choose from dozens of pre-built modules of common (or complex) commands. Target individual servers or groups of servers based on name, defined roles, or a variety of system information such as hardware, software, operating system, current version, current environment, and many more.

Bring your servers up to a known configured state by writing simple lists of items and defining attributes on those lists.

Links

See also the saltstack tag on Server Fault.

1444 questions
-1
votes
1 answer

populate bash script from web app

I want to create a web app (like a form) where users can pass values when creating a server. It should be such as: instance tag prod/non-prod type of server (web, files, db, etc) and then i want to pass these values to a script on my cloud-init…
-2
votes
1 answer

powercfg set AC and DC

Can someone let me know how to set powercfg on windows using saltstack for AC and DC? monitor: powercfg.set_timeout: - value: 30 - power: dc This will set for monitor DC, but how to add for monitor AC if I cannot use another ID and ID…
-2
votes
1 answer

Best practice for Python-based Salt-stack project

I am a SaltStack user. When I am playing with those YAML files (and jinja templates), I am always wondering that maybe building the SaltStack project just with Python is more clear. But all advanced samples I can find are building multiple sls YAML…
-2
votes
1 answer

how to apply salt states to just one environment

I'm trying to apply a salt state to my non prod environment at /srv/salt/non-prod I'm getting this result: [root@salt non-prod]# salt '*' state.apply salt.localdomain: ---------- ID: states Function: no.None Result: False …
bluethundr
  • 1,005
  • 17
  • 68
  • 141
1 2 3
96
97