paulbsd-salt/states/chrome/config.sls

18 lines
434 B
Plaintext
Raw 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
- source: salt://chrome/config.json.j2
- context:
config: {{ chrome.config.managed }}
- template: jinja