Hi all,
I'm using envpuppet to test my modules using different Puppet versions
versions. Usually to check future compliance with 2.7.
Until today I haven't cared that much about facter versions. However the
$osfamily fact introduced in 1.6.2 got me thinking so I tried to check it out.
That's when I ran into this behavior:
> # cd src/facter/; git checkout tags/1.5.7; cd
> Previous HEAD position was 52609b5... Updated CHANGELOG for 1.6.2
> HEAD is now at 3a39dd8... Updated ChangeLog and task
> #
> # envpuppet facter facterversion
> 1.5.7
> #
> # envpuppet facter
> (not included, output is ok)
>
>
> # cd src/facter/; git checkout tags/1.5.8; cd
> Previous HEAD position was 3a39dd8... Updated ChangeLog and task
> HEAD is now at 3d287ac... Updated CHANGELOG for 1.5.8
>
> # envpuppet facter facterversion
> /usr/lib/ruby/1.8/facter/uptime.rb:11: undefined method `get_uptime' for
> Facter::Util::Uptime:Module (NoMethodError)
> from /root/src//facter/lib/facter/util/loader.rb:73:in `load'
> from /root/src//facter/lib/facter/util/loader.rb:73:in `load_file'
> from /root/src//facter/lib/facter/util/loader.rb:38:in `load_all'
> from /root/src//facter/lib/facter/util/loader.rb:33:in `each'
> from /root/src//facter/lib/facter/util/loader.rb:33:in `load_all'
> from /root/src//facter/lib/facter/util/loader.rb:30:in `each'
> from /root/src//facter/lib/facter/util/loader.rb:30:in `load_all'
> from /root/src//facter/lib/facter/util/collection.rb:90:in `load_all'
> from /root/src//facter/lib/facter.rb:95:in `to_hash'
> from /root/src//facter/bin/facter:
>
>
> # cd src/facter/; git checkout tags/1.6.1; cd
> Previous HEAD position was 3d287ac... Updated CHANGELOG for 1.5.8
> HEAD is now at c647f0e... Updated CHANGELOG for 1.6.1 final.
> #
> # envpuppet facter facterversion
> 1.6.1
> #
> # envpuppet facter
> The interpreter parameter to 'setcode' is deprecated and will be removed in a
> future version.
> Error: undefined method `get_uptime' for Facter::Util::Uptime:Module
>
>
> # cd src/facter/; git checkout tags/1.6.2; cd
> Previous HEAD position was c647f0e... Updated CHANGELOG for 1.6.1 final.
> HEAD is now at 52609b5... Updated CHANGELOG for 1.6.2
> #
> # envpuppet facter facterversion
> 1.6.2
> #
> # envpuppet facter
> The interpreter parameter to 'setcode' is deprecated and will be removed in a
> future version.
> Error: undefined method `get_uptime' for Facter::Util::Uptime:Module
Versions:
envpuppet: commit 0175d11564 (today's version,
https://raw.github.com/puppetlabs/puppet/master/ext/envpuppet)
debian: 6
facter: see above
ruby: 1.8.7 (debian default)
Any ideas would be welcome.
Regards,
Tom De Vylder
--
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.