On Thu, Nov 10, 2016 at 6:25 AM, Victor Martinez
<victormartinezru...@gmail.com> wrote:
> Hi there,
>
>    I've been looking for a way of creating an erb file which contains all
> the facter values. Any ideas how I can accomplish it? Reason: I'd like to
> generate custom facters per module and populate those facter values as
> Jenkins Labels

Untested:

<%
@facts.each do |key, value|
%->
<%= key %> and <%= value %>
<% end -%>

-m

-- 
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/CAOLfK3WWQ%3DfESunVMb3JyM2%3Dhr5%2BStyUQp58t0tV%3D01EKyvTdg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to