Attempt to configure an apache vhost for a static component only if it exists on...
[mirror/dsa-puppet.git] / modules / roles / manifests / sso_rp.pp
1 class roles::sso_rp {
2         file { '/var/lib/dsa':
3                 ensure => directory,
4                 mode   => '02755'
5         }
6         file { '/var/lib/dsa/sso':
7                 ensure => directory,
8                 mode   => '02755'
9         }
10         file { '/var/lib/dsa/sso/ca.crl':
11                 content => template('roles/sso_rp/ca.crl.erb'),
12                 notify  => Exec['service apache2 reload'],
13         }
14         file { '/var/lib/dsa/sso/ca.crt':
15                 source => 'puppet:///modules/roles/sso_rp/ca.crt',
16                 notify  => Exec['service apache2 reload'],
17         }
18
19 }