浏览代码

Change run to wait, to run only on repositories changes

master
Javier Bértoli 8 年前
父节点
当前提交
7c7cd9f9a8
共有 2 个文件被更改,包括 8 次插入5 次删除
  1. +4
    -3
      apt/dist_upgrade.sls
  2. +4
    -2
      apt/update.sls

+ 4
- 3
apt/dist_upgrade.sls 查看文件

@@ -1,4 +1,5 @@
apt-get dist-upgrade:
cmd:
- run

cmd.wait:
- watch:
- file: /etc/apt/sources.list
- file: /etc/apt/sources.list.d

+ 4
- 2
apt/update.sls 查看文件

@@ -1,3 +1,5 @@
apt-get update:
cmd:
- run
cmd.wait:
- watch:
- file: /etc/apt/sources.list
- file: /etc/apt/sources.list.d

正在加载...
取消
保存