Commit d5ffc2a1 authored by Francesco Gionghi's avatar Francesco Gionghi
Browse files

debug dest

parent e4ebc3f3
......@@ -2,7 +2,7 @@
{%- set sssdroot = slspath.split('/')[0] %}
{%- from sssdroot ~ "/map.jinja" import sssd with context %}
{%- for file in sssd.config.sssd %}
{%- for file in sssd.config.sdfile %}
{{ file.destination }}:
file.managed:
- source: {{ file.source }}
......
# os_family: Debian
Ubuntu:
config:
sssd:
sdfile:
- source: salt://{{ slspath }}/files/sssd.conf.ubuntu
destination: /etc/sssd/sssd.conf
sssddb:
dbfile:
- source: x
destination: /var/lib/sss/db/cache_pc.itc.it.ldb
- source: x
......
......@@ -8,7 +8,7 @@ adjoin-clean:
sssd-dbclean:
file.absent:
- names:
{%- for file in sssd.config.sssddb %}
{%- for file in sssd.config.dbfile %}
- {{ file.destination }}
{%- endfor %}
- {{ sssd.config.krb.destination }}
......@@ -22,3 +22,5 @@ stop-sssd:
nsswitch-reset:
cmd.run:
- name: sed -i {{ sssd.config.nsswitch.destination }} -e 's% sss%%g'
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment