Love Anthony Vish
2013-Apr-09 01:51 UTC
[Puppet Users] How to executing puppet module via puppetrun
Hello Guys, I am able to execute puppetrun on specified client. #puppetrun mars.example.co.in But the above command only load or read .pp file under * /etc/puppet/manifests*. Is there any way, Where i can describe my own module or specified module for specific puppet client. e.g. #puppetrun jupiter.example.co.in (and it should load /etc/puppet/modules/sudo/manifests/.pp) -- 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.
Peter Brown
2013-Apr-09 23:36 UTC
Re: [Puppet Users] How to executing puppet module via puppetrun
As far as I am aware puppetrun (Which is being phased out) only tells a client node to start a normal puppet run. I don''t believe it is possible to tell it to only do particular parts of it''s manifest. puppet apply is probably more useful to you but as far as I am aware it only runs on the node itself so you will need some way of triggering it remotely. Please note I have only user puppet run and have never used puppet apply or had a need to use it so I don''t know much else. Hope that helps. Pete On 9 April 2013 11:51, Love Anthony Vish <lov3vish@gmail.com> wrote:> Hello Guys, > > I am able to execute puppetrun on specified client. > #puppetrun mars.example.co.in > > But the above command only load or read .pp file under * > /etc/puppet/manifests*. > > Is there any way, Where i can describe my own module or specified module > for specific puppet client. > > e.g. #puppetrun jupiter.example.co.in (and it should load > /etc/puppet/modules/sudo/manifests/.pp) > > -- > 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.
Love Anthony Vish
2013-Apr-10 00:31 UTC
Re: [Puppet Users] How to executing puppet module via puppetrun
Thx Pete, at least i came to know "*puppetrun (Which is being phased out) only tells a client node to start a normal puppet run.*" On Wednesday, April 10, 2013 5:06:42 AM UTC+5:30, Pete wrote:> > As far as I am aware puppetrun (Which is being phased out) only tells a > client node to start a normal puppet run. > I don''t believe it is possible to tell it to only do particular parts of > it''s manifest. > > puppet apply is probably more useful to you but as far as I am aware it > only runs on the node itself so you will need some way of triggering it > remotely. > > Please note I have only user puppet run and have never used puppet apply > or had a need to use it so I don''t know much else. > > Hope that helps. > > Pete > > > On 9 April 2013 11:51, Love Anthony Vish <lov3...@gmail.com <javascript:>>wrote: > >> Hello Guys, >> >> I am able to execute puppetrun on specified client. >> #puppetrun mars.example.co.in >> >> But the above command only load or read .pp file under * >> /etc/puppet/manifests*. >> >> Is there any way, Where i can describe my own module or specified module >> for specific puppet client. >> >> e.g. #puppetrun jupiter.example.co.in (and it should load >> /etc/puppet/modules/sudo/manifests/.pp) >> >> -- >> 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...@googlegroups.com <javascript:>. >> To post to this group, send email to puppet...@googlegroups.com<javascript:> >> . >> 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.
Love Anthony Vish
2013-Apr-10 00:33 UTC
Re: [Puppet Users] How to executing puppet module via puppetrun
Thx Pete, at least i came to know "*puppetrun (Which is being phased out) only tells a client node to start a normal puppet run.*" -- 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.
Love Anthony Vish
2013-Apr-10 00:37 UTC
Re: [Puppet Users] How to executing puppet module via puppetrun
Thx Pete, at least i came to know "*puppetrun (Which is being phased out) only tells a client node to start a normal puppet run.*" On Wednesday, April 10, 2013 5:06:42 AM UTC+5:30, Pete wrote:> > As far as I am aware puppetrun (Which is being phased out) only tells a > client node to start a normal puppet run. > I don''t believe it is possible to tell it to only do particular parts of > it''s manifest. > > puppet apply is probably more useful to you but as far as I am aware it > only runs on the node itself so you will need some way of triggering it > remotely. > > Please note I have only user puppet run and have never used puppet apply > or had a need to use it so I don''t know much else. > > Hope that helps. > > Pete > > > > > > >-- 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.
Love Anthony Vish
2013-Apr-10 00:37 UTC
Re: [Puppet Users] How to executing puppet module via puppetrun
Thx Pete, at least i understood "*puppetrun (Which is being phased out) only tells a client node to start a normal puppet run.*" On Wednesday, April 10, 2013 5:06:42 AM UTC+5:30, Pete wrote:> > As far as I am aware puppetrun (Which is being phased out) only tells a > client node to start a normal puppet run. > I don''t believe it is possible to tell it to only do particular parts of > it''s manifest. > > puppet apply is probably more useful to you but as far as I am aware it > only runs on the node itself so you will need some way of triggering it > remotely. > > Please note I have only user puppet run and have never used puppet apply > or had a need to use it so I don''t know much else. > > Hope that helps. > > Pete > > > On 9 April 2013 11:51, Love Anthony Vish <lov3...@gmail.com <javascript:>>wrote: > >> Hello Guys, >> >> I am able to execute puppetrun on specified client. >> #puppetrun mars.example.co.in >> >> But the above command only load or read .pp file under * >> /etc/puppet/manifests*. >> >> Is there any way, Where i can describe my own module or specified module >> for specific puppet client. >> >> e.g. #puppetrun jupiter.example.co.in (and it should load >> /etc/puppet/modules/sudo/manifests/.pp) >> >> -- >> 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...@googlegroups.com <javascript:>. >> To post to this group, send email to puppet...@googlegroups.com<javascript:> >> . >> 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.
Love Anthony Vish
2013-Apr-10 00:39 UTC
Re: [Puppet Users] How to executing puppet module via puppetrun
Thx Pete, at least i understood "*puppetrun (Which is being phased out) only tells a client node to start a normal puppet run.*" -- 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.
Felix Frank
2013-Apr-14 18:02 UTC
Re: [Puppet Users] How to executing puppet module via puppetrun
Well, On 04/09/2013 03:51 AM, Love Anthony Vish wrote:> > Is there any way, Where i can describe my own module or specified module > for specific puppet client.there is a fundamental flaw in your question. Modules are not executed or anyhting alike. A manifest can use types and classes that are defined in a module. To make an agent use a module, pass it a manifest that uses the module, e.g. puppet apply -e ''apache::mod { "rewrite": }'' HTH, Felix -- 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.