diff options
author | luke <luke@980ebf18-57e1-0310-9a29-db15c13687c0> | 2006-08-29 05:42:45 +0000 |
---|---|---|
committer | luke <luke@980ebf18-57e1-0310-9a29-db15c13687c0> | 2006-08-29 05:42:45 +0000 |
commit | 0f231b8668701f3a3259a7be8b2cccc21a5c5a34 (patch) | |
tree | 32ad7425d0c87498ecbde848505f990dd85be4b2 /lib | |
parent | 9381d5f2524caaf8bab61fdbf304e97d77a08dbe (diff) | |
download | puppet-0f231b8668701f3a3259a7be8b2cccc21a5c5a34.tar.gz puppet-0f231b8668701f3a3259a7be8b2cccc21a5c5a34.tar.xz puppet-0f231b8668701f3a3259a7be8b2cccc21a5c5a34.zip |
Skipping blank lines and comments in autosign.conf
git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1512 980ebf18-57e1-0310-9a29-db15c13687c0
Diffstat (limited to 'lib')
-rw-r--r-- | lib/puppet/server/ca.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/puppet/server/ca.rb b/lib/puppet/server/ca.rb index 74f2c3390..10fafc940 100644 --- a/lib/puppet/server/ca.rb +++ b/lib/puppet/server/ca.rb @@ -47,6 +47,8 @@ class Server auth = Puppet::Server::AuthStore.new File.open(autosign) { |f| f.each { |line| + next if line =~ /^\s*#/ + next if line =~ /^\s*$/ auth.allow(line.chomp) } } |