Re: [Puppet Users] Setting resource dependency from hiera problem

2016-09-28 Thread Henrik Lindberg
On 23/09/16 14:16, Matt Raso-Barnett wrote: require: "Network::If::Static['eth1']" Should be require: "Network::If::Static[eth1]" Since the string form of resource references does not include quotes around the title - thus it is searching for a resource named "'eth1'" instead of one

[Puppet Users] Setting resource dependency from hiera problem

2016-09-26 Thread Matt Raso-Barnett
Hello, I'm trying to utilise the following pattern in puppet4 to replace the 'create_resources' function: https://docs.puppet.com/puppet/latest/reference/lang_resources_advanced.html#implementing-the-createresources-function This works well for me in most usecases, however I'm having trouble now