Quantcast
Channel: Ask Puppet: Puppet DevOps Q&A Community - RSS feed
Viewing all articles
Browse latest Browse all 257

hiera lookup not working?

$
0
0
Hit there I am trying to create lookups for openstack-neutron [openstack-neutron](https://github.com/openstack/puppet-neutron/tree/stable/ocata) class profiles::neutron { $neutron_default = lookup('neutron', {merge => deep, default_value => {}}) create_resources('neutron', $neutron_default) } ... --- classes: - vswitch::ovs - profiles::vswitch - neutron - profiles::neutron neutron_default: rabbit_password: 'askgoogle' core_plugin: 'ml2' service_plugins: ['router'] dns_domain: 'webterrorist.local.' default_transport_url: 'rabbit://openstack:askgoogle@192.168.253.10' but i get in stuck by Error: Could not retrieve catalog from remote server: Error 500 on SERVER: Server Error: Evaluation Error: Error while evaluating a Function Call, When rpc_backend is rabbitmq, you must set rabbit password at /usr/local/etc/puppet/environments/staging/modules/neutron/manifests/init.pp:548:7 on node test02.webterrorist.local so it seems that my lookups in profiles::neutron where totaly ignored or/and are not working. Any hint why would be very welcome. I'm using FreeBSD 10.3 as my puppetmaster and Ubuntu 17.04 on my testing nodes. And I use puppet opensource. What would be the best to debug and testing my hiera-lookups on my testing-nodes? class { '::neutron': core_plugin => hiera('neutron::core_plugin'), allow_overlapping_ips => true, service_plugins => hiera('neutron::service_plugins'), auth_strategy => 'keystone', dns_domain => hiera('neutron::dns_domain'), default_transport_url => hiera('neutron::default_transport_url'), } So far the example above would work. But then I have to change my codingstile for my yaml-files. And it's not so flexible.

Viewing all articles
Browse latest Browse all 257

Trending Articles