Simon Pasquier | c8eeebc | 2017-01-13 13:47:19 +0100 | [diff] [blame] | 1 | parameters: |
| 2 | _param: |
Tomáš Kukrál | 33cd256 | 2017-03-03 11:55:33 +0100 | [diff] [blame^] | 3 | salt_master_api_port: 6969 |
Ales Komarek | bc52ba0 | 2017-01-13 08:53:36 -0800 | [diff] [blame] | 4 | salt_master_api_permissions: |
| 5 | - '.*' |
| 6 | - '@local' |
| 7 | - '@wheel' # to allow access to all wheel modules |
| 8 | - '@runner' # to allow access to all runner modules |
| 9 | - '@jobs' # to allow access to the jobs runner and/or wheel mo |
Simon Pasquier | c8eeebc | 2017-01-13 13:47:19 +0100 | [diff] [blame] | 10 | salt: |
| 11 | api: |
| 12 | enabled: true |
| 13 | bind: |
| 14 | address: 0.0.0.0 |
| 15 | port: ${_param:salt_master_api_port} |
| 16 | master: |
| 17 | command_timeout: 600 |
| 18 | user: |
| 19 | salt: |
Ales Komarek | bc52ba0 | 2017-01-13 08:53:36 -0800 | [diff] [blame] | 20 | permissions: ${_param:salt_master_api_permissions} |
Simon Pasquier | c8eeebc | 2017-01-13 13:47:19 +0100 | [diff] [blame] | 21 | linux: |
| 22 | system: |
| 23 | user: |
| 24 | salt: |
| 25 | enabled: true |
| 26 | name: salt |
| 27 | password: ${_param:salt_api_password_hash} |
| 28 | home: /var/tmp/salt |
| 29 | sudo: false |
| 30 | system: true |
| 31 | shell: /bin/false |