No worries Gary. Thanks for your help already. I'm definitely on your
time so just chime in if / when you have a second.

On Feb 16, 4:00 pm, Gary Larizza <[email protected]> wrote:
> Our cron entry is declared in the pe_mcollective module that we ship in our
> modulepath
> --> /opt/puppet/share/puppet/modules/pe_mcollective/manifests/metadata.pp
>
> I'll answer this more in-depth when I get a free second to expound on it,
> but I'm a bit tied-up at the moment :)
>
>
>
>
>
>
>
>
>
> On Thu, Feb 16, 2012 at 3:52 PM, Tony C <[email protected]> wrote:
> > I see, but following this page does allow for that
>
> >http://projects.puppetlabs.com/projects/mcollective-plugins/wiki/Fact...
>
> > I just tested it. So in my enterprise, i would much rather control the
> > facts.yaml using a module of the above listed link and a puppet run,
> > than allowing a cron job to do this. Also, the parameters defined in
> > the ENC really help me carve out my infrastructure nicely for my
> > puppet manifests, as well as the ability to run queries in mcollective
> > using these parameters. A good examle would be a group in the
> > Dashboard called PRODUCTION, with a parameter for site=LA
>
> > How do people typically manage that puppet generated crontab?
>
> > On Feb 16, 3:38 pm, Gary Larizza <[email protected]> wrote:
> > > Tony,
>
> > > No.  Those don't become custom fact values, so client's aren't aware of
> > > them.
>
> > > On Thu, Feb 16, 2012 at 3:34 PM, Tony C <[email protected]> wrote:
> > > > Awesome Gary, Thanks for the reply.
>
> > > > Will this also populate parameters assigned via an ENC (my case would
> > > > be the puppet dashboard)?
>
> > > > Thanks again.
>
> > > > On Feb 16, 3:33 pm, Gary Larizza <[email protected]> wrote:
> > > > > Hey there,
>
> > > > > Check your cron with crontab -l and you'll see a line that calls
> > > > > "/opt/puppet/sbin/refresh-mcollective-metadata" every 15 minutes.
> >  That's
> > > > > the process that updates the facts.yaml file with your current custom
> > > > > facts.  You can trigger it whenever you'd like :)
>
> > > > > On Thu, Feb 16, 2012 at 3:19 PM, Tony C <[email protected]>
> > wrote:
> > > > > > I'm not sure if this is the right group or not, but i'll start
> > here.
>
> > > > > > I have Puppet enterprise 2.0, playing around with custom facts.
>
> > > > > > I have noticed that adding a custom fact to any module will
> > distribute
> > > > > > that fact to all machines, regardless if they are assigned to that
> > > > > > module or not. Is there a way around this, or is this just by
> > design?
>
> > > > > > I have the pluginsync and mcollective setup to use /etc/puppetlabs/
> > > > > > mcollective/facts.yaml.
>
> > > > > > server.cfg
> > > > > > # Facts
> > > > > > factsource = yaml
> > > > > > plugin.yaml = /etc/puppetlabs/mcollective/facts.yaml
>
> > > > > > Without doing anything, after a few minutes, my facts.yaml gets
> > > > > > populated with the new custom fact, even without following this
> > guide:
>
> >http://projects.puppetlabs.com/projects/mcollective-plugins/wiki/Fact.
> > > > ..
>
> > > > > > and mco find -F myfact will work as well, not at first, but after a
> > > > > > minute or 2. why is that?
>
> > > > > > --
> > > > > > You received this message because you are subscribed to the Google
> > > > Groups
> > > > > > "Puppet Users" group.
> > > > > > To post to this group, send email to [email protected]
> > .
> > > > > > To unsubscribe from this group, send email to
> > > > > > [email protected].
> > > > > > For more options, visit this group at
> > > > > >http://groups.google.com/group/puppet-users?hl=en.
>
> > > > > --
>
> > > > > Gary Larizza
> > > > > Professional Services Engineer
> > > > > Puppet Labs
>
> > > > --
> > > > You received this message because you are subscribed to the Google
> > Groups
> > > > "Puppet Users" group.
> > > > To post to this group, send email to [email protected].
> > > > To unsubscribe from this group, send email to
> > > > [email protected].
> > > > For more options, visit this group at
> > > >http://groups.google.com/group/puppet-users?hl=en.
>
> > > --
>
> > > Gary Larizza
> > > Professional Services Engineer
> > > Puppet Labs
>
> > --
> > You received this message because you are subscribed to the Google Groups
> > "Puppet Users" group.
> > To post to this group, send email to [email protected].
> > To unsubscribe from this group, send email to
> > [email protected].
> > For more options, visit this group at
> >http://groups.google.com/group/puppet-users?hl=en.
>
> --
>
> Gary Larizza
> Professional Services Engineer
> Puppet Labs

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.

Reply via email to