I do exactly that with a custom fact called `puppet_role`, which is listed
in my hierarchy as `- "puppet_role/%{puppet_role}'​"`. See
https://github.com/puppetinabox/controlrepo/blob/production/dist/profile/lib/facter/puppet_role.rb,
feel free to copy that if it 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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/CAC76iT_DbzoHdti2V-Lbm9125jK2KVzEYwSj69tmXvG3ZR0ofA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to