aboutsummaryrefslogtreecommitdiff
path: root/manifests/import_key.pp
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2017-06-05 19:06:33 -0300
committerSilvio Rhatto <rhatto@riseup.net>2017-06-05 19:06:33 -0300
commit4094ff54a47bf9ab3401475237d75f0cac62ddb4 (patch)
tree782c48423a7b0a0c96054faeb8ad243530f2cfc2 /manifests/import_key.pp
parentce20cd241d1e4d10414bc809f6f936e70c630a7b (diff)
downloadpuppet-monkeysphere-4094ff54a47bf9ab3401475237d75f0cac62ddb4.tar.gz
puppet-monkeysphere-4094ff54a47bf9ab3401475237d75f0cac62ddb4.tar.bz2
Changes for puppet 4 compatibility
Diffstat (limited to 'manifests/import_key.pp')
-rw-r--r--manifests/import_key.pp8
1 files changed, 4 insertions, 4 deletions
diff --git a/manifests/import_key.pp b/manifests/import_key.pp
index ba965ce..f3124bf 100644
--- a/manifests/import_key.pp
+++ b/manifests/import_key.pp
@@ -12,9 +12,9 @@ define monkeysphere::import_key (
$key = "${scheme}${fqdn}${prefixed_port}"
- exec { "monkeysphere-host import-key $path $key":
- alias => "monkeysphere-import-key",
- require => [ Package["monkeysphere"], File["monkeysphere_host_conf"] ],
- unless => "/usr/sbin/monkeysphere-host s | grep $key > /dev/null"
+ exec { "monkeysphere-import-key":
+ command => "monkeysphere-host import-key $path $key",
+ require => [ Package["monkeysphere"], File["monkeysphere_host_conf"] ],
+ unless => "/usr/sbin/monkeysphere-host s | grep $key > /dev/null"
}
}