As a general rule you shouldn't have multiple profiles pulling the same data from hiera.
Treat profiles like lego blocks that you can compose as needed.
In this case create a ssl_certs profile who's role is to pull in hieradata via standard parameters. This profile has the responsibility to get the certs on the box etc...
Any profiles that need ssl_certs can `include profile::ssl_certs`. Note that if these profiles need to get the parameters of the ssl_certs class they can be accessed via $profile::ssl_certs::parameter_name.
Hope that helps.
--
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...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/20170612165744.GA13854%40iniquitous.heresiarch.ca.
For more options, visit https://groups.google.com/d/optout.
> an email to [2]puppet-users+unsubscribe@googlegroups.com.
> To view this discussion on the web visit
> [3]https://groups.google.com/d/msgid/puppet-users/20170612165744.GA13854%40iniquitous.heresiarch.ca.
> For more options, visit [4]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 [5]puppet-users+unsubscribe@googlegroups.com.
> To view this discussion on the web visit
> [6]https://groups.google.com/d/msgid/puppet-users/CACx1-q3eywAy5Vvv2PDh3wtqNOk-myy8jJY6OV8a-NqJd_JK9g%40mail.gmail.com.
> For more options, visit [7]https://groups.google.com/d/optout.
>
> References
>
> Visible links
> 1. mailto:christopher_wood@pobox.com
> 5. mailto:puppet-users+unsub...@googlegroups.com
--
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/20170614150552.GA12362%40iniquitous.heresiarch.ca.
> > an email to [2][5]puppet-users+unsub...@googlegroups.com.
> > To view this discussion on the web visit
> >
> [3][6]https://groups.google.com/d/msgid/puppet-users/20170612165744.GA13854%40iniquitous.heresiarch.ca.
> > For more options, visit [4][7]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 [5][8]puppet-users+unsub...@googlegroups.com.
> > To view this discussion on the web visit
> >
> [6][9]https://groups.google.com/d/msgid/puppet-users/CACx1-q3eywAy5Vvv2PDh3wtqNOk-myy8jJY6OV8a-NqJd_JK9g%40mail.gmail.com.
> > For more options, visit [7][10]https://groups.google.com/d/optout.
> >
> > References
> >
> > Visible links
> > 1. mailto:[11]christop...@pobox.com
> > 2. mailto:[12]puppet-users%2Bunsu...@googlegroups.com
> > 3.
> [13]https://groups.google.com/d/msgid/puppet-users/20170612165744.GA13854%40iniquitous.heresiarch.ca
> > 4. [14]https://groups.google.com/d/optout
> > 5. mailto:[15]puppet-users+unsub...@googlegroups.com
> 12. mailto:puppet-users%252Bunsubscribe@googlegroups.com
> 13. https://groups.google.com/d/msgid/puppet-users/20170612165744.GA13854%40iniquitous.heresiarch.ca
> 14. https://groups.google.com/d/optout
> 15. mailto:puppet-users%2Bunsu...@googlegroups.com
> 16. https://groups.google.com/d/msgid/puppet-users/CACx1-q3eywAy5Vvv2PDh3wtqNOk-myy8jJY6OV8a-NqJd_JK9g%40mail.gmail.com?utm_medium=email&utm_source=footer
> 17. https://groups.google.com/d/optout
> 18. mailto:puppet-users%2Bunsu...@googlegroups.com
> 19. https://groups.google.com/d/msgid/puppet-users/20170614150552.GA12362%40iniquitous.heresiarch.ca
> 20. https://groups.google.com/d/optout
> 21. mailto:puppet-users+unsub...@googlegroups.com