I just hit this bug on CentOS 7. Looks like my version of facter 2.4.1 (from the puppet repos) doesn't have operatingsystemmajrelease. This is breaking a number of my forge modules.
[root@foobar]# rpm -q facter facter-2.4.1-1.el7.x86_64 [root@foobar log]# rpm -q puppet puppet-3.7.5-1.el7.noarch [root@foobar]# facter --puppet | grep -i centos lsbdistdescription => CentOS Linux release 7.1.1503 (Core) lsbdistid => CentOS os => {"name"=>"RedHat", "family"=>"RedHat", "lsb"=>{"distcodename"=>"Core", "distid"=>"CentOS", "distdescription"=>"CentOS Linux release 7.1.1503 (Core) ", "release"=>":core-4.1-amd64:core-4.1-noarch", "distrelease"=>"7.1.1503", "majdistrelease"=>"7", "minordistrelease"=>"1"}} [root@foobar]# facter --puppet | grep -i redhat operatingsystem => RedHat os => {"name"=>"RedHat", "family"=>"RedHat", "lsb"=>{"distcodename"=>"Core", "distid"=>"CentOS", "distdescription"=>"CentOS Linux release 7.1.1503 (Core) ", "release"=>":core-4.1-amd64:core-4.1-noarch", "distrelease"=>"7.1.1503", "majdistrelease"=>"7", "minordistrelease"=>"1"}} osfamily => RedHat [root@foobar]# facter --puppet | grep operatingsystem operatingsystem => RedHat It looks like CentOS 7.1.1503 is confusing facter into thinking it's a RedHat system and not setting operatingsystemmajrelease at all. On Thu, Mar 26, 2015 at 8:03 AM, James Olin Oden <james.o...@gmail.com> wrote: > <snip> > > It appears[1] that systemd should work without modification on FC19. > > James, what version of facter do you have? Most importantly does it have > > a fact for operatingsystemmajrelease? > > It does: > > [root@jefe ~]# facter | grep operatingsystemmajrelease > operatingsystemmajrelease => 19 > > Best...James > > -- > 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 puppet-users+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/puppet-users/CAPWHxfL4BcKA0%2BiaPp7puUnrLckJd_7Dex6cE88Yh8Af1%2B5CTg%40mail.gmail.com > . > For more options, visit https://groups.google.com/d/optout. > -- Huaqing Zheng Code Wrangler -- 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 puppet-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/CAKSYJTMj-10m07F%2BNeNbKihdvXxkDv2M%3DFp-KbWSBZ9T5-57zA%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.