----- Original Message ----- > From: "snlsinghal 9" <[email protected]> > To: [email protected] > Sent: Friday, February 8, 2013 10:49:31 AM > Subject: Re: [Puppet Users] Can we specify IP Address of host to run puppet > agent via mcollective? > > Yeah thanks. This is good. But in this case would i write ipaddress in > facts.yaml on each host?
yeah, you can get puppet to do that for you: http://projects.puppetlabs.com/projects/mcollective-plugins/wiki/FactsFacterYAML > > On Friday, February 8, 2013 3:02:59 PM UTC+5:30, R.I. Pienaar wrote: > > > > > > > > ----- Original Message ----- > > > From: "snlsinghal 9" <[email protected] <javascript:>> > > > To: [email protected] <javascript:> > > > Sent: Friday, February 8, 2013 10:28:51 AM > > > Subject: [Puppet Users] Can we specify IP Address of host to run puppet > > agent via mcollective? > > > > > > Can we specify IP Address instead of hostname in following command > > running > > > from puppet master (Mcollective client): > > > > > > mco puppet runonce -I "hostname" > > > > > > > you can use the ipaddress fact, -W ipaddress=1.2.3.4 > > > > See > > http://docs.puppetlabs.com/mcollective/reference/basic/basic_cli_usage.htmlfor > > an overview of what is available for filtering etc > > > > -- > 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 post to this group, send email to [email protected]. > Visit this group at http://groups.google.com/group/puppet-users?hl=en. > For more options, visit https://groups.google.com/groups/opt_out. > > > -- 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 post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/puppet-users?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
