- notify => Exec['delete_unused_links'],
- }
- exec { 'delete_unused_links':
- command => 'find -L . -mindepth 1 -maxdepth 1 -type l -delete',
- cwd => '/etc/ssl/certs',
- refreshonly => true,
- notify => Exec['refresh_normal_hashes'], # see NOTE 1
- }
- exec { 'modify_configuration':
- command => "sed -i -e 's#!${cacert}#${cacert}' ${caconf}",
- onlyif => "grep -Fqx '!${cacert}' ${caconf}",