diff options
author | Micah Anderson <micah@riseup.net> | 2012-11-27 11:12:43 -0500 |
---|---|---|
committer | Micah Anderson <micah@riseup.net> | 2012-11-27 12:28:44 -0500 |
commit | a2e2f558bcfc4b35c7d81f282d73e06f78590113 (patch) | |
tree | e14988a88cbdee2d3125a0d23f263c3019796286 /puppet | |
parent | da0d9f3c407ffdae0d7583ef148d7e37cbbc20ad (diff) |
place the provider.json and ca.crt in the webroot
Diffstat (limited to 'puppet')
-rw-r--r-- | puppet/modules/site_webapp/manifests/init.pp | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/puppet/modules/site_webapp/manifests/init.pp b/puppet/modules/site_webapp/manifests/init.pp index 08b7f92c..22f69e7a 100644 --- a/puppet/modules/site_webapp/manifests/init.pp +++ b/puppet/modules/site_webapp/manifests/init.pp @@ -49,4 +49,15 @@ class site_webapp { unless => '/usr/bin/bundle check', require => [ Class['bundler::install'], Vcsrepo['/srv/leap-webapp'] ]; } + + file { + '/srv/leap-webapp/public/provider.json': + content => $provider, + 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'; + } + } |