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/log.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/log.rb')
| -rw-r--r-- | lib/puppet/log.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/puppet/log.rb b/lib/puppet/log.rb index d6d2f9090..9c3c8fc5f 100644 --- a/lib/puppet/log.rb +++ b/lib/puppet/log.rb @@ -138,7 +138,7 @@ module Puppet Puppet.info "Creating log directory %s" % File.dirname(dest) rescue => detail - Log.destination = :console + Log.newdestination(:console) Puppet.err "Could not create log directory: %s" % detail return @@ -149,7 +149,7 @@ module Puppet # create the log file, if it doesn't already exist file = File.open(dest,File::WRONLY|File::CREAT|File::APPEND) rescue => detail - Log.destination = :console + Log.newdestination(:console) Puppet.err "Could not create log file: %s" % detail return |
