]> git.donarmstrong.com Git - dsa-puppet.git/blobdiff - modules/ssl/manifests/service.pp
resolve exec dependency and rename
[dsa-puppet.git] / modules / ssl / manifests / service.pp
index ef7d74a133871199b8a2ae2f114ca90d9973197f..f0400525dd76313b9145e5911dacd9be03e0e67c 100644 (file)
@@ -7,19 +7,19 @@ define ssl::service($ensure = present, $tlsaport = 443, $notify = []) {
 
        file { "/etc/ssl/debian/certs/$name.crt":
                source => "puppet:///modules/ssl/servicecerts/${name}.crt",
-               notify => [ Exec['c_rehash /etc/ssl/debian/certs'], $notify ],
+               notify => [ Exec['refresh_debian_hashes'], $notify ],
        }
        file { "/etc/ssl/debian/certs/$name.crt-chain":
                source => [ "puppet:///modules/ssl/chains/${name}.crt", "puppet:///modules/ssl/servicecerts/${name}.crt" ],
-               notify => [ Exec['c_rehash /etc/ssl/debian/certs'], $notify ],
-               links => follow,
+               notify => [ Exec['refresh_debian_hashes'], $notify ],
+               links  => follow,
        }
 
        if $tlsaport > 0 {
                dnsextras::tlsa_record{ "tlsa-${name}-${tlsaport}":
-                       zone => 'debian.org',
+                       zone     => 'debian.org',
                        certfile => "/etc/puppet/modules/ssl/files/servicecerts/${name}.crt",
-                       port => $tlsaport,
+                       port     => $tlsaport,
                        hostname => "$name",
                }
        }