This website works better with JavaScript.
Home
Explore
Help
Register
Sign In
ExternalMirrors
/
apache-formula
mirror of
https://github.com/saltstack-formulas/apache-formula.git
Watch
1
Star
0
Fork
1
Code
Issues
0
Releases
31
Wiki
Activity
Browse Source
Don't execute a2ensite if the vhost is already enabled
tags/v0.37.4
vincentfretin
10 years ago
parent
b034debeca
commit
18d8c0c0fb
1 changed files
with
1 additions
and
0 deletions
Split View
Show Diff Stats
+1
-0
apache/vhosts/standard.sls
+ 1
- 0
apache/vhosts/standard.sls
View File
@@ -24,6 +24,7 @@ include:
a2ensite {{ id }}:
cmd:
- run
- unless: ls /etc/apache2/sites-enabled/{{ id }}
- require:
- file: {{ id }}
- watch_in:
Write
Preview
Loading…
Cancel
Save