Browse Source

added -y flag to apt-get calls

tags/v0.7.0
Jason D. Kelleher 5 years ago
parent
commit
b227ec7cf2
4 changed files with 6 additions and 6 deletions
  1. +3
    -3
      README.rst
  2. +1
    -1
      apt/dist_upgrade.sls
  3. +1
    -1
      apt/update.sls
  4. +1
    -1
      apt/upgrade.sls

+ 3
- 3
README.rst View File

@@ -17,17 +17,17 @@ Available states
``apt.dist_upgrade``
--------------------

Runs ``apt-get dist-upgrade``.
Runs ``apt-get -y dist-upgrade``.

``apt.update``
--------------

Runs ``apt-get update``.
Runs ``apt-get -y update``.

``apt.upgrade``
---------------

Runs ``apt-get upgrade``.
Runs ``apt-get -y upgrade``.

``apt.repositories``
--------------------

+ 1
- 1
apt/dist_upgrade.sls View File

@@ -1,4 +1,4 @@
apt-get dist-upgrade:
apt-get -y dist-upgrade:
cmd.wait:
- watch:
- file: /etc/apt/sources.list

+ 1
- 1
apt/update.sls View File

@@ -1,4 +1,4 @@
apt-get update:
apt-get -y update:
cmd.wait:
- watch:
- file: /etc/apt/sources.list

+ 1
- 1
apt/upgrade.sls View File

@@ -1,4 +1,4 @@
apt-get upgrade:
apt-get -y upgrade:
cmd.wait:
- watch:
- file: /etc/apt/sources.list

Loading…
Cancel
Save