Serving facts to nodes via puppet...
That means you already know those facts in puppet so you don't need to
serve them to the nodes anymore :-)

On Sun, Dec 9, 2012 at 1:31 AM, Jakov Sosic <jso...@srce.hr> wrote:

> On 12/06/2012 06:44 PM, Stefan Goethals wrote:
>
>> Hi,
>>
>> You could use facter-dot-d to set a fact on those servers specifying the
>> name of a storagegroup or a webcluster
>> and then use that fact in your hiera hierarchy
>>
>> so you could have
>> /etc/facter/facts.d/**servertype.yaml with content
>>
>>
> Thank you, I didn't know about that.
>
> I will write a class that serves /etc/puppet/private/%H/facts.**yaml into
> that dir, or if that file does not exist it will serve empty yaml from
> modules/foo/files/facts.yaml
>
> I think I will have to move to ENC very soon because this solution somehow
> doesn't feel good :-/
>
>
>
> --
> Jakov Sosic
> www.srce.unizg.hr
>
>
> --
> You received this message because you are subscribed to the Google Groups
> "Puppet Users" group.
> To post to this group, send email to puppet-users@googlegroups.com.
> To unsubscribe from this group, send email to puppet-users+unsubscribe@**
> googlegroups.com <puppet-users%2bunsubscr...@googlegroups.com>.
> For more options, visit this group at http://groups.google.com/**
> group/puppet-users?hl=en<http://groups.google.com/group/puppet-users?hl=en>
> .
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
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