It was indeed an issue with the network class not being included in the particular environment I was using.
I've remedied that now. Just as an aside, the syntax below was correct. On Friday, October 24, 2014 12:54:53 PM UTC-4, Wil Cooley wrote: > > > > On Fri, Oct 24, 2014 at 7:49 AM, Anthony Clark <dizzy...@gmail.com > <javascript:>> wrote: > >> 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', >> }, >> }, >> } >> > > What's actually happening when you do this? > > I assume you also have "include network" in your manifests? > > Wil > -- 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/ae8c469a-b2de-4519-b91d-9e92562bc3be%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.