github.com/jerryclinesmith/packer@v0.3.7/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 * `local_state_tree` (string) - The path to your local 31 [state tree](http://docs.saltstack.com/ref/states/highstate.html#the-salt-state-tree). 32 This will be uploaded to the `/srv/salt` on the remote. 33 34 * `local_pillar_roots` (string) - The path to your local 35 [pillar roots](http://docs.saltstack.com/ref/configuration/master.html#pillar-configuration). 36 This will be uploaded to the `/srv/pillar` on the remote. 37 38 * `skip_bootstrap` (boolean) - By default the salt provisioner runs 39 [salt bootstrap](https://github.com/saltstack/salt-bootstrap) to install 40 salt. Set this to true to skip this step. 41 42 * `boostrap_args` (string) - Arguments to send to the bootstrap script. Usage 43 is somewhat documented on [github](https://github.com/saltstack/salt-bootstrap), 44 but the [script itself](https://github.com/saltstack/salt-bootstrap/blob/develop/bootstrap-salt.sh) 45 has more detailed usage instructions. By default, no arguments are sent to 46 the script. 47 48 * `minion_config` (string) - The path to your local 49 [minion config](http://docs.saltstack.com/topics/configuration.html). 50 This will be uploaded to the `/etc/salt` on the remote. 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`.