From: Luca Filipozzi Date: Wed, 16 May 2012 08:18:14 +0000 (+0000) Subject: how much ruby is allowed in puppet? X-Git-Url: https://git.adam-barratt.org.uk/?a=commitdiff_plain;h=e4951b80994442be4318eaff1de4a856c85af59b;hp=e1f71e92e65b162bf75157c44ad15b6a2bdfb85b;p=mirror%2Fdsa-puppet.git how much ruby is allowed in puppet? --- diff --git a/modules/ssh/manifests/init.pp b/modules/ssh/manifests/init.pp index 455d32208..4d40154e5 100644 --- a/modules/ssh/manifests/init.pp +++ b/modules/ssh/manifests/init.pp @@ -1,7 +1,7 @@ class ssh { - nodes = hiera('nodes', nil, {'cluster' => hiera('cluster')}) - $rootkeys = nodes.collect{|x| hiera('rootkey', nil, {'hostname' => x})} + #nodes = hiera('nodes', nil, {'cluster' => hiera('cluster')}) + #$rootkeys = nodes.collect{|x| hiera('rootkey', nil, {'hostname' => x})} package { [ 'openssh-client', 'openssh-server']: ensure => installed diff --git a/modules/ssh/templates/authorized_keys.erb b/modules/ssh/templates/authorized_keys.erb index 597c79762..23ee49b72 100644 --- a/modules/ssh/templates/authorized_keys.erb +++ b/modules/ssh/templates/authorized_keys.erb @@ -24,7 +24,6 @@ localkeys end ganetikeys %> -<%= rootkeys.join("\n") %> # # DSA #