Hi, I have a "postfix" class with this init:
class postfix ( $ensure = 'latest', $email_user = undef, $email_pass = undef, $smtp_endpoint = "smtp.${::domain}", $smtp_endpoint_port = '25', $from_domain = $::domain, $from_user = 'donotreply', $debug = false) { anchor { 'postfix::begin': } anchor { 'postfix::end': } include postfix::install include postfix::config include postfix::service Anchor['postfix::begin'] -> Class['postfix::install'] -> Class['postfix::config'] ~> Class['postfix::service'] -> Anchor['postfix::end'] } And I call it from an other module like this: class { 'postfix': email_user => hiera('email_user', undef), email_pass => hiera('email_pass', undef), smtp_endpoint => hiera('email_smtp_endpoint', undef), smtp_endpoint_port => hiera('smtp_endpoint_port', undef), from_domain => hiera('email_from_domain', undef), from_user => hiera('email_from_user', undef), } All parameters that not found in hiera are not initialized with the default values. In the template I use for the config I get only empty values. Best regards, Cristian Falcas On Thu, Jul 17, 2014 at 6:39 PM, jcbollinger <john.bollin...@stjude.org> wrote: > > > On Wednesday, July 16, 2014 2:33:42 PM UTC-5, Cristian Falcas wrote: >> >> Hello, >> >> Does anybody know if the issue from >> https://projects.puppetlabs.com/issues/16221 was implemented after all? >> >> > > The issue tracker says it was. I haven't heard any other commentary or > questions suggesting otherwise. > > > >> I'm having the same problem with puppet 3.6.2 >> > > > Perhaps there was a regression, but are you certain the behavior you see > is the same as that described in redmine issue 16221? Can you provide > example code? > > > John > > > -- > 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/1bf9c11b-0403-427a-8cb3-79cf5d6c2907%40googlegroups.com > <https://groups.google.com/d/msgid/puppet-users/1bf9c11b-0403-427a-8cb3-79cf5d6c2907%40googlegroups.com?utm_medium=email&utm_source=footer> > . > 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 puppet-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/CAMo7R_cpzpgE8UKcsMJuag115NXkFQEVmLWnBhCOm153qwsY4A%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.