Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- apache2:
- pkg:
- - installed
- service:
- - running
- - watch:
- - pkg: apache2
- - file: /etc/apache2/conf/httpd.conf
- - user: www-data
- user.present:
- - name: www-data
- - groups: www-data
- - home: /var/www/html
- - require:
- - group: www-data
- group.present:
- - name: www-data
- - require:
- - pkg: apache2
- /etc/apache2/conf/httpd.conf:
- file.managed:
- - source: salt://apache/httpd.conf
- - user: root
- - group: root
- - mode: 644
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement