Dilip Varma
2013-Sep-27 11:15 UTC
[Puppet Users] Running Scripts from puppet master withou interacting the puppet agent on Amazon ec2 instance
Hi, I''m newbie to Puppet even i don''t know how to configure it. Could you please tell me how to run scripts from puppet master to puppet agent without interacting the agent nodes(like rack,bootstrap from puppet master)? is there any puppet cook books or any puppet pdfs? Thanks in advance, Dilip -- 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. For more options, visit https://groups.google.com/groups/opt_out.
Sneha More
2013-Sep-27 11:34 UTC
[Puppet Users] Re: Running Scripts from puppet master withou interacting the puppet agent on Amazon ec2 instance
Hi Dilip, If you want to execute any script on client, then just transfer that script to puppetclient using "File" resource and execute it using "exec" resource. Refer link http://www.puppetcookbook.com/ for Puppet cookbook or http://docs.puppetlabs.com/learning/ral.html for learning resources, manifests, ordering, modules, classes etc. I hope this will help you. Thanks & Regards, Sneha More, NTT DATA GTS, OSS Center, India, Pune On Friday, September 27, 2013 4:45:02 PM UTC+5:30, Dilip Varma wrote:> > Hi, > > I''m newbie to Puppet even i don''t know how to configure it. > > Could you please tell me how to run scripts from puppet master to puppet > agent without interacting the agent nodes(like rack,bootstrap from puppet > master)? > > is there any puppet cook books or any puppet pdfs? > > > > > > > > Thanks in advance, > Dilip >-- 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. For more options, visit https://groups.google.com/groups/opt_out.
Dilip Varma
2013-Sep-27 11:37 UTC
Re: [Puppet Users] Re: Running Scripts from puppet master withou interacting the puppet agent on Amazon ec2 instance
i''ll try and let u know,Thank You Thanks, Dilip On Fri, Sep 27, 2013 at 5:04 PM, Sneha More <snehamore204@gmail.com> wrote:> Hi Dilip, > If you want to execute any script on client, then just transfer that > script to puppetclient using "File" resource > and execute it using "exec" resource. > Refer link http://www.puppetcookbook.com/ for Puppet cookbook > or http://docs.puppetlabs.com/learning/ral.html for learning resources, > manifests, ordering, modules, classes etc. > > I hope this will help you. > > Thanks & Regards, > Sneha More, > NTT DATA GTS, OSS Center, India, Pune > > On Friday, September 27, 2013 4:45:02 PM UTC+5:30, Dilip Varma wrote: >> >> Hi, >> >> I''m newbie to Puppet even i don''t know how to configure it. >> >> Could you please tell me how to run scripts from puppet master to puppet >> agent without interacting the agent nodes(like rack,bootstrap from puppet >> master)? >> >> is there any puppet cook books or any puppet pdfs? >> >> >> >> >> >> >> >> Thanks in advance, >> Dilip >> > -- > You received this message because you are subscribed to a topic in the > Google Groups "Puppet Users" group. > To unsubscribe from this topic, visit > https://groups.google.com/d/topic/puppet-users/I-sRO41KFKs/unsubscribe. > To unsubscribe from this group and all its topics, 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. > 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. For more options, visit https://groups.google.com/groups/opt_out.
jcbollinger
2013-Sep-27 14:06 UTC
[Puppet Users] Re: Running Scripts from puppet master withou interacting the puppet agent on Amazon ec2 instance
On Friday, September 27, 2013 6:15:02 AM UTC-5, Dilip Varma wrote:> > Hi, > > I''m newbie to Puppet even i don''t know how to configure it. > > Could you please tell me how to run scripts from puppet master to puppet > agent without interacting the agent nodes(like rack,bootstrap from puppet > master)? > >I''m having trouble understanding the question. Do you mean bona fide scripts (shell, perl, etc.), or do you mean configuration declarations contained in Puppet manifests (which are sometimes inaccurately called "scripts")? Only in the former case might Puppet Exec resources be relevant. In any case, it sounds like you are asking for a way to have the puppet master directly modify another computer, without any active participation from the target computer. In general, that is flat impossible, with or without Puppet. Only if the master and target machine share a disk is it conceivable; that might be if the target node is in fact a VM hosted on the same hardware as the master, or if target node is diskless and the master can write to the network filesystem(s) that serves the target node. Even then, the manifests that you would use in such cases are fundamentally different from those you would use for a standard master / agent setup, or for direct application by the target node. It is possible to use Puppet as part of a provisioning process, but except in special cases such as discussed above, they all involve Puppet code running on the target machine. A master does not need to be involved, though it is often convenient to use one, especially if the node will continue to be managed via that master after it is deployed. John -- 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. For more options, visit https://groups.google.com/groups/opt_out.