From 6e2a4c72b6c9816be5d196e613a49ed303609e74 Mon Sep 17 00:00:00 2001 From: Jamie McClelland Date: Tue, 8 Mar 2011 09:43:43 -0500 Subject: easier to read with proper identation --- manifests/init.pp | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/manifests/init.pp b/manifests/init.pp index 3217cb6..f49ab92 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -29,26 +29,26 @@ class monkeysphere::import_key inherits monkeysphere { $key = "ssh://${fqdn}" # Server host key import exec { "/usr/sbin/monkeysphere-host import-key /etc/ssh/ssh_host_rsa_key $key": - user => "root", - unless => "/usr/sbin/monkeysphere-host s | grep $key" + user => "root", + unless => "/usr/sbin/monkeysphere-host s | grep $key" } } # Server host key publication class monkeysphere::publish_key inherits monkeysphere { exec { "/usr/sbin/monkeysphere-host publish-key": - environment => "MONKEYSPHERE_PROMPT=false", - user => "root", + environment => "MONKEYSPHERE_PROMPT=false", + user => "root", } } # add certifiers define monkeysphere::add_certifiers( $keyid ) { exec { "/usr/sbin/monkeysphere-authentication add-id-certifier $keyid": - environment => "MONKEYSPHERE_PROMPT=false", - user => "root", - require => [ Package["monkeysphere"] ], - unless => "/usr/sbin/monkeysphere-authentication list-id-certifiers | grep $keyid" + environment => "MONKEYSPHERE_PROMPT=false", + user => "root", + require => [ Package["monkeysphere"] ], + unless => "/usr/sbin/monkeysphere-authentication list-id-certifiers | grep $keyid" } } define monkeysphere::root_authorized_user_ids( $file ) { @@ -69,8 +69,8 @@ define monkeysphere::root_authorized_user_ids( $file ) { recurse => true, } exec { "/usr/sbin/monkeysphere-authentication update-users root": - user => "root", - require => [ Package["monkeysphere"] ], - onlyif => "/usr/bin/test /root/.monkeysphere/authorized_user_ids -nt /var/lib/monkeysphere/authorized_keys/root" + user => "root", + require => [ Package["monkeysphere"] ], + onlyif => "/usr/bin/test /root/.monkeysphere/authorized_user_ids -nt /var/lib/monkeysphere/authorized_keys/root" } } -- cgit v1.2.3