[Bug 368832] Re: Ubuntu's facter variable $operatingsystem changed from debian to ubuntu and has broken service providers.
nutznboltz
kstailey at yahoo.com
Wed Jul 1 22:11:12 UTC 2009
$ sudo facter | grep architecture
architecture => x86_64
Used to say "amd64".
Suggested fix:
$ diff -u architecture.rb.DIST architecture.rb--- architecture.rb.DIST 2009-07-01 17:38:55.267135355 -0400
+++ architecture.rb 2009-07-01 17:56:41.577135248 -0400
@@ -5,7 +5,7 @@
case model
# most linuxen use "x86_64"
when 'x86_64':
- Facter.value(:operatingsystem) == "Debian" ? "amd64" : model;
+ %w{Debian Ubuntu}.include?(Facter.value(:operatingsystem)) ? "amd64" : model;
when /(i[3456]86|pentium)/: "i386"
else
model
--
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