mysql.linux@gmail.com
2013-Apr-11 18:55 UTC
[Puppet Users] Deploying Modules on Windows Node without using Dashboard (Puppet Enterprise Console)
Hello, I am a newbie to Puppet and Puppet Enterprise, trying to see/understand how we can automate some of the windows app installs using it. I got the Master/Node Agents all working. I went through the Quick Start Guide and followed the example of how to install a module: win_desktop_shortcut using the Dashboard (Adding a Class, Edit Node, etc). I don''t want to use the Dashboard to add the class and push the Class to the Node. What Command Line options do I have to deploy these modules to the Node? Thanks -- 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.
Ryan Coleman
2013-Apr-12 00:08 UTC
Re: [Puppet Users] Deploying Modules on Windows Node without using Dashboard (Puppet Enterprise Console)
Hi, Once you have the module installed onto your Puppet master, you''ll want to declare the class onto your nodes. Here''s a doc on that subject: http://docs.puppetlabs.com/puppet/2.7/reference/lang_classes.html#declaring-a-class-with-include You have multiple choices for where to declare your classes. If you''re not interested in using the Enterprise Console/Dashboard, I suggest you start with the site manifest. Here''s a doc on that: http://docs.puppetlabs.com/puppet/2.7/reference/lang_classes.html#declarations I hope that helps! --Ryan On Thu, Apr 11, 2013 at 11:55 AM, <mysql.linux@gmail.com> wrote:> Hello, > > I am a newbie to Puppet and Puppet Enterprise, trying to see/understand > how we can automate some of the windows app installs using it. > > I got the Master/Node Agents all working. I went through the Quick Start > Guide and followed the example of how to install a module: win_desktop_shortcut > using the Dashboard (Adding a Class, Edit Node, etc). > > I don''t want to use the Dashboard to add the class and push the Class to > the Node. > > What Command Line options do I have to deploy these modules to the Node? > > Thanks > > -- > 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. > > >-- Ryan Coleman | Modules & Forge | @ryanycoleman | ryancoleman in #puppet -- 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.
mysql.linux@gmail.com
2013-Apr-12 00:44 UTC
Re: [Puppet Users] Deploying Modules on Windows Node without using Dashboard (Puppet Enterprise Console)
Thanks Ryan. I will look at modifying the site manifest. Question: Do you think another option would be to modify the same file(s) that Console/Dashboard is modifying? That way, I am in sync for users who do want to use the cool features of the Dashboard? Thanks again! On Thursday, April 11, 2013 7:08:03 PM UTC-5, Ryan Coleman wrote:> > Hi, > > Once you have the module installed onto your Puppet master, you''ll want to > declare the class onto your nodes. Here''s a doc on that subject: > http://docs.puppetlabs.com/puppet/2.7/reference/lang_classes.html#declaring-a-class-with-include > > You have multiple choices for where to declare your classes. If you''re not > interested in using the Enterprise Console/Dashboard, I suggest you start > with the site manifest. Here''s a doc on that: > http://docs.puppetlabs.com/puppet/2.7/reference/lang_classes.html#declarations > > I hope that helps! > > --Ryan > > > On Thu, Apr 11, 2013 at 11:55 AM, <mysql...@gmail.com <javascript:>>wrote: > >> Hello, >> >> I am a newbie to Puppet and Puppet Enterprise, trying to see/understand >> how we can automate some of the windows app installs using it. >> >> I got the Master/Node Agents all working. I went through the Quick Start >> Guide and followed the example of how to install a module: win_desktop_shortcut >> using the Dashboard (Adding a Class, Edit Node, etc). >> >> I don''t want to use the Dashboard to add the class and push the Class to >> the Node. >> >> What Command Line options do I have to deploy these modules to the Node? >> >> Thanks >> >> -- >> 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. >> >> >> > > > > -- > Ryan Coleman | Modules & Forge | @ryanycoleman | ryancoleman in #puppet > > >-- 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.
Ryan Coleman
2013-Apr-12 00:51 UTC
Re: [Puppet Users] Deploying Modules on Windows Node without using Dashboard (Puppet Enterprise Console)
On Thu, Apr 11, 2013 at 5:44 PM, <mysql.linux@gmail.com> wrote:> Question: Do you think another option would be to modify the same file(s) > that Console/Dashboard is modifying? That way, I am in sync for users who > do want to use the cool features of the Dashboard?How do you mean? What files? -- 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.
mysql.linux@gmail.com
2013-Apr-12 01:20 UTC
Re: [Puppet Users] Deploying Modules on Windows Node without using Dashboard (Puppet Enterprise Console)
Let me explain what I did: - 1. Installed 3 new Modules on the Puppet Master - 2. Went to the Dashboard, Added the new Classes - 3. In the Dashboard, also Edited the Node to add the new Classes to it - 4. The Agents on the Node to which the classes were assigned picked up the new modules and installed the applications. So, the above was good and worked as expected. My question is: - Shouldn''t I be able to use an API like "puppet ....." to do the same as above? - If I cannot do it via an API, then what is the Dashboard doing in #2 and #3 and can I not edit some files manually/programmatically to accomplish the same? Hope that makes sense. Thanks again! On Thursday, April 11, 2013 7:51:35 PM UTC-5, Ryan Coleman wrote:> > > On Thu, Apr 11, 2013 at 5:44 PM, <mysql...@gmail.com <javascript:>> wrote: > >> Question: Do you think another option would be to modify the same file(s) >> that Console/Dashboard is modifying? That way, I am in sync for users who >> do want to use the cool features of the Dashboard? > > > How do you mean? What files? >-- 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.
Ryan Coleman
2013-Apr-18 17:41 UTC
Re: [Puppet Users] Deploying Modules on Windows Node without using Dashboard (Puppet Enterprise Console)
Hi. I apologize for my delay. I missed your reply. On Thu, Apr 11, 2013 at 6:20 PM, <mysql.linux@gmail.com> wrote:> Let me explain what I did: > - 1. Installed 3 new Modules on the Puppet Master > - 2. Went to the Dashboard, Added the new Classes > - 3. In the Dashboard, also Edited the Node to add the new Classes to it > - 4. The Agents on the Node to which the classes were assigned picked up > the new modules and installed the applications. > > So, the above was good and worked as expected. > > My question is: > - Shouldn''t I be able to use an API like "puppet ....." to do the same as > above? > - If I cannot do it via an API, then what is the Dashboard doing in #2 and > #3 and can I not edit some files manually/programmatically to accomplish > the same? >The Dashboard behaves as an external node classifier to Puppet. You can read about that concept here: http://docs.puppetlabs.com/guides/external_nodes.html It does come with various rake tasks for programmatically manipulating your classification data. You can read about those tasks here: http://docs.puppetlabs.com/pe/latest/console_classes_groups.html#rake-api If you''re using Puppet Enterprise, the path will be different but I don''t have it off-hand. I think you can use find in /usr for dashboard.> > Hope that makes sense. > > Thanks again! >-- Ryan Coleman | Modules & Forge | @ryanycoleman | ryancoleman in #puppet -- 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.