aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJamie McClelland <jm@mayfirst.org>2011-03-08 09:43:43 -0500
committerJamie McClelland <jm@mayfirst.org>2011-03-08 09:43:43 -0500
commit6e2a4c72b6c9816be5d196e613a49ed303609e74 (patch)
tree1241e0d34a28a4588daf45d01330ccdf5daae876
parent259144f19e851312cc7229a5ec6b8f2963fbb034 (diff)
downloadpuppet-monkeysphere-6e2a4c72b6c9816be5d196e613a49ed303609e74.tar.gz
puppet-monkeysphere-6e2a4c72b6c9816be5d196e613a49ed303609e74.tar.bz2
easier to read with proper identation
-rw-r--r--manifests/init.pp22
1 files 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"
}
}