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
Added basic formula to install Apache
master
Seth House
11 years ago
parent
0e86fb8c9d
commit
053c3443d7
1 changed files
with
13 additions
and
0 deletions
Split View
Show Diff Stats
+13
-0
apache/init.sls
+ 13
- 0
apache/init.sls
View File
@@ -0,0 +1,13 @@
{% set pkg = salt['grains.filter_by']({
'Debian': {'name': 'apache2'},
'RedHat': {'name': 'httpd'},
}) %}
apache:
pkg:
- installed
- name: {{ pkg.name }}
service:
- running
- name: {{ pkg.name }}
- enable: True
Write
Preview
Loading…
Cancel
Save