force symlink creation for enable_web_vhost
- add '-f' parameter to ln invocation - add changelog entry
This commit is contained in:
parent
b5632039c0
commit
e498777d02
2 changed files with 4 additions and 1 deletions
|
@ -1,6 +1,9 @@
|
||||||
Changelog
|
Changelog
|
||||||
=========
|
=========
|
||||||
|
|
||||||
|
* :bugfix:`-` force symlink creation for enable_web_vhost task to make it
|
||||||
|
idempotent
|
||||||
|
|
||||||
* :release:`0.1.0 <2015-01-27>`
|
* :release:`0.1.0 <2015-01-27>`
|
||||||
* :feature:`-` add tasks to setup and delete per user PHP5 FPM pool
|
* :feature:`-` add tasks to setup and delete per user PHP5 FPM pool
|
||||||
configurations
|
configurations
|
||||||
|
|
|
@ -137,7 +137,7 @@ def enable_web_vhost(sitename):
|
||||||
"""
|
"""
|
||||||
try:
|
try:
|
||||||
subprocess.check_output([
|
subprocess.check_output([
|
||||||
SUDO_CMD, LN_CMD, '-s',
|
SUDO_CMD, LN_CMD, '-s', '-f',
|
||||||
_build_vhost_config_path(sitename),
|
_build_vhost_config_path(sitename),
|
||||||
_build_enabled_vhost_path(sitename)],
|
_build_enabled_vhost_path(sitename)],
|
||||||
stderr=subprocess.STDOUT)
|
stderr=subprocess.STDOUT)
|
||||||
|
|
Loading…
Reference in a new issue