search for: newpkgtype

Displaying 1 result from an estimated 1 matches for "newpkgtype".

2006 Aug 02
3
blastwave.rb patch
...executable, correctly store as nil. [piper:/opt/csw/lib/ruby] root# cat patch --- site_ruby/1.8/puppet/type/package/blastwave.rb Wed Aug 2 18:14:27 2006 +++ site_ruby/1.8/puppet/type/package/blastwave.rb.rts Wed Aug 2 18:11:07 2006 @@ -1,9 +1,11 @@ module Puppet Puppet.type(:package).newpkgtype(:blastwave, :sun) do - if pkgget = %x{which pkg-get 2>/dev/null}.chomp and pkgget ! = "" - @@pkgget = pkgget + if pkgget = (%x{which pkg-get 2>/dev/null}.chomp).split and pkgget.first != "no" + @@pkgget = pkgget.first else -...