]> git.donarmstrong.com Git - dsa-puppet.git/blobdiff - modules/ssl/manifests/init.pp
make puppet do the work
[dsa-puppet.git] / modules / ssl / manifests / init.pp
index 909d76f04e02e1df3edcc5c30e500ac57d3cab94..26c82252cf690d8320a784254505db15c757e266 100644 (file)
@@ -71,7 +71,8 @@ class ssl {
        }
 
        exec { 'make_new_service_links':
-               command     => 'cd /etc/ssl/certs && cp -f --symbolic-link ../servicecerts/* .',
+               command     => 'cp -f --symbolic-link ../servicecerts/* .',
+               cwd         => '/etc/ssl/certs',
                refreshonly => true,
                notify      => Exec['cleanup_dead_links']
        }