Commit 622a8558 authored by mh's avatar mh
Browse files

ensure wordpress autoupdate is only enabled by default for wordpress installations

parent a02c0f81
......@@ -83,7 +83,7 @@ define webhosting::php::wordpress(
webhosting::common{$name:
ensure => $ensure,
configuration => $configuration,
configuration => { wordpress_autoupdate => true } + $configuration,
uid => $uid,
uid_name => $real_uid_name,
gid => $gid,
......
......@@ -20,5 +20,5 @@
# updates that run the update_wordpress script
# on a daily basis.
---
auto_update: true
auto_update: <%= (@configuration['wordpress_autoupdate'] || false).to_s %>
wp_directories: ['.']
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment