diff options
author | Jesse Wolfe <jes5199@gmail.com> | 2010-10-12 13:36:54 -0700 |
---|---|---|
committer | Jesse Wolfe <jes5199@gmail.com> | 2010-10-12 13:36:54 -0700 |
commit | 2d13fdaac56bd5cd57444cc4447081649e18f487 (patch) | |
tree | 9dfe175ba879c96082996798fdedcab7988ed7c1 | |
parent | e6c829617ccc120e04f945e8714f792ce29c284d (diff) | |
parent | 295c3be532b01a3ab58411b32b489730922d1c75 (diff) | |
download | puppet-2d13fdaac56bd5cd57444cc4447081649e18f487.tar.gz puppet-2d13fdaac56bd5cd57444cc4447081649e18f487.tar.xz puppet-2d13fdaac56bd5cd57444cc4447081649e18f487.zip |
Merge commit '2.6.2' into next
-rw-r--r-- | CHANGELOG | 8 | ||||
-rwxr-xr-x | install.rb | 2 | ||||
-rwxr-xr-x | lib/puppet/provider/package/rpm.rb | 3 | ||||
-rw-r--r-- | lib/puppet/util/metric.rb | 2 |
4 files changed, 11 insertions, 4 deletions
@@ -1,5 +1,13 @@ +2.6.2 +===== +1d719be Fix for #4945 -- explicitly check os to supress man page installation +55417bc Reversion of 021d534482dd8edb863cb77d668ac3525362a0a6 +a6e2bea Fixed #4919 - added parenths to fix error message: + 2.6.2rc1 ======== +917c520 Incremented version to 2.6.2 +900eae4 Updated CHANGELOG for 2.6.2rc1 1b6094d Fixed documentation typo bdf12fe Fix for #4896 -- stray newline left over from removed diagnostic e7424c6 (#4772) Update SuSE .spec file diff --git a/install.rb b/install.rb index 449223d26..f7541c854 100755 --- a/install.rb +++ b/install.rb @@ -462,4 +462,4 @@ prepare_installation do_bins(sbins, InstallOptions.sbin_dir) do_bins(bins, InstallOptions.bin_dir) do_libs(libs) -do_man(man) if InstallOptions.man +do_man(man) unless $operatingsystem == "windows" diff --git a/lib/puppet/provider/package/rpm.rb b/lib/puppet/provider/package/rpm.rb index ec6121743..72dc260a4 100755 --- a/lib/puppet/provider/package/rpm.rb +++ b/lib/puppet/provider/package/rpm.rb @@ -60,8 +60,7 @@ Puppet::Type.type(:package).provide :rpm, :source => :rpm, :parent => Puppet::Pr begin output = rpm(*cmd) rescue Puppet::ExecutionFailure - # rpm exits 1 if the package is not found. - return {:ensure => :purged, :status => 'missing', :name => @resource[:name], :error => 'ok'} + return nil end # FIXME: We could actually be getting back multiple packages diff --git a/lib/puppet/util/metric.rb b/lib/puppet/util/metric.rb index 00898472f..90a244836 100644 --- a/lib/puppet/util/metric.rb +++ b/lib/puppet/util/metric.rb @@ -59,7 +59,7 @@ class Puppet::Util::Metric if Puppet.features.rrd_legacy? && ! Puppet.features.rrd? puts @rrd.info else - puts RRD.info self.path + puts RRD.info(self.path) end end |