|
|
|
|
|
|
|
|
===== |
|
|
|
|
|
Linux |
|
|
|
|
|
===== |
|
|
|
|
|
|
|
|
============ |
|
|
|
|
|
Linux Fomula |
|
|
|
|
|
============ |
|
|
|
|
|
|
|
|
Linux Operating Systems. |
|
|
Linux Operating Systems. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Fedora |
|
|
* Fedora |
|
|
* Arch |
|
|
* Arch |
|
|
|
|
|
|
|
|
Sample pillars |
|
|
|
|
|
|
|
|
Sample Pillars |
|
|
============== |
|
|
============== |
|
|
|
|
|
|
|
|
Linux system |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Linux System |
|
|
------------ |
|
|
------------ |
|
|
|
|
|
|
|
|
Basic Linux box |
|
|
Basic Linux box |
|
|
|
|
|
|
|
|
This ways ``linux.system.sudo`` pillar map to actual sudo attributes: |
|
|
This ways ``linux.system.sudo`` pillar map to actual sudo attributes: |
|
|
|
|
|
|
|
|
.. code-block:: jinja |
|
|
.. code-block:: jinja |
|
|
|
|
|
|
|
|
# simplified template: |
|
|
# simplified template: |
|
|
Cmds_Alias {{ alias }}={{ commands }} |
|
|
Cmds_Alias {{ alias }}={{ commands }} |
|
|
{{ user }} {{ hosts }}=({{ runas }}) NOPASSWD: {{ commands }} |
|
|
{{ user }} {{ hosts }}=({{ runas }}) NOPASSWD: {{ commands }} |
|
|
|
|
|
|
|
|
# when rendered: |
|
|
# when rendered: |
|
|
saltuser1 ALL=(ALL) NOPASSWD: ALL |
|
|
saltuser1 ALL=(ALL) NOPASSWD: ALL |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
.. code-block:: yaml |
|
|
.. code-block:: yaml |
|
|
|
|
|
|
|
|
linux: |
|
|
linux: |
|
|
system: |
|
|
system: |
|
|
sudo: |
|
|
sudo: |