[Puppet Users] Foreman push_facts script

Hi Carles,

You probably want the foreman-users mailing list for foreman related
questions, so I'm cross-posting for you.

As part of the ENC script, facts can be pushed up to foreman whenever
a node does a 'puppet run'. There are probably other pre-built
mechanisms for doing this however specific to foreman.

ken.

··· 2011/11/30 Carles Amigó : > Installing the new version of Foreman in our current Puppet > environment and I don't really want to share the same database as we > rely so much in exported resources. > > As I've read in > http://theforeman.org/projects/foreman/wiki/Puppet_Facts it's possible > to push the Puppet facts using the "push_facts" script, however it's > no longer available in github: > https://github.com/ohadlevy/puppet-foreman/blob/master/foreman/files/push_facts.rb > > Is this method still valid? > > -- > 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. > For more options, visit this group at > http://groups.google.com/group/puppet-users?hl=en. >

> Hi Carles,
>
> You probably want the foreman-users mailing list for foreman related
> questions, so I'm cross-posting for you.
>
> As part of the ENC script, facts can be pushed up to foreman whenever
> a node does a 'puppet run'. There are probably other pre-built
> mechanisms for doing this however specific to foreman.
>
> https://github.com/ohadlevy/puppet-foreman/blob/master/foreman/templates/external_node.rb.erb
>
> ken.
>
>> Installing the new version of Foreman in our current Puppet
>> environment and I don't really want to share the same database as we
>> rely so much in exported resources.
>>
>> As I've read in
>> Puppet Facts - Foreman it's possible
>> to push the Puppet facts using the "push_facts" script, however it's
>> no longer available in github:
>> https://github.com/ohadlevy/puppet-foreman/blob/master/foreman/files/push_facts.rb
>>
>> Is this method still valid?
While Ken solution is the preferred method, the original script can be
found here: https://github.com/ohadlevy/puppet-foreman/blob/1fec77660a1d32337fc053a5789bf6116ccd7b31/foreman/files/push_facts.rb

Ohad

··· On Wed, Nov 30, 2011 at 5:12 PM, Ken Barber wrote: > 2011/11/30 Carles Amigó : >> >> -- >> 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. >> For more options, visit this group at >> 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+unsubscribe@googlegroups.com. > For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en. >