Latest version of puppet-gluster requires https://github.com/ripienaar/puppet-module-data to support RHEL7 (and CentOS and Fedora) This should be done before or as soon as BZ#1095985 issue has been resolved.
https://github.com/redhat-openstack/openstack-puppet-modules/pull/58
The pull request has been merged. We have to update the o-p-m package with this changes
This breaks compatibility with foreman's puppetmaster (at least with hiera < 1.2.0). New backend requires hiera/filecache to exist.
As above, do *not* update o-p-m with these changes please.
This module has to be removed from o-p-m until this issue will be fixed on puppet-module-data level.
For puppet-module-data to work, BZ#1108039 and BZ#1095985 have to be fixed/addressed first.
Latest investigation shows that the module itself doesn't break foreman. Running puppetmaster without foreman shows the same error. Basically puupet-hiera is kicking-in but fails because puppet cannot find the hiera configuration file. A workaround is to create a symbolic link for /etc/puppet/hiera.yaml: --------------- $ ln -s /etc/hiera.yaml /etc/puppet/hiera.yaml --------------- Please see BZ#1108039
The report was not about missing hiera config warning nor breaking foreman. As stated before, this module is incompatible with hiera < 1.2.0 because it relies on hiera/filecache backend that was added in 1.2.0. After uploading this module to puppetmaster it automatically creates incompatible files in /var/lib/puppet/lib which then causes puppet crash. I'll try to provide error output later so there's no more confusion.
Thanks, Marek, that's clear for hieara version, which needs to be >= 1.2.0 for the hiera/filecache. My previous comment is incomplete. They are other other dependencies, such as the hiera.yaml and the puppet version. Upgrading puppet to a newer version allow the catalogue to execute: rhel6: puppet --version 3.4.0-rc2 hiera --version 1.3.2-rc2 rhel7: puppet --version 3.4.3 hiera --version 1.3.1
Puppet and Hiera versions have been bumped up (see BZ#1095985): puppet --version 3.6.2 hiera --version 1.3.1 Still waiting for BZ#1108039 to fix hiera configuration file issue so the module can be added.
Here's a +1 data point to include module-data in the openstack-puppet-modules rpm. I tested a fresh install of foreman 1.6 on EL6 with the contents of /usr/share/openstack-puppet/modules/module-data equivalent to https://github.com/ripienaar/puppet-module-data/tree/159fc5e0e21ce9df96c777f0064b5eca88e29cae (what o-p-m currently points to). I was able to deploy the host group, "HA All In One Controller" without error. Rpm's used: foreman-1.6.0.21-1.el6sat.noarch puppet-3.6.2-1.el6.noarch puppet-server-3.6.2-1.el6.noarch hiera-1.3.1-2.el6.noarch
(In reply to Crag Wolfe from comment #12) Thanks! module-data can now be included into RPM build.
Spec file work.
tested with OpenStack-5.0-RHEL-7 Puddle: 2014-07-23.1 rpm -qa | grep openstack-puppet openstack-puppet-modules-2014.1-19.3.el7ost.noarch regression passed
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. http://rhn.redhat.com/errata/RHEA-2014-1003.html