aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2011-07-14 11:23:52 -0300
committerSilvio Rhatto <rhatto@riseup.net>2011-07-14 11:23:52 -0300
commitd04da28d35b4e33e993ad32b5d6eab1ed6658e76 (patch)
tree55fdd020b749604d59325f349e72545f962df1cc
parentd1ac2230815da2912d9b77575d1bf073875fa493 (diff)
downloadpuppet-monkeysphere-d04da28d35b4e33e993ad32b5d6eab1ed6658e76.tar.gz
puppet-monkeysphere-d04da28d35b4e33e993ad32b5d6eab1ed6658e76.tar.bz2
Subscribing monkeysphere::email_server_keys to monkeysphere-import-key exec
-rw-r--r--manifests/init.pp4
1 files changed, 3 insertions, 1 deletions
diff --git a/manifests/init.pp b/manifests/init.pp
index 64e2645..d44a218 100644
--- a/manifests/init.pp
+++ b/manifests/init.pp
@@ -89,7 +89,9 @@ define monkeysphere::publish_server_keys ( $keyid = '--all' ) {
define monkeysphere::email_server_keys ( ) {
$email = $title
exec { "mail -s 'monkeysphere host pgp keys for $fqdn' $email < /var/lib/monkeysphere/host_keys.pub.pgp":
- require => [ Package["monkeysphere"], Exec["monkeysphere-import-key"] ],
+ require => Package["monkeysphere"],
+ subscribe => Exec["monkeysphere-import-key"],
+ refreshonly => true,
}
}