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.donarmstrong.com/?p=dsa-puppet.git;a=commitdiff_plain;h=e4951b80994442be4318eaff1de4a856c85af59b how much ruby is allowed in puppet? --- diff --git a/modules/ssh/manifests/init.pp b/modules/ssh/manifests/init.pp index 455d3220..4d40154e 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 597c7976..23ee49b7 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 #