paulbsd-salt/states/chrome/config.sls

18 lines
446 B
Plaintext
Raw Permalink Normal View History

2021-09-25 16:14:22 +02:00
---
{%- from "chrome/map.jinja" import chrome with context %}
{%- for dir in chrome.directories %}
chrome-directory-{{ dir }}:
file.directory:
- name: {{ dir }}
- makedirs: True
{%- endfor %}
chrome-policies-managed:
file.managed:
- name: /etc/opt/chrome/policies/managed/managed_policies.json
2023-03-11 10:08:26 +01:00
- source: salt://chrome/templates/config.json.j2
2021-09-25 16:14:22 +02:00
- context:
2023-01-20 13:23:56 +01:00
config: {{ chrome.config.managed }}
2021-09-25 16:14:22 +02:00
- template: jinja