Current File : //lib/python2.7/site-packages/cloudinit/config/cc_salt_minion.pyc |
�
oB�]c @ sK d Z d d l Z d d l m Z m Z d e f d � � YZ d � Z d S( s�
Salt Minion
-----------
**Summary:** set up and run salt minion
This module installs, configures and starts salt minion. If the ``salt_minion``
key is present in the config parts, then salt minion will be installed and
started. Configuration for salt minion can be specified in the ``conf`` key
under ``salt_minion``. Any conf values present there will be assigned in
``/etc/salt/minion``. The public and private keys to use for salt minion can be
specified with ``public_key`` and ``private_key`` respectively. Optionally if
you have a custom package name, service name or config directory you can
specify them with ``pkg_name``, ``service_name`` and ``config_dir``.
**Internal name:** ``cc_salt_minion``
**Module frequency:** per instance
**Supported distros:** all
**Config keys**::
salt_minion:
pkg_name: 'salt-minion'
service_name: 'salt-minion'
config_dir: '/etc/salt'
conf:
master: salt.example.com
grains:
role:
- web
public_key: |
------BEGIN PUBLIC KEY-------
<key data>
------END PUBLIC KEY-------
private_key: |
------BEGIN PRIVATE KEY------
<key data>
------END PRIVATE KEY-------
i����N( t safeyamlt utilt
SaltConstantsc B s e Z d Z d � Z RS( s>