Do you really want/need to use rug with puppet instead of zypper or
smart?

On Aug 5, 3:05 pm, "M.F.Haris" <mfha...@gmail.com> wrote:
> hi,
> i tried to install packages with RUG with puppet 0.24.5 on SLES 11 but it is
> giving following error;
> *Failed to retrieve current state of resource: Provider rug is not
> functional on this platform*
>
> while searching for answers I found a Bug 
> report:http://projects.reductivelabs.com/issues/1735from Richard Brown,
>
> I edited the *variable.rb *accordingly;
> *
> *
> *--  test_value.downcase.to_s == value.to_s.downcase*
> *+  test_value.to_s.downcase == value.to_s.downcase*
>
> and rug.rb as;
> *-- defaultfor :operatingsystem => :suse*
> *+ defaultfor :operatingsystem => :sles*
>
> *-- confine    :operatingsystem => :suse*
> *+ confine    :operatingsystem => :sles*
>
> Its workign fine now, but if i tried to make a confine list as; *confine
> :operatingsystem => [:suse,:sles],* it doesn't work. I am wondering is it
> the right fix to make? or there is a better way to deal with it. also do i
> have to update this code on every puppet client? :-(
>
> M Haris Farooque

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to puppet-us...@googlegroups.com.
To unsubscribe from this group, send email to 
puppet-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.

Reply via email to