snlsinghal.9@gmail.com
2013-Feb-08 09:28 UTC
[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 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 puppet-users+unsubscribe@googlegroups.com. To post to this group, send email to puppet-users@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-users?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
R.I.Pienaar
2013-Feb-08 09:32 UTC
Re: [Puppet Users] Can we specify IP Address of host to run puppet agent via mcollective?
----- Original Message -----> From: "snlsinghal 9" <snlsinghal.9@gmail.com> > To: puppet-users@googlegroups.com > 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.html for 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 puppet-users+unsubscribe@googlegroups.com. To post to this group, send email to puppet-users@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-users?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
snlsinghal.9@gmail.com
2013-Feb-08 09:49 UTC
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? On Friday, February 8, 2013 3:02:59 PM UTC+5:30, R.I. Pienaar wrote:> > > > ----- Original Message ----- > > From: "snlsinghal 9" <snlsin...@gmail.com <javascript:>> > > To: puppet...@googlegroups.com <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 puppet-users+unsubscribe@googlegroups.com. To post to this group, send email to puppet-users@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-users?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
R.I.Pienaar
2013-Feb-08 09:50 UTC
Re: [Puppet Users] Can we specify IP Address of host to run puppet agent via mcollective?
----- Original Message -----> From: "snlsinghal 9" <snlsinghal.9@gmail.com> > To: puppet-users@googlegroups.com > 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" <snlsin...@gmail.com <javascript:>> > > > To: puppet...@googlegroups.com <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 puppet-users+unsubscribe@googlegroups.com. > To post to this group, send email to puppet-users@googlegroups.com. > 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 puppet-users+unsubscribe@googlegroups.com. To post to this group, send email to puppet-users@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-users?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
Sonal Singhal
2013-Feb-08 09:54 UTC
Re: [Puppet Users] Can we specify IP Address of host to run puppet agent via mcollective?
ok thanks.. I will go through this doc.. On Fri, Feb 8, 2013 at 3:20 PM, R.I.Pienaar <rip@devco.net> wrote:> > > ----- Original Message ----- >> From: "snlsinghal 9" <snlsinghal.9@gmail.com> >> To: puppet-users@googlegroups.com >> 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" <snlsin...@gmail.com <javascript:>> >> > > To: puppet...@googlegroups.com <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 puppet-users+unsubscribe@googlegroups.com. >> To post to this group, send email to puppet-users@googlegroups.com. >> 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 puppet-users+unsubscribe@googlegroups.com. > To post to this group, send email to puppet-users@googlegroups.com. > 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 puppet-users+unsubscribe@googlegroups.com. To post to this group, send email to puppet-users@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-users?hl=en. For more options, visit https://groups.google.com/groups/opt_out.