summaryrefslogtreecommitdiff
path: root/manifests/ca.pp
blob: 8ec6b2ee41a09d510f0834466c53305d8a0da193 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
class puppetmaster::ca {
    file {
      '/var/lib/puppetmaster/ssl/ca':
        ensure => directory,
        owner   => puppet,
        group   => puppet,
        mode    => 0770;
      '/var/lib/puppetmaster/ssl/ca/private':
        ensure => directory,
        owner   => puppet,
        group   => puppet,
        mode    => 0770;
      '/var/lib/puppetmaster/ssl/certs':
        ensure => directory,
        owner   => puppet,
        group   => puppet,
        mode    => 0755;
      '/var/lib/puppetmaster/ssl/ca/ca_crl.pem':
        ensure  => present,
        owner   => puppet,
        group   => puppet,
        mode    => 0664,
        source  => "puppet:///modules/site-puppet/puppetmaster/ssl/ca/ca_crl.pem";
      '/var/lib/puppetmaster/ssl/ca/private/ca.pass':
        ensure  => present,
        owner   => puppet,
        group   => puppet,
        mode    => 0660,
        source  => "puppet:///modules/site-puppet/puppetmaster/ssl/ca/private/ca.pass";
      '/var/lib/puppetmaster/ssl/ca/ca_key.pem':
        ensure  => present,
        owner   => puppet,
        group   => puppet,
        mode    => 0660,
        source  => "puppet:///modules/site-puppet/puppetmaster/ssl/ca/ca_key.pem";
      '/var/lib/puppetmaster/ssl/ca/ca_crt.pem':
        ensure  => present,
        owner   => puppet,
        group   => puppet,
        mode    => 0660,
        source  => "puppet:///modules/site-puppet/puppetmaster/ssl/ca/ca_crt.pem";
      '/var/lib/puppetmaster/ssl/ca/ca_pub.pem':
        ensure  => present,
        owner   => puppet,
        group   => puppet,
        mode    => 0640,
        source  => "puppet:///modules/site-puppet/puppetmaster/ssl/ca/ca_pub.pem";
      '/var/lib/puppetmaster/ssl/certs/ca.pem':
        ensure  => present,
        owner   => puppet,
        group   => puppet,
        mode    => 0644,
        source  => "puppet:///modules/site-puppet/puppetmaster/ssl/certs/ca.pem";
    }
}