Anthony Clark
2014-Oct-24 14:49 UTC
[Puppet Users] example hiera.yaml that uses example42-network?
Hi All, Does anyone use example42-network with Hiera? I'm trying to find an example in Hiera that configures that module. https://forge.puppetlabs.com/example42/network/readme So far I've tried, in <hostname>.yaml (Hiera works OK with hostname, environment, etc etc) --- network::interfaces_hash: eth1: ipaddress: 1.2.3.4 netmask: 255.255.0.0 gateway: 1.2.3.1 Which I think should work, based on the Puppet example from the Forge module readme: class { 'network': interfaces_hash => { 'eth0' => { enable_dhcp => true, }, 'eth1' => { ipaddress => '10.42.42.50', netmask => '255.255.255.0', }, }, } So, any pointers on where I'm going wrong? Thanks in advance, Anthony -- 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+unsubscribe@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/c4870356-c879-4db8-864d-bd6aca71a2e9%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.