diff options
author | Leif Johansson <leifj@sunet.se> | 2015-04-17 11:12:45 +0200 |
---|---|---|
committer | Leif Johansson <leifj@sunet.se> | 2015-04-17 11:12:45 +0200 |
commit | f5e307d669f27759dbeaa54d8c49785a64f7e5c5 (patch) | |
tree | 58b00e7c8bbea52e7ec2c1d8f365a1d6da5e9bef | |
parent | 5d17bfe57b2a51d22eb7ca33438731540bf57399 (diff) |
service namesunet-ops-2015-04-17-v17
-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 196b7fe..d9eeae4 100644 --- a/global/overlay/etc/puppet/modules/sunet/manifests/wordpress.pp +++ b/global/overlay/etc/puppet/modules/sunet/manifests/wordpress.pp @@ -17,7 +17,8 @@ $myqsl_version = "5.7") imagetag => $wordpress_version, volumes => ["/data/${name}/html:/var/www/html"], ports => ["8080:80"], - env => [ "WORDPRESS_DB_HOST=${db_hostname}", + env => [ "SERVICE_NAME=${name}", + "WORDPRESS_DB_HOST=${db_hostname}", "WORDPRESS_DB_USER=${name}", "WORDPRESS_DB_NAME=${name}", "WORDPRESS_DB_PASSWORD=${pwd}" ] |