fix warning on preferences as not managedmaster
@@ -7,13 +7,15 @@ | |||
{% set default_url = apt.get('default_url', apt_map.default_url) %} | |||
/etc/apt/preferences: | |||
{% if remove_preferences %} | |||
file.absent | |||
{% else %} | |||
file.managed: | |||
- mode: '0644' | |||
- user: root | |||
- group: root | |||
{% if remove_preferences %} | |||
- contents: '' | |||
- contents_newline: False | |||
{% else %} | |||
- replace: False | |||
{% endif %} | |||
{{ preferences_dir }}: |
@@ -18,6 +18,8 @@ | |||
{% if remove_sources_list %} | |||
- contents: '' | |||
- contents_newline: False | |||
{% else %} | |||
- replace: False | |||
{% endif %} | |||
{{ sources_list_dir }}: |