This website works better with JavaScript.
Home
Explore
Help
Register
Sign In
salt
/
apt-formula
forked from
ExternalMirrors/apt-formula
Watch
1
Star
0
Fork
0
Code
Releases
0
Activity
Browse Source
Added init.sls which defines 'apt-get update', 'apt-get upgrade', and 'apt-get dist-upgrade'
master
root
11 years ago
parent
7effa70a86
commit
fab63883be
1 changed files
with
17 additions
and
0 deletions
Unified View
Show Diff Stats
+17
-0
init.sls
+ 17
- 0
init.sls
View File
{% if grains['os']=="Ubuntu" %}
apt-get update:
cmd.wait:
- order: 130
- watch:
- file: /etc/apt/sources.list
apt-get upgrade:
cmd.wait:
- order: 135
apt-get dist-upgrade:
cmd.wait:
- order: 135
{% endif %}
Write
Preview
Loading…
Cancel
Save