summaryrefslogtreecommitdiff
path: root/puppet/modules/site_webapp
diff options
context:
space:
mode:
authorelijah <elijah@riseup.net>2013-05-14 12:23:20 -0700
committerelijah <elijah@riseup.net>2013-05-14 12:23:20 -0700
commitb3d1c6c58838b0c4f368bc42493ac3bae280b5af (patch)
tree0763e27a19a4729f30259297c46ecb04f8f60518 /puppet/modules/site_webapp
parent4132a1b857c79670ef457ae7e11b77b6ff2c477b (diff)
added smtp-service.json, requires latest leap_cli
Diffstat (limited to 'puppet/modules/site_webapp')
-rw-r--r--puppet/modules/site_webapp/manifests/init.pp5
1 files changed, 5 insertions, 0 deletions
diff --git a/puppet/modules/site_webapp/manifests/init.pp b/puppet/modules/site_webapp/manifests/init.pp
index 8e0aa11c..5c084a0c 100644
--- a/puppet/modules/site_webapp/manifests/init.pp
+++ b/puppet/modules/site_webapp/manifests/init.pp
@@ -4,6 +4,7 @@ class site_webapp {
$provider = $definition_files['provider']
$eip_service = $definition_files['eip_service']
$soledad_service = $definition_files['soledad_service']
+ $smtp_service = $definition_files['smtp_service']
$node_domain = hiera('domain')
$provider_domain = $node_domain['full_suffix']
$webapp = hiera('webapp')
@@ -96,6 +97,10 @@ class site_webapp {
"/srv/leap-webapp/public/${api_version}/config/soledad-service.json":
content => $soledad_service,
owner => leap-webapp, group => leap-webapp, mode => '0644';
+
+ "/srv/leap-webapp/public/${api_version}/config/smtp-service.json":
+ content => $smtp_service,
+ owner => leap-webapp, group => leap-webapp, mode => '0644';
}
try::file {