Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- apache_conf:
- file.managed:
- - name: {{ pillar['pkgs_settings']['apache_sites_available'] }}/graphite
- - source: salt://graphite_server/files/apache/graphite
- - template: jinja
- apache_link:
- file.symlink:
- - name: {{ pillar['pkgs_settings']['apache_sites_enabled'] }}/graphite
- - target: {{ pillar['pkgs_settings']['apache_sites_available'] }}/graphite
- - require:
- - file: apache_conf
- apache_service:
- service:
- - name: {{ pillar['pkgs']['apache'] }}
- - enable: True
- - running
- - watch:
- - file: apache_conf
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement