From d04da28d35b4e33e993ad32b5d6eab1ed6658e76 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Thu, 14 Jul 2011 11:23:52 -0300 Subject: Subscribing monkeysphere::email_server_keys to monkeysphere-import-key exec --- manifests/init.pp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'manifests') 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, } } -- cgit v1.2.3