Send the link below via email or IMCopy
Present to your audienceStart remote presentation
- Invited audience members will follow you as you navigate and present
- People invited to a presentation do not need a Prezi account
- This link expires 10 minutes after you close the presentation
- A maximum of 30 users can follow your presentation
- Learn more about this feature in the manual
Do you really want to delete this prezi?
Neither you, nor the coeditors you shared it with will be able to recover it again.
Make your likes visible on Facebook?
Connect your Facebook account to Prezi and let your likes appear on your timeline.
You can change this under Settings & Account at any time.
Salt Stack - Miért szeretjük a sót!?
Zoltán Vighon 28 August 2013
Transcript of Salt Stack - Miért szeretjük a sót!?
- Üzemeltetési vezető
Why we love salt?!?
What is Salt
Relatively new project (3 years old)
Started by Thomas Hatch, now 397 contributors
Written in Python
ZeroMQ as core communication mechanism
Extremely flexible and extensible
RedHat Enterprise Linux
Open 2 ports (pub/sub & reply channel)
Connect to the master
No open ports required
All communications over ZeroMQ (msgpack)
PUB-SUB for master -> minion
REQ-REP for minon -> master
All communication encrypted
- pkg: apache
How to use?
Match all minions:
salt '*' test.ping
Match all minions in the example.net domain or any of the example domains:
salt '*.example.net' test.ping
salt '*.example.*' test.ping
Match both web1-prod and web1-devel minions:
salt -E 'web1-(prod|devel)' test.ping
Simple lists of minion id's:
salt -L 'web1,web2,web3' test.ping
Match all CentOS minions:
salt -G 'os:CentOS' test.ping
Match 64-bit CPUs minions, return number of available cores:
salt -G 'cpuarch:x86_64' grains.item num_cpus
Grains can be statically assigned within the minion configuration file. Can also write custom grains (python functions) and sync to minions.
Could be Python, but cumbersome
Starts with top.sls under files_root definition
...because goats are also love it :)
Why do we need this?