[Pkg-puppet-devel] [SCM] Puppet packaging for Debian branch, experimental, updated. debian/2.6.8-1-844-g7ec39d5
Matt Robinson
matt at puppetlabs.com
Tue May 10 08:06:44 UTC 2011
The following commit has been merged in the experimental branch:
commit 0844a17f695b7db098f7a9e59da6f4559dc9131e
Author: James Turnbull <james at lovedthanlost.net>
Date: Thu Mar 3 10:30:02 2011 +1100
Fixed #6555 - Fixed two more when then colon issues
Ruby 1.9.x doesn't support when foo:
Replaced in the launchd provider and the Oracle rails ORM
diff --git a/lib/puppet/provider/service/launchd.rb b/lib/puppet/provider/service/launchd.rb
index 07c549a..9d813bd 100644
--- a/lib/puppet/provider/service/launchd.rb
+++ b/lib/puppet/provider/service/launchd.rb
@@ -211,7 +211,7 @@ Puppet::Type.type(:service).provide :launchd, :parent => :base do
job_path, job_plist = plist_from_label(resource[:name])
job_plist_disabled = job_plist["Disabled"] if job_plist.has_key?("Disabled")
- if self.class.get_macosx_version_major == "10.6":
+ if self.class.get_macosx_version_major == "10.6"
if FileTest.file?(Launchd_Overrides) and overrides = self.class.read_plist(Launchd_Overrides)
if overrides.has_key?(resource[:name])
overrides_disabled = overrides[resource[:name]]["Disabled"] if overrides[resource[:name]].has_key?("Disabled")
diff --git a/lib/puppet/rails.rb b/lib/puppet/rails.rb
index 74805bb..f74e63f 100644
--- a/lib/puppet/rails.rb
+++ b/lib/puppet/rails.rb
@@ -58,7 +58,7 @@ module Puppet::Rails
socket = Puppet[:dbsocket]
args[:socket] = socket unless socket.to_s.empty?
- when "oracle_enhanced":
+ when "oracle_enhanced"
args[:database] = Puppet[:dbname] unless Puppet[:dbname].to_s.empty?
args[:username] = Puppet[:dbuser] unless Puppet[:dbuser].to_s.empty?
args[:password] = Puppet[:dbpassword] unless Puppet[:dbpassword].to_s.empty?
--
Puppet packaging for Debian
More information about the Pkg-puppet-devel
mailing list