Okay. I figured out my issue. 

I'm not a developer so this is probably ugly, but came up with:
        begin
          fqdn = scope.catalog.tags[4]
        rescue
          fqdn = scope['fqdn'] if scope.has_key?('fqdn')
          Hiera.debug("trying mcollective")
        end
        Hiera.debug("got fqdn #{fqdn}")

That fqdn with both:
puppet master --debug --compile FQDN
and
hiera -d -c /etc/puppet/hiera.yaml -m FQDN

-- 
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/-/m6nAWXboqQIJ.
To post to this group, send email to puppet-users@googlegroups.com.
To unsubscribe from this group, send email to 
puppet-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.

Reply via email to