github.com/phobos182/packer@v0.2.3-0.20130819023704-c84d2aeffc68/website/source/docs/provisioners/salt-masterless.html.markdown (about)

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