github.com/askholme/packer@v0.7.2-0.20140924152349-70d9566a6852/website/source/docs/provisioners/salt-masterless.html.markdown (about)

     1  ---
     2  layout: "docs"
     3  page_title: "Salt (Masterless) Provisioner"
     4  ---
     5  
     6  # Salt Masterless Provisioner
     7  
     8  Type: `salt-masterless`
     9  
    10  The `salt-masterless` provisioner provisions machines built by Packer using
    11  [Salt](http://saltstack.com/) states, without connecting to a Salt master.
    12  
    13  ## Basic Example
    14  
    15  The example below is fully functional.
    16  
    17  <pre class="prettyprint">
    18  {
    19      "type": "salt-masterless",
    20      "local_state_tree": "/Users/me/salt"
    21  }
    22  </pre>
    23  
    24  ## Configuration Reference
    25  
    26  The reference of available configuration options is listed below. The only required argument is the path to your local salt state tree.
    27  
    28  Optional:
    29  
    30  * `bootstrap_args` (string) - Arguments to send to the bootstrap script. Usage
    31    is somewhat documented on [github](https://github.com/saltstack/salt-bootstrap),
    32    but the [script itself](https://github.com/saltstack/salt-bootstrap/blob/develop/bootstrap-salt.sh)
    33    has more detailed usage instructions. By default, no arguments are sent to
    34    the script.
    35  
    36  * `local_pillar_roots` (string) - The path to your local
    37    [pillar roots](http://docs.saltstack.com/ref/configuration/master.html#pillar-configuration).
    38    This will be uploaded to the `/srv/pillar` on the remote.
    39  
    40  * `local_state_tree` (string) - The path to your local
    41    [state tree](http://docs.saltstack.com/ref/states/highstate.html#the-salt-state-tree).
    42    This will be uploaded to the `/srv/salt` on the remote.
    43  
    44  * `minion_config` (string) - The path to your local
    45    [minion config](http://docs.saltstack.com/topics/configuration.html).
    46    This will be uploaded to the `/etc/salt` on the remote.
    47  
    48  * `skip_bootstrap` (boolean) - By default the salt provisioner runs
    49    [salt bootstrap](https://github.com/saltstack/salt-bootstrap) to install
    50    salt. Set this to true to skip this step.
    51  
    52  * `temp_config_dir` (string) - Where your local state tree will be copied
    53    before moving to the `/srv/salt` directory. Default is `/tmp/salt`.