|
|
|
|
|
|
|
|
- source: salt://{{ slspath }}/files/key |
|
|
- source: salt://{{ slspath }}/files/key |
|
|
- template: jinja |
|
|
- template: jinja |
|
|
- user: root |
|
|
- user: root |
|
|
- group: root |
|
|
|
|
|
|
|
|
- group: |
|
|
|
|
|
{%- if grains['kernel'] in ['FreeBSD', 'OpenBSD', 'NetBSD'] %} |
|
|
|
|
|
wheel |
|
|
|
|
|
{%- else %} |
|
|
|
|
|
root |
|
|
|
|
|
{%- endif %} |
|
|
- mode: 600 |
|
|
- mode: 600 |
|
|
- makedirs: True |
|
|
- makedirs: True |
|
|
- defaults: |
|
|
- defaults: |
|
|
|
|
|
|
|
|
file.directory: |
|
|
file.directory: |
|
|
- name: {{ salt_settings.config_path }}/cloud.providers.d |
|
|
- name: {{ salt_settings.config_path }}/cloud.providers.d |
|
|
- user: root |
|
|
- user: root |
|
|
- group: root |
|
|
|
|
|
|
|
|
- group: |
|
|
|
|
|
{%- if grains['kernel'] in ['FreeBSD', 'OpenBSD', 'NetBSD'] %} |
|
|
|
|
|
wheel |
|
|
|
|
|
{%- else %} |
|
|
|
|
|
root |
|
|
|
|
|
{%- endif %} |
|
|
- file_mode: 600 |
|
|
- file_mode: 600 |
|
|
- dir_mode: 700 |
|
|
- dir_mode: 700 |
|
|
- recurse: |
|
|
- recurse: |