Browse Source

Merge pull request #20 from jerrykan/empty_sources

Ensure sources.list exists but is empty (#19)
master
Forrest 8 years ago
parent
commit
3d65bc6e38
1 changed files with 3 additions and 3 deletions
  1. +3
    -3
      apt/repositories.sls

+ 3
- 3
apt/repositories.sls View File

pkg.installed pkg.installed


/etc/apt/sources.list: /etc/apt/sources.list:
{% if remove_sources_list %}
file.absent
{% else %}
file.managed: file.managed:
{%- if remove_sources_list %}
- contents: ''
{%- else %}
- mode: '0644' - mode: '0644'
- user: root - user: root
- group: root - group: root

Loading…
Cancel
Save