James Turnbull
2011-Aug-09 22:47 UTC
[Puppet Users] ANNOUNCE: Puppet Module Tool version 0.3.4
Hi all We''ve just released version 0.3.4 of the puppet-module tool used to create and retrieve modules from the Puppet Labs Forge (http://forge.puppetlabs.com). You can update using Ruby gems: $ gem install puppet-module There are several important changes in this release: * Add ability to install modules with hyphens * Add check for symlink when installing * Install modules to their name not "full name" * Add semantic version support The major functional difference is in how modules are installed, for example a module named: jamtur01-apache Will now be installed into your module path as: apache You can find the code and full commit logs at: https://github.com/puppetlabs/puppet-module-tool Regards James Turnbull -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
John Warburton
2011-Aug-10 01:01 UTC
Re: [Puppet Users] ANNOUNCE: Puppet Module Tool version 0.3.4
On 10 August 2011 08:47, James Turnbull <james@puppetlabs.com> wrote:> We''ve just released version 0.3.4 of the puppet-module tool used to > create and retrieve modules from the Puppet Labs Forge > (http://forge.puppetlabs.com). > > excellent> Will now be installed into your module path as: > > apache >No, actually it won''t install into your module path: "This archive is then automatically unpacked into a new directory under your current directory" -- unless you are in your module path So reading the section "Install a module release" it says "You can then add this *module directory* to your Puppet configuration files to use it". My mind went huh? Seems like I''m not the only one ( http://groups.google.com/group/puppet-users/browse_thread/thread/6ae174f50e5f7364 ) After 20 minutes of googling and Mr Google telling me there was a section on the forge in Chapter 8 of Pro Puppet, I read the examples and worked out that I need to install into modulepath as set in my puppetmaster config file modulepath seems to be the key text missing in the instructions & examples. It may be obvious for people who have been doing this, but first timers, its not quite there. So, if I was doing this, I''d have something like: [environment] modulepath = /path/to/environment/modules:/path/to/forge/modules $ cd /path/to/forge/modules $ puppet-module install puppetlabs-lvm [BTW this doesn''t sit too well with me - seems to manual. I may end up creating an RPM/pkg for each module to install...] Hope this helps someone out there John -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
Scott Smith
2011-Aug-10 01:24 UTC
Re: [Puppet Users] ANNOUNCE: Puppet Module Tool version 0.3.4
How will it know which directory in your modulepath to install it? On Aug 9, 2011 6:02 PM, "John Warburton" <jwarburton@gmail.com> wrote:> On 10 August 2011 08:47, James Turnbull <james@puppetlabs.com> wrote: > >> We''ve just released version 0.3.4 of the puppet-module tool used to >> create and retrieve modules from the Puppet Labs Forge >> (http://forge.puppetlabs.com). >> >> excellent > > >> Will now be installed into your module path as: >> >> apache >> > > No, actually it won''t install into your module path: "This archive is then > automatically unpacked into a new directory under your current directory"--> unless you are in your module path > > So reading the section "Install a module release" it says "You can thenadd> this *module directory* to your Puppet configuration files to use it". My > mind went huh? Seems like I''m not the only one ( >http://groups.google.com/group/puppet-users/browse_thread/thread/6ae174f50e5f7364> ) > > After 20 minutes of googling and Mr Google telling me there was a sectionon> the forge in Chapter 8 of Pro Puppet, I read the examples and worked out > that I need to install into modulepath as set in my puppetmaster configfile> > modulepath seems to be the key text missing in the instructions &examples.> It may be obvious for people who have been doing this, but first timers,its> not quite there. > > So, if I was doing this, I''d have something like: > > [environment] > modulepath = /path/to/environment/modules:/path/to/forge/modules > > $ cd /path/to/forge/modules > $ puppet-module install puppetlabs-lvm > > [BTW this doesn''t sit too well with me - seems to manual. I may end up > creating an RPM/pkg for each module to install...] > > Hope this helps someone out there > > John > > -- > You received this message because you are subscribed to the Google Groups"Puppet Users" group.> To post to this group, send email to puppet-users@googlegroups.com. > To unsubscribe from this group, send email topuppet-users+unsubscribe@googlegroups.com.> For more options, visit this group athttp://groups.google.com/group/puppet-users?hl=en.>-- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
John Warburton
2011-Aug-10 01:35 UTC
Re: [Puppet Users] ANNOUNCE: Puppet Module Tool version 0.3.4
On 10 August 2011 11:24, Scott Smith <scott@ohlol.net> wrote:> How will it know which directory in your modulepath to install it? >That''s the point. You need to explicitly cd to the correct modulepath directory first. Per my example at the bottom $ cd /path/to/forge/modules $ puppet-module install puppetlabs-lvm John -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
Scott Smith
2011-Aug-10 19:13 UTC
Re: [Puppet Users] ANNOUNCE: Puppet Module Tool version 0.3.4
I don''t see any statement claiming that it''ll automagically get put into the right place. On Tue, Aug 9, 2011 at 6:35 PM, John Warburton <jwarburton@gmail.com> wrote:> > On 10 August 2011 11:24, Scott Smith <scott@ohlol.net> wrote: > >> How will it know which directory in your modulepath to install it? >> > That''s the point. You need to explicitly cd to the correct modulepath > directory first. Per my example at the bottom > > > $ cd /path/to/forge/modules > $ puppet-module install puppetlabs-lvm > > John > > -- > You received this message because you are subscribed to the Google Groups > "Puppet Users" group. > To post to this group, send email to puppet-users@googlegroups.com. > To unsubscribe from this group, send email to > puppet-users+unsubscribe@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/puppet-users?hl=en. >-- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
Ken Barber
2011-Aug-10 19:23 UTC
Re: [Puppet Users] ANNOUNCE: Puppet Module Tool version 0.3.4
Hi Scott, I think its fair enough thing to expect it to do something like this ... Incidentally, there is already a feature request for this: http://projects.puppetlabs.com/issues/3789 Do you want to watch/vote for it ...? Or you can always provide a patch ... we won''t complain :-). ken. On Wed, Aug 10, 2011 at 8:13 PM, Scott Smith <scott@ohlol.net> wrote:> I don''t see any statement claiming that it''ll automagically get put into the > right place. > > On Tue, Aug 9, 2011 at 6:35 PM, John Warburton <jwarburton@gmail.com> wrote: >> >> On 10 August 2011 11:24, Scott Smith <scott@ohlol.net> wrote: >>> >>> How will it know which directory in your modulepath to install it? >> >> That''s the point. You need to explicitly cd to the correct modulepath >> directory first. Per my example at the bottom >> >> $ cd /path/to/forge/modules >> $ puppet-module install puppetlabs-lvm >> >> John >> >> -- >> You received this message because you are subscribed to the Google Groups >> "Puppet Users" group. >> To post to this group, send email to puppet-users@googlegroups.com. >> To unsubscribe from this group, send email to >> puppet-users+unsubscribe@googlegroups.com. >> For more options, visit this group at >> http://groups.google.com/group/puppet-users?hl=en. > > -- > You received this message because you are subscribed to the Google Groups > "Puppet Users" group. > To post to this group, send email to puppet-users@googlegroups.com. > To unsubscribe from this group, send email to > puppet-users+unsubscribe@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/puppet-users?hl=en. >-- "Join us for PuppetConf, September 22nd and 23rd in Portland, OR: http://bit.ly/puppetconfsig" -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
Reading the documentation so far, it looks like it has the option to query a different repository other than forge. The question I have is if we have modules that we need to host internally how can we serve them up to be searchable by PMT? On Tuesday, August 9, 2011 6:47:59 PM UTC-4, James Turnbull wrote:> > Hi all > > We''ve just released version 0.3.4 of the puppet-module tool used to > create and retrieve modules from the Puppet Labs Forge > (http://forge.puppetlabs.com). > > You can update using Ruby gems: > > $ gem install puppet-module > > There are several important changes in this release: > > * Add ability to install modules with hyphens > * Add check for symlink when installing > * Install modules to their name not "full name" > * Add semantic version support > > The major functional difference is in how modules are installed, for > example a module named: > > jamtur01-apache > > Will now be installed into your module path as: > > apache > > You can find the code and full commit logs at: > > https://github.com/puppetlabs/puppet-module-tool > > Regards > > James Turnbull > >-- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To view this discussion on the web visit https://groups.google.com/d/msg/puppet-users/-/nMXLUbPYvfgJ. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
Nigel Kersten
2012-May-11 16:52 UTC
Re: [Puppet Users] Re: ANNOUNCE: Puppet Module Tool version 0.3.4
On Thu, May 10, 2012 at 8:27 PM, Matt <mjblack@gmail.com> wrote:> Reading the documentation so far, it looks like it has the option to query > a different repository other than forge. The question I have is if we have > modules that we need to host internally how can we serve them up to be > searchable by PMT?This isn''t really something we''ve made easy for you yet Matt, but we are definitely working in this area. We want to stabilize the Forge APIs so that we can publish them and make a public API we support so people can have services that operate as a module repository. We''re also looking at making it so that you can reference git URIs for modules, which is probably a simpler option for many people and a more natural workflow fit. Where was the documentation that you ran across Matt? It looks like we''ve leaked out something we were using for internal development when testing changes to the Forge itself.> > > On Tuesday, August 9, 2011 6:47:59 PM UTC-4, James Turnbull wrote: >> >> Hi all >> >> We''ve just released version 0.3.4 of the puppet-module tool used to >> create and retrieve modules from the Puppet Labs Forge >> (http://forge.puppetlabs.com). >> >> You can update using Ruby gems: >> >> $ gem install puppet-module >> >> There are several important changes in this release: >> >> * Add ability to install modules with hyphens >> * Add check for symlink when installing >> * Install modules to their name not "full name" >> * Add semantic version support >> >> The major functional difference is in how modules are installed, for >> example a module named: >> >> jamtur01-apache >> >> Will now be installed into your module path as: >> >> apache >> >> You can find the code and full commit logs at: >> >> https://github.com/puppetlabs/**puppet-module-tool<https://github.com/puppetlabs/puppet-module-tool> >> >> Regards >> >> James Turnbull >> >> -- > You received this message because you are subscribed to the Google Groups > "Puppet Users" group. > To view this discussion on the web visit > https://groups.google.com/d/msg/puppet-users/-/nMXLUbPYvfgJ. > To post to this group, send email to puppet-users@googlegroups.com. > To unsubscribe from this group, send email to > puppet-users+unsubscribe@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/puppet-users?hl=en. >-- Nigel Kersten | http://puppetlabs.com | @nigelkersten Schedule Meetings at: http://tungle.me/nigelkersten -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
Nigel Kersten
2012-May-11 16:56 UTC
Re: [Puppet Users] Re: ANNOUNCE: Puppet Module Tool version 0.3.4
(removed puppet-announce to try and head off more people compounding my error) On Fri, May 11, 2012 at 9:52 AM, Nigel Kersten <nigel@puppetlabs.com> wrote:> > > On Thu, May 10, 2012 at 8:27 PM, Matt <mjblack@gmail.com> wrote: > >> Reading the documentation so far, it looks like it has the option to >> query a different repository other than forge. The question I have is if we >> have modules that we need to host internally how can we serve them up to be >> searchable by PMT? > > > This isn''t really something we''ve made easy for you yet Matt, but we are > definitely working in this area. > > We want to stabilize the Forge APIs so that we can publish them and make a > public API we support so people can have services that operate as a module > repository. > > We''re also looking at making it so that you can reference git URIs for > modules, which is probably a simpler option for many people and a more > natural workflow fit. > > Where was the documentation that you ran across Matt? It looks like we''ve > leaked out something we were using for internal development when testing > changes to the Forge itself. > > > > >> >> >> On Tuesday, August 9, 2011 6:47:59 PM UTC-4, James Turnbull wrote: >>> >>> Hi all >>> >>> We''ve just released version 0.3.4 of the puppet-module tool used to >>> create and retrieve modules from the Puppet Labs Forge >>> (http://forge.puppetlabs.com). >>> >>> You can update using Ruby gems: >>> >>> $ gem install puppet-module >>> >>> There are several important changes in this release: >>> >>> * Add ability to install modules with hyphens >>> * Add check for symlink when installing >>> * Install modules to their name not "full name" >>> * Add semantic version support >>> >>> The major functional difference is in how modules are installed, for >>> example a module named: >>> >>> jamtur01-apache >>> >>> Will now be installed into your module path as: >>> >>> apache >>> >>> You can find the code and full commit logs at: >>> >>> https://github.com/puppetlabs/**puppet-module-tool<https://github.com/puppetlabs/puppet-module-tool> >>> >>> Regards >>> >>> James Turnbull >>> >>> -- >> You received this message because you are subscribed to the Google Groups >> "Puppet Users" group. >> To view this discussion on the web visit >> https://groups.google.com/d/msg/puppet-users/-/nMXLUbPYvfgJ. >> To post to this group, send email to puppet-users@googlegroups.com. >> To unsubscribe from this group, send email to >> puppet-users+unsubscribe@googlegroups.com. >> For more options, visit this group at >> http://groups.google.com/group/puppet-users?hl=en. >> > > > > -- > Nigel Kersten | http://puppetlabs.com | @nigelkersten > Schedule Meetings at: http://tungle.me/nigelkersten > >-- Nigel Kersten | http://puppetlabs.com | @nigelkersten Schedule Meetings at: http://tungle.me/nigelkersten -- You received this message because you are subscribed to the Google Groups "Puppet Developers" group. To post to this group, send email to puppet-dev@googlegroups.com. To unsubscribe from this group, send email to puppet-dev+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-dev?hl=en.