This website works better with JavaScript.
Home
Explore
Help
Register
Sign In
salt
/
apache-formula
forked from
ExternalMirrors/apache-formula
Watch
1
Star
0
Fork
0
Code
Releases
0
Activity
Browse Source
add platform logic for pkg install
master
Ryan Richard
11 years ago
parent
916b4ace9b
commit
a287922545
1 changed files
with
6 additions
and
3 deletions
Split View
Show Diff Stats
+6
-3
apache/init.sls
+ 6
- 3
apache/init.sls
View File
@@ -1,7 +1,10 @@
apache2:
pkg:
{% if grains['os_family'] == 'Debian' %}
pkg:
- installed
service:
{% endif %}
service:
- running
- endable: True
- require:
- pkg: apache2
- pkg: apache2
Write
Preview
Loading…
Cancel
Save