From a12608e90f0aa38a84149459c54a1020e817bc93 Mon Sep 17 00:00:00 2001 From: James Turnbull Date: Wed, 30 Jul 2008 22:35:58 +1000 Subject: Fixes #1467 - macaddress not set on Ubuntu --- CHANGELOG | 3 +++ lib/facter/macaddress.rb | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/CHANGELOG b/CHANGELOG index 50447ee..de4dee9 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,3 +1,6 @@ +1.5.x: + Fixes #1467 - macaddress not set on Ubuntu + 1.5.0: Fixed Rakefile to include additional files including tests et al diff --git a/lib/facter/macaddress.rb b/lib/facter/macaddress.rb index 98e38b8..11dceb0 100644 --- a/lib/facter/macaddress.rb +++ b/lib/facter/macaddress.rb @@ -1,5 +1,5 @@ Facter.add(:macaddress) do - confine :operatingsystem => %w{Solaris Linux Fedora RedHat CentOS SuSE Debian Gentoo} + confine :operatingsystem => %w{Solaris Linux Fedora RedHat CentOS SuSE Debian Gentoo Ubuntu} setcode do ether = [] output = %x{/sbin/ifconfig -a} -- cgit