| 
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 | # File 'manifests/config/ssl.pp', line 5
class rundeck::config::ssl {
  assert_private()
  file {
    "${rundeck::config::properties_dir}/ssl":
      ensure => directory,
      mode   => '0755',
    ;
    "${rundeck::config::properties_dir}/ssl/ssl.properties":
      ensure  => file,
      content => Sensitive(epp('rundeck/ssl.properties.epp')),
      mode    => '0400',
    ;
  }
  java_ks {
    default:
      ensure       => present,
      certificate  => $rundeck::ssl_certificate,
      private_key  => $rundeck::ssl_private_key,
      destkeypass  => $rundeck::key_password,
      trustcacerts => true,
    ;
    'keystore':
      password => $rundeck::keystore_password,
      target   => "${rundeck::config::properties_dir}/ssl/keystore",
    ;
    'truststore':
      password => $rundeck::truststore_password,
      target   => "${rundeck::config::properties_dir}/ssl/truststore",
    ;
  }
} |