]> gitweb.fluxo.info Git - puppet-monkeysphere.git/commitdiff
RAW_AUTHORIZED_KEYS support
authorAntoine Beaupré <anarcat@koumbit.org>
Wed, 6 Nov 2013 21:58:24 +0000 (16:58 -0500)
committerAntoine Beaupré <anarcat@koumbit.org>
Wed, 6 Nov 2013 21:58:24 +0000 (16:58 -0500)
manifests/init.pp
templates/monkeysphere.conf.erb

index 30035beaa81f682bed668e727a9e7f767987aa92..b36009870abc1ba073d0f1b9360d89023746fc8a 100644 (file)
@@ -24,6 +24,10 @@ class monkeysphere(
   $ssh_port       = '',
   $publish_key    = false,
   $ensure_version = 'installed',
+  # if not false, will override the path for MONKEYSPHERE_RAW_AUTHORIZED_KEYS
+  # use 'none' to disable appending the authorized_keys file
+  # see monkeysphere-authentication for more information
+  $raw_authorized_keys = false,
   $keyserver      = 'pool.sks-keyservers.net'
 ) {
   # The needed packages
index 53e4b9efc68a8ea1a0449686942dce80f9a763bc..f7988b86c70991307780e7669a3ad50d9abad7de 100644 (file)
@@ -37,3 +37,5 @@
 
 # The path to the SSH authorized_keys file.
 #AUTHORIZED_KEYS=~/.ssh/authorized_keys
+
+<% if @raw_authorized_keys %>RAW_AUTHORIZED_KEYS=<%= @raw_authorized_keys %><% end %>