[Bug 368832] [NEW] Ubuntu's facter variable $operatingsystem changed from debian to ubuntu and has broken service providers.
ody
ody at cat.pdx.edu
Tue Apr 28 20:05:35 UTC 2009
Public bug reported:
Binary package hint: puppet
There is no ubuntu provider declared for services controlled by puppet.
Up until the current release of Ubuntu 9.04 the facter variable
$operatingsystem was being returned as debian and so now is being
returned as ubuntu. I have found it sufficient to copy
/usr/lib/ruby/1.8/puppet/provider/service/debian.rb to
/usr/lib/ruby/1.8/puppet/provider/service/ubuntu.rb and then searching
and replacing all instances of the word debian with ubuntu, it only
changes 3 lines. After doing this things work in a proper manner.
Without doing this you get the error from puppet that there are multiple
default providers and it will choose one for you and it often decides to
pick freebsd. The other fix would be to re-write all our puppet configs
so that each service declaration has the line 'provider => debian' but
that kinda seems suboptimal and contrary to the decision by ubuntu to
change the facter variable, $operatingsystem from debian to ubuntu.
Ubuntu Version: Jaunty 9.04
puppet Package Version: 0.24.5-3
** Affects: puppet (Ubuntu)
Importance: Undecided
Status: New
--
Ubuntu's facter variable $operatingsystem changed from debian to ubuntu and has broken service providers.
https://bugs.launchpad.net/bugs/368832
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
ubuntu-bugs mailing list
ubuntu-bugs at lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
More information about the universe-bugs
mailing list