浏览代码

Merge pull request #20 from jerrykan/empty_sources

Ensure sources.list exists but is empty (#19)
master
Forrest 8 年前
父节点
当前提交
3d65bc6e38
共有 1 个文件被更改,包括 3 次插入3 次删除
  1. +3
    -3
      apt/repositories.sls

+ 3
- 3
apt/repositories.sls 查看文件

@@ -10,10 +10,10 @@ debian-archive-keyring:
pkg.installed

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

正在加载...
取消
保存