search for: param_hash

Displaying 3 results from an estimated 3 matches for "param_hash".

Did you mean: params_hash
2012 Jan 19
4
redirect_to with a hash instead of parameters
All, I have numerous places in my codebase like this: redirect_to :action => ''schedule_by_uid_and_run_date'', :uid => @schedule.first.train_uid, :year => @date.year, :month => @date.month, :day => @date.day I''d like to replace the :year, :month and :day parameters with a hash containing the three parameters. @date is an instance of a Date class,
2010 Apr 09
7
Yum provider using version-release as version?
...provider/package/yum.rb: def install ---- chop lines --- * is = self.query* unless is raise Puppet::Error, "Could not find package %s" % self.name end # FIXME: Should we raise an exception even if should == :latest # and yum updated us to a version other than @param_hash[:ensure] ? if should && should != is[:ensure] raise Puppet::Error, "Failed to update to version #{*should*}, got version #{*is[:ensure]*} instead" end in .../provider/package/rpm.rb the query define comment says it will provide the "version-release" # Fi...
2008 May 20
13
puppet thinks yum fails when it doesn't
Hi all, Not sure if this is a bug in puppet, yum, or just something I''m doing wrong. I''m trying to use puppet to update a package to a particular version and exec a command when that update is applied. The problem is, puppet calls yum which successfully updates the package, but puppet then thinks the update has failed and hence doesn''t trigger the exec. Next