Skip to content

Commit

Permalink
fix(googleauth): always update googleauth configs
Browse files Browse the repository at this point in the history
When we set replace to false we only generate an initial config and
changes to the pillar are never applied, set replace to true to fix
this.
  • Loading branch information
opserve-menno committed May 12, 2023
1 parent 1022581 commit 24e8cfb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion users/init.sls
Original file line number Diff line number Diff line change
Expand Up @@ -511,7 +511,7 @@ users_{{ users.sudoers_dir }}/{{ sudoers_d_filename }}:
{%- for svc in user['google_auth'] %}
users_googleauth-{{ svc }}-{{ name }}:
file.managed:
- replace: false
- replace: true
- name: {{ users.googleauth_dir }}/{{ name }}_{{ svc }}
- contents_pillar: 'users:{{ name }}:google_auth:{{ svc }}'
- user: root
Expand Down

0 comments on commit 24e8cfb

Please sign in to comment.