From fb60f90d13f1d1dc1ccc884030230764be642d09 Mon Sep 17 00:00:00 2001 From: Brice Figureau Date: Wed, 29 Jul 2009 21:58:02 +0200 Subject: Fix #2465 - Default auth information is confusing with no auth.conf Signed-off-by: Brice Figureau --- lib/puppet/network/rest_authconfig.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib') diff --git a/lib/puppet/network/rest_authconfig.rb b/lib/puppet/network/rest_authconfig.rb index 9a8c34935..635ed1b8d 100644 --- a/lib/puppet/network/rest_authconfig.rb +++ b/lib/puppet/network/rest_authconfig.rb @@ -58,7 +58,7 @@ module Puppet def insert_default_acl DEFAULT_ACL.each do |acl| unless rights[acl[:acl]] - Puppet.info "Inserting default '#{acl[:acl]}'(%s) acl because none were found in '%s'" % [acl[:authenticated] ? "auth" : "non-auth" , ( !exists? ? "no auth.conf file configured" : @file)] + Puppet.info "Inserting default '#{acl[:acl]}'(%s) acl because %s" % [acl[:authenticated] ? "auth" : "non-auth" , ( !exists? ? "#{Puppet[:rest_authconfig]} doesn't exist" : "none where found in '#{@file}'")] mk_acl(acl) end end -- cgit