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
# /etc/ssl/certs otherwise /etc/ssl/ca-certificates.crt will
# get a hash overriding the hash that would have been generated
# for another certificate ... which is problem, comrade
# NOTE 2: always ask update-ca-certificates to freshen (-f) the links
- command => '/usr/sbin/update-ca-certificates -f',
+ command => "/usr/sbin/update-ca-certificates --fresh${extra_ssl_certs_flags}",
refreshonly => true,
require => Package['ca-certificates'],
}