ensure => installed,
}
+ if $::hostname == 'godard' {
+ $extra_ssl_certs_flags = ' --default'
+ $ssl_certs_config = 'puppet:///modules/ssl/ca-certificates-global.conf'
+ } else {
+ $extra_ssl_certs_flags = ''
+ $ssl_certs_config = 'puppet:///modules/ssl/ca-certificates.conf'
+ }
+
file { '/etc/ssl/README':
mode => '0444',
source => 'puppet:///modules/ssl/README',
}
file { '/etc/ca-certificates.conf':
- source => 'puppet:///modules/ssl/ca-certificates.conf',
+ source => $ssl_certs_config,
notify => Exec['refresh_normal_hashes'],
}
file { '/etc/ca-certificates-debian.conf':
refreshonly => true,
require => Package['openssl'],
}
- if $::hostname == 'godard' {
- $extra_ssl_certs_flags = ' --default'
- } else {
- $extra_ssl_certs_flags = ''
- }
exec { 'refresh_normal_hashes':
# NOTE 1: always use update-ca-certificates to manage hashes in