Merge pull request #27410 from jacobhammons/doc-updates

Fix css layout Refs #27389
This commit is contained in:
Colton Myers 2015-09-25 16:38:48 -06:00
commit 8f9a3cfbaf
4 changed files with 19 additions and 10 deletions

View file

@ -26,7 +26,7 @@
{% set css_files = [
'_static/css/core.min.css',
'_static/css/webhelp.min_v1.4.2.css',
'_static/css/webhelp.min_v1.4.3.css',
] %}
{%- macro relbar() %}

View file

@ -311,6 +311,8 @@ dl{margin-bottom:15px}
dd p{margin-top:0}
dd ul,dd table{margin-bottom:10px}
dd{margin-top:3px;margin-bottom:10px;margin-left:30px}
dd table{table-layout:fixed;width:100%}
dd table th.field-name{width:20%}
dl.glossary dt{font-weight:700;font-size:1.1em}
.field-list ul{margin:0;padding-left:1em}
.field-list p{margin:0}

View file

@ -1,23 +1,30 @@
.. _module-sync:
===========================
.. _dynamic-module-distribution:
Dynamic Module Distribution
===========================
.. versionadded:: 0.9.5
Salt Python modules can be distributed automatically via the Salt file server.
Custom Salt execution, state, and other modules can be distributed to Salt
minions using the Salt file server.
Under the root of any environment defined via the :conf_master:`file_roots`
option on the master server directories corresponding to the type of module can
be used.
The directories are prepended with an underscore:
1. :file:`_modules`
2. :file:`_grains`
3. :file:`_renderers`
4. :file:`_returners`
5. :file:`_states`
- :file:`_beacons`
- :file:`_modules`
- :file:`_grains`
- :file:`_renderers`
- :file:`_returners`
- :file:`_states`
- :file:`_outputters`
- :file:`_utils`
The contents of these directories need to be synced over to the minions after
Python modules have been created in them. There are a number of ways to sync
@ -27,9 +34,9 @@ Sync Via States
===============
The minion configuration contains an option ``autoload_dynamic_modules``
which defaults to True. This option makes the state system refresh all
which defaults to ``True``. This option makes the state system refresh all
dynamic modules when states are run. To disable this behavior set
``autoload_dynamic_modules`` to False in the minion config.
:conf_minion:`autoload_dynamic_modules` to ``False`` in the minion config.
When dynamic modules are autoloaded via states, modules only pertinent to
the environments matched in the master's top file are downloaded.

View file

@ -9,7 +9,7 @@ Ensure a Linux ACL is present
root:
acl.present:
- name: /root
- acl_type: users
- acl_type: user
- acl_name: damian
- perms: rwx