diff options
author | luke <luke@980ebf18-57e1-0310-9a29-db15c13687c0> | 2006-04-28 04:08:38 +0000 |
---|---|---|
committer | luke <luke@980ebf18-57e1-0310-9a29-db15c13687c0> | 2006-04-28 04:08:38 +0000 |
commit | bcfc469e4aa36ab8b98af57b1314e26d5d7a0a18 (patch) | |
tree | 0671fccd17cfa5764a5b7e7707d5424cf09420e4 /lib/puppet/server/authconfig.rb | |
parent | 9539dbb5c8b54805a6c26f84f15abd6fdb5532b2 (diff) | |
download | puppet-bcfc469e4aa36ab8b98af57b1314e26d5d7a0a18.tar.gz puppet-bcfc469e4aa36ab8b98af57b1314e26d5d7a0a18.tar.xz puppet-bcfc469e4aa36ab8b98af57b1314e26d5d7a0a18.zip |
Adding in all of the patches necessary to make a prototype rails interface to puppet nodes work. The biggest change is that there is now a separate NetworkClient class for every Client subclass, because otherwise you get namespace collisions. Most everything other change is a relatively minor patch.
git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1145 980ebf18-57e1-0310-9a29-db15c13687c0
Diffstat (limited to 'lib/puppet/server/authconfig.rb')
-rw-r--r-- | lib/puppet/server/authconfig.rb | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/puppet/server/authconfig.rb b/lib/puppet/server/authconfig.rb index 05901a207..bc5d713e0 100644 --- a/lib/puppet/server/authconfig.rb +++ b/lib/puppet/server/authconfig.rb @@ -51,8 +51,12 @@ class AuthConfig < Puppet::ParsedFile def initialize(file = nil, parsenow = true) @file ||= Puppet[:authconfig] + + unless @file + raise Puppet::DevError, "No authconfig file defined" + end return unless self.exists? - super(file) + super(@file) @rights = Rights.new @configstamp = @configtimeout = @configstatted = nil |