This website works better with JavaScript.
Home
Explore
Help
Register
Sign In
ExternalMirrors
/
apt-formula
mirror of
https://github.com/saltstack-formulas/apt-formula.git
Watch
1
Star
0
Fork
1
Code
Issues
0
Releases
11
Wiki
Activity
Browse Source
Added init.sls which defines 'apt-get update', 'apt-get upgrade', and 'apt-get dist-upgrade'
tags/v0.7.0
root
11 years ago
parent
7effa70a86
commit
fab63883be
1 changed files
with
17 additions
and
0 deletions
Split View
Show Diff Stats
+17
-0
init.sls
+ 17
- 0
init.sls
View File
@@ -0,0 +1,17 @@
{% 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