Hi Alexander,

If you use the roles and profiles design pattern [0] then as suggested
at [1], your profile class could look up the required parameters from
hiera, do any validation required on it, then pass that data in as
standard class parameters.

Regards,

Matt.

[0] http://www.craigdunn.org/2012/05/239/
[1] http://garylarizza.com/blog/2014/02/17/puppet-workflow-part-2/

On 5 August 2015 at 13:25, Alexander Dacre <[email protected]> wrote:
> Hi,
>
> I'm going through an initial deployment of Puppet and was looking to use
> hiera as much as possible, but it seems that many existing modules do not
> have hiera support.
>
> The question I have is, is it 'OK' to have some bits of configuration for a
> node defined in hiera, and others in site.pp?
>
> Thanks,
> A
>
> --
> 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 [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/puppet-users/54ccc36a-7b93-48d4-b8c1-e2eabf098acf%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/CAKUTv3K46MLKJ5nn2E05Z1wh_r_PcmPY2F_YBMR6pUfuH8QazQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to