I put a puts "running my fact" into a custom fact. Then I run puppetd from a client in debug mode. I see the "running my fact" three times. Does this mean that the custome fact code is executing three times on the client every time? --- Thanks, Allan Marcus 505-667-5666
On Mon, May 3, 2010 at 4:32 PM, Marcus, Allan B <allan@lanl.gov> wrote:> I put a > puts "running my fact" > into a custom fact. Then I run puppetd from a client in debug mode. I see the "running my fact" three times. Does this mean that the custome fact code is executing three times on the client every time? >Hmm, that wouldn''t be good. First question -- what versions of Puppet and facter? Secondly, can you share your fact code with us? (a gist on github.com perhaps, or just paste it if it''s small?) --Michael -- 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.
On 05/06/2010 11:37 AM, Michael DeHaan wrote:> On Mon, May 3, 2010 at 4:32 PM, Marcus, Allan B<allan@lanl.gov> wrote: > >> I put a >> puts "running my fact" >> into a custom fact. Then I run puppetd from a client in debug mode. I see the "running my fact" three times. Does this mean that the custome fact code is executing three times on the client every time? >> >> > Hmm, that wouldn''t be good. > > First question -- what versions of Puppet and facter? > > Secondly, can you share your fact code with us? (a gist on > github.com perhaps, or just paste it if it''s small?) > > --Michael > >I have this similar issue- I notice the "loading facts in XXXX" message twice when running puppet. -- Joe McDonagh AIM: YoosingYoonickz IRC: joe-mac on freenode "When the going gets weird, the weird turn pro." -- 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.
On 6 May 2010 17:05, Joe McDonagh <Joseph.E.McDonagh@gmail.com> wrote:> > I have this similar issue- I notice the "loading facts in XXXX" message > twice when running puppet.Likewise - printed twice. It''s been low on my priority list because it doesn''t seem to have any negative effect, but since you mention it. Facter 1.5.2 Puppet 0.25.4 Excerpt from puppet.conf: vardir = /var/lib/puppet factpath = $vardir/lib/facter pluginsync = true -- 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.
Yeah, that''s not so efficient. Please file a bug on this one! On Thu, May 6, 2010 at 12:19 PM, Dan Carley <dan.carley@gmail.com> wrote:> On 6 May 2010 17:05, Joe McDonagh <Joseph.E.McDonagh@gmail.com> wrote: >> >> I have this similar issue- I notice the "loading facts in XXXX" message >> twice when running puppet. > > Likewise - printed twice. It''s been low on my priority list because it > doesn''t seem to have any negative effect, but since you mention it. > Facter 1.5.2 > Puppet 0.25.4 > Excerpt from puppet.conf: > vardir = /var/lib/puppet > factpath = $vardir/lib/facter > pluginsync = true > > -- > 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.
Dan Carley <dan.carley@gmail.com> writes:> On 6 May 2010 17:05, Joe McDonagh <Joseph.E.McDonagh@gmail.com> wrote: > >> I have this similar issue- I notice the "loading facts in XXXX" message >> twice when running puppet. > > Likewise - printed twice. It''s been low on my priority list because it > doesn''t seem to have any negative effect, but since you mention it.Likewise; same versions, on Debian/Etch and Debian/Lenny. Same configuration fragments, even. Not that I care much, given how costly the rest of running puppet is. Daniel -- ✣ Daniel Pittman ✉ daniel@rimspace.net ☎ +61 401 155 707 ♽ made with 100 percent post-consumer electrons -- 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.
On 6 May 2010 18:46, Michael DeHaan <michael@puppetlabs.com> wrote:> Yeah, that''s not so efficient. > > Please file a bug on this one!Duly filed. http://projects.puppetlabs.com/issues/3741 -- 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.