Hey we got this installed on some new systems yesterday and we found that 
in Ubuntu 12 the `lsbmajdistrelease` fact has changed suddenly from `12` to 
`12.04`! This actually broke quite a few of our manifests, and is 
fundamentally broken I believe. The major dist release version is '12'. Has 
anyone else seen this?

root@dev-mwise-test-array-9-i-8046108d:~# facter -p | grep lsb
> lsbdistcodename => precise
> lsbdistdescription => Ubuntu 12.04.3 LTS
> lsbdistid => Ubuntu
> lsbdistrelease => 12.04
>
> *lsbmajdistrelease => 12.04*lsbrelease => 
> core-2.0-amd64:core-2.0-noarch:core-3.0-amd64:core-3.0-noarch:core-3.1-amd64:core-3.1-noarch:core-3.2-amd64:core-3.2-noarch:core-4.0-amd64:core-4.0-noarch
> os => {"release"=>{"full"=>"12.04", "major"=>"12.04"}, "name"=>"Ubuntu", 
> "family"=>"Debian", 
> "lsb"=>{"release"=>"core-2.0-amd64:core-2.0-noarch:core-3.0-amd64:core-3.0-noarch:core-3.1-amd64:core-3.1-noarch:core-3.2-amd64:core-3.2-noarch:core-4.0-amd64:core-4.0-noarch",
>  
> "majdistrelease"=>"12.04", "distcodename"=>"precise", 
> "distrelease"=>"12.04", "distdescription"=>"Ubuntu 12.04.3 LTS", 
> "distid"=>"Ubuntu"}}
> root@dev-mwise-test-array-9-i-8046108d:~# dpkg --list | grep -i facter
> ii  facter                            2.2.0-1puppetlabs1               
>  Ruby module for collecting simple facts about a host operating system
> root@dev-mwise-test-array-9-i-8046108d:~#


and after downgrading Facter..

> Processing triggers for man-db ...
> Setting up facter (2.1.0-1puppetlabs1) ...
> root@dev-mwise-test-array-9-i-8046108d:~# facter -p | grep lsb
> lsbdistcodename => precise
> lsbdistdescription => Ubuntu 12.04.3 LTS
> lsbdistid => Ubuntu
> lsbdistrelease => 12.04
>
> *lsbmajdistrelease => 12*lsbrelease => 
> core-2.0-amd64:core-2.0-noarch:core-3.0-amd64:core-3.0-noarch:core-3.1-amd64:core-3.1-noarch:core-3.2-amd64:core-3.2-noarch:core-4.0-amd64:core-4.0-noarch
>  


On Monday, August 25, 2014 4:45:27 PM UTC-7, Adrien Thebo wrote:
>
> Facter 2.2.0 is a backward-compatible features-and-fixes release in the 
> Facter 2 series. The release adds structured versions of several core fact 
> types and contains backports of facts that were merged into Facter master 
> but were not released in Facter 2.0.1.
>
> Headline features
>   - new structured facts: os, system_uptime, processors
>
> To download Facter, follow the instructions here: 
> http://docs.puppetlabs.com/guides/install_puppet/pre_install.html
>
> Release notes are available here: 
> http://docs.puppetlabs.com/facter/latest/release_notes.html
> To see a complete list of issues fixed in this release: 
> https://tickets.puppetlabs.com/issues/?filter=12624
> We're tracking bugs people find in this release with the "Affected 
> Version" field set to "2.2.0": 
> https://tickets.puppetlabs.com/issues/?filter=12623
>
> -- 
> Adrien Thebo | Puppet Labs
>  

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/ebb623d9-ed4b-4c54-9f7c-e2b464859d4a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to