diff options
author | Leif Johansson <leifj@sunet.se> | 2015-04-22 14:16:09 +0200 |
---|---|---|
committer | Leif Johansson <leifj@sunet.se> | 2015-04-22 14:16:09 +0200 |
commit | 08fc0687691c7b6a84889c328cd11509b7e8caad (patch) | |
tree | 742457af7d8fdc58ea8fa154362a82a8aeb6ec36 /global/overlay/etc/puppet/modules | |
parent | 050911fb11218e3d0ee57fccabbdcb0f9f4690c1 (diff) |
autobackupsunet-ops-2015-04-22-v02
Diffstat (limited to 'global/overlay/etc/puppet/modules')
-rw-r--r-- | global/overlay/etc/puppet/modules/sunet/manifests/wordpress.pp | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/global/overlay/etc/puppet/modules/sunet/manifests/wordpress.pp b/global/overlay/etc/puppet/modules/sunet/manifests/wordpress.pp index d9eeae4..1d96d4e 100644 --- a/global/overlay/etc/puppet/modules/sunet/manifests/wordpress.pp +++ b/global/overlay/etc/puppet/modules/sunet/manifests/wordpress.pp @@ -37,5 +37,15 @@ $myqsl_version = "5.7") "MYSQL_ROOT_PASSWORD=${pwd}", "MYSQL_DATABASE=${name}"] } + package {'automysqlbackup': require => latest } -> + auges { 'automysqlbackup_settings': + incl => "/etc/default/automysqlbackup", + lens => "Shellvars.lns", + changes => [ + "set USERNAME=${name}", + "set PASSWORD=${pwd}", + "set DBHOST=${db_hostname}" + ] + } } } |