Bug #7958
closed[Staypuft] Unknown function str2bool at /etc/puppet/environments/production/modules/quickstack/manifests/openstack_common.pp:5
Description
Installing staypuft will create a str2bool_i function instead of the str2bool function required.
This will prevent a quickstart::neutron::compute from being able to be created
[root@foreman ~]# locate str2bool
/etc/puppet/environments/production/modules/quickstack/lib/puppet/parser/functions/str2bool_i.rb
/usr/share/foreman-installer/modules/stdlib/lib/puppet/parser/functions/str2bool.rb
/usr/share/foreman-installer/modules/stdlib/spec/acceptance/str2bool_spec.rb
/usr/share/foreman-installer/modules/stdlib/spec/functions/str2bool_spec.rb
/var/lib/puppet/lib/puppet/parser/functions/str2bool_i.rb
On a regular foreman installer these are the files available
[root@puppet ~]# locate str2bool
/etc/puppet/environments/production/modules/quickstack/lib/puppet/parser/functions/str2bool_i.rb
/etc/puppet/environments/production/modules/stdlib/lib/puppet/parser/functions/str2bool.rb
/etc/puppet/environments/production/modules/stdlib/spec/unit/puppet/parser/functions/str2bool_spec.rb
/usr/share/foreman-installer/modules/stdlib/lib/puppet/parser/functions/str2bool.rb
/usr/share/foreman-installer/modules/stdlib/spec/acceptance/str2bool_spec.rb
/usr/share/foreman-installer/modules/stdlib/spec/functions/str2bool_spec.rb
/var/lib/puppet/lib/puppet/parser/functions/str2bool.rb
/var/lib/puppet/lib/puppet/parser/functions/str2bool_i.rb
Updated by Marek Hulán almost 10 years ago
So it seems that you don't have stdlib installed among your modules but it's part of https://github.com/redhat-openstack/openstack-puppet-modules. Does reruning the staypuft-installer fix the issue? Do you see /etc/puppet/environments/production/modules/**/stdlib?
Anyway could you please copy this to BZ? This is not Foreman related and OFI tracked was closed. I'll close this ticket then.
Updated by Marek Hulán almost 10 years ago
- Status changed from New to Rejected
Closing since this is staypuft specific.