summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLeif Johansson <leifj@sunet.se>2015-03-06 16:20:59 +0100
committerLeif Johansson <leifj@sunet.se>2015-03-06 16:20:59 +0100
commitcd5575ad0bfbb1810480669db28c35c37b511296 (patch)
treefd74954bba34e60bfd817c63e8398cf21032e0b4
parent03e0df71b46505b64fcf5cf67a92bd08bfab166d (diff)
-rw-r--r--global/overlay/etc/puppet/modules/sunet/manifests/wordpress.pp2
1 files changed, 2 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 b0fce47..72d43aa 100644
--- a/global/overlay/etc/puppet/modules/sunet/manifests/wordpress.pp
+++ b/global/overlay/etc/puppet/modules/sunet/manifests/wordpress.pp
@@ -10,6 +10,8 @@ $myqsl_version = "5.7")
default => $db_host
}
$pwd = hiera("${name}_db_password",'NOT_SET_IN_HIERA')
+ file {"/data": ensure => directory }
+ file {"/data/${name}": ensure => directory }
file {"/data/${name}/html": ensure => directory }
sunet::docker_run { "${name}_wordpress":
image => "wordpress",