diff options
author | Leif Johansson <leifj@sunet.se> | 2015-04-22 14:18:51 +0200 |
---|---|---|
committer | Leif Johansson <leifj@sunet.se> | 2015-04-22 14:18:51 +0200 |
commit | 05092b377014dd9907bcea9b7576c23f05110626 (patch) | |
tree | 4834a4e19dfa3c91dcf211c8a33522a10b3fc4e5 | |
parent | 92954976486eb2f3e7e6f7df2eba939509284372 (diff) |
includesunet-ops-2015-04-22-v04
-rw-r--r-- | global/overlay/etc/puppet/modules/sunet/manifests/wordpress.pp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/global/overlay/etc/puppet/modules/sunet/manifests/wordpress.pp b/global/overlay/etc/puppet/modules/sunet/manifests/wordpress.pp index 1d96d4e..ac61bc9 100644 --- a/global/overlay/etc/puppet/modules/sunet/manifests/wordpress.pp +++ b/global/overlay/etc/puppet/modules/sunet/manifests/wordpress.pp @@ -5,6 +5,7 @@ $db_host = undef, $wordpress_version = "4.1.1", $myqsl_version = "5.7") { + include augeas $db_hostname = $db_host ? { undef => "${name}_mysql.docker", default => $db_host @@ -38,7 +39,7 @@ $myqsl_version = "5.7") "MYSQL_DATABASE=${name}"] } package {'automysqlbackup': require => latest } -> - auges { 'automysqlbackup_settings': + augeas { 'automysqlbackup_settings': incl => "/etc/default/automysqlbackup", lens => "Shellvars.lns", changes => [ |