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