Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
immerda
Puppet Modules
webhosting
Commits
622a8558
Commit
622a8558
authored
Dec 04, 2019
by
mh
Browse files
ensure wordpress autoupdate is only enabled by default for wordpress installations
parent
a02c0f81
Changes
2
Hide whitespace changes
Inline
Side-by-side
manifests/php/wordpress.pp
View file @
622a8558
...
...
@@ -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
,
...
...
templates/user_scripts/update_wordpress/update_wordpress.dirs.erb
View file @
622a8558
...
...
@@ -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: ['.']
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment