summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMicah Anderson <micah@riseup.net>2012-11-29 15:56:14 -0500
committerMicah Anderson <micah@riseup.net>2012-11-29 15:58:56 -0500
commit2727291d734ab5f45be3905982d42192119dce86 (patch)
treeb2266c963cdf5ba7022dd081a2cd3b40739f3f33
parentec7c030c73ab0215bca60494ff310d8b4a5a744d (diff)
change api CA cert deployment to just symlink to the already deployed file
-rw-r--r--puppet/modules/site_webapp/manifests/init.pp4
1 files changed, 2 insertions, 2 deletions
diff --git a/puppet/modules/site_webapp/manifests/init.pp b/puppet/modules/site_webapp/manifests/init.pp
index 4da6242c..6a60ab15 100644
--- a/puppet/modules/site_webapp/manifests/init.pp
+++ b/puppet/modules/site_webapp/manifests/init.pp
@@ -58,8 +58,8 @@ class site_webapp {
owner => leap-webapp, group => leap-webapp, mode => '0644';
'/srv/leap-webapp/public/ca.crt':
- content => $cert_root,
- owner => leap-webapp, group => leap-webapp, mode => '0644';
+ ensure => link,
+ target => '/usr/local/share/ca-certificates/leap_api.crt';
'/srv/leap-webapp/public/config':
ensure => directory,