projects
/
mirror
/
dsa-puppet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix syntax
[mirror/dsa-puppet.git]
/
modules
/
ssl
/
manifests
/
init.pp
diff --git
a/modules/ssl/manifests/init.pp
b/modules/ssl/manifests/init.pp
index
af909f8
..
26c8225
100644
(file)
--- a/
modules/ssl/manifests/init.pp
+++ b/
modules/ssl/manifests/init.pp
@@
-71,13
+71,14
@@
class ssl {
}
exec { 'make_new_service_links':
}
exec { 'make_new_service_links':
- command => 'cp --symbolic-link /etc/ssl/servicecerts/* /etc/ssl/certs',
+ command => 'cp -f --symbolic-link ../servicecerts/* .',
+ cwd => '/etc/ssl/certs',
refreshonly => true,
notify => Exec['cleanup_dead_links']
}
exec { 'cleanup_dead_links':
refreshonly => true,
notify => Exec['cleanup_dead_links']
}
exec { 'cleanup_dead_links':
- command => 'find
/etc/ssl/certs -mindepth 1 -maxdepth 1 -L
-type l -delete',
+ command => 'find
-L /etc/ssl/certs -mindepth 1 -maxdepth 1
-type l -delete',
refreshonly => true,
notify => Exec['c_rehash /etc/ssl/certs']
}
refreshonly => true,
notify => Exec['c_rehash /etc/ssl/certs']
}