Sorry for re-opening a old thread but I am still struggling on  related 
topic..

Step 1: I am copying some .rb files to the 
/usr/lib/ruby/site_ruby/ruby/1.8/facter/ folder
Step 2: A facter command gives me the values for all new custom / external 
facts

But the values for new facts will not get into puppetdb untill a next agent 
run... 

Is there a way to run puppet from within a manifest or any other way to 
force "replace facts" remotely on the agent ??? 


On Monday, March 31, 2014 1:12:32 AM UTC+5:30, Rakesh K wrote:
>
> I am not copying the facts to the facts.d folder..
>
> but i am creating the facts as .rb files and placing them into 
> /usr/lib/ruby/site_ruby/ruby/1.8/facter/.
>
>
> On Sun, Mar 30, 2014 at 8:48 PM, Christopher Wood <
> [email protected]> wrote:
>
>> After copying these facts into /etc/facter/facts.d, are you kicking off 
>> another puppet agent run? Facts get sent to the master on each agent run, 
>> not before.
>>
>> http://docs.puppetlabs.com/guides/custom_facts.html#viewing-fact-values
>>
>> On Sun, Mar 30, 2014 at 07:35:54PM +0530, Rakesh Kathpal wrote:
>> >    Hi ,
>> >
>> >    I am still struggling on the replace fact part, is there any way
>> >    to force replace_facts for a node.
>> >
>> >    I am actually adding new facts by coping them directly into the 
>> facter dir
>> >    but unfortunately they are not getting replicated to puppetdb. Is 
>> there
>> >    any way to force puppetdb to replace_facts.
>> >
>> >    This is really urgent for me, any help is greatly appreciated.
>> >
>> >    Regards,
>> >
>> >    Rakesh K.
>> >
>> >    On Wed, Mar 12, 2014 at 1:25 PM, Rakesh Kathpal <[1]
>> [email protected]>
>> >    wrote:
>> >
>> >      [2]https://tickets.puppetlabs.com/browse/PDB-508
>> >
>> >      On Tue, Mar 11, 2014 at 10:28 PM, Ken Barber <[3]
>> [email protected]>
>> >      wrote:
>> >
>> >        > Just a suggestion .. it will really good if you can add field 
>> "date
>> >        added"
>> >        > to the certname table just reporting purposes.
>> >
>> >        Feel free to raise that as a feature request here Rakesh:
>> >        [4]https://tickets.puppetlabs.com/browse/PDB
>> >
>> >        ken.
>> >        --
>> >        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 [5][email protected].
>> >        To view this discussion on the web visit
>> >        [6]
>> https://groups.google.com/d/msgid/puppet-users/CAE4bNT%3D6LBjFCDrym8auMw7ufxMwBmV_d6x-yTO4CxdMPkdKqQ%40mail.gmail.com
>> .
>> >        For more options, visit [7]https://groups.google.com/d/optout.
>> >
>> >    --
>> >    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 [8][email protected].
>> >    To view this discussion on the web visit
>> >    [9]
>> https://groups.google.com/d/msgid/puppet-users/CAEJrXMW8zjnUaAaQ%3DJapew%2Bja5fnAJdy1G6fTyO%3Dws%3D4%2Bt4ZLg%40mail.gmail.com
>> .
>> >    For more options, visit [10]https://groups.google.com/d/optout.
>> >
>> > References
>> >
>> >    Visible links
>> >    1. mailto:[email protected]
>> >    2. https://tickets.puppetlabs.com/browse/PDB-508
>> >    3. mailto:[email protected]
>> >    4. https://tickets.puppetlabs.com/browse/PDB
>> >    5. mailto:puppet-users%[email protected]
>> >    6. 
>> https://groups.google.com/d/msgid/puppet-users/CAE4bNT%3D6LBjFCDrym8auMw7ufxMwBmV_d6x-yTO4CxdMPkdKqQ%40mail.gmail.com
>> >    7. https://groups.google.com/d/optout
>> >    8. mailto:[email protected]
>> >    9. 
>> https://groups.google.com/d/msgid/puppet-users/CAEJrXMW8zjnUaAaQ%3DJapew%2Bja5fnAJdy1G6fTyO%3Dws%3D4%2Bt4ZLg%40mail.gmail.com?utm_medium=email&utm_source=footer
>> >   10. https://groups.google.com/d/optout
>>
>> --
>> 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/20140330151817.GA24743%40iniquitous.heresiarch.ca
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>

-- 
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/52aa6b56-a63a-441a-855b-eb37c9c0a451%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to