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/1735 from 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 [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.

Reply via email to