> > I don't like that at all. Generally speaking, defined types should > not manage resources whose identity is independent of the type > parameters. >
Yeah, I already binned that lot off and just used a class instead, as I say I was messing about to try and get it working > Ideally, though, you would switch to an *un*parameterized class, and > communicate the erstwhile parameters to it via external data (e.g. > Hiera) and/or by creating separate [sub-]classes. > The information from the host (ip address etc) is coming from hiera already so I am doing this already (maybe? unless I read that wrong). It is just the template that I cannot pull in via hiera (or can I ... can you just use multi-line yaml formatting and get the template from there? Will give it a whirl) Josh -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To view this discussion on the web visit https://groups.google.com/d/msg/puppet-users/-/_mQTXUy0HUoJ. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
