Tim
2011-Jan-25 16:52 UTC
[Puppet Users] correct procedure for installing modules from http://forge.puppetlabs.com
I am trying to use a module from puppet forge and I don''t understand the instructions at https://github.com/puppetlabs/puppet-module-tool "Install a module release" . What is meant by the sentence "you can then add this module directory to your Puppet configuration files to use it.". I am just using the "ghoneycutt-ssh" module as an example. My module path is modulepath = /home/hughest/.puppet/modules:/usr/share/puppet/ modules so i changed directory to the local users modules directory and installed the module there and attempted to tun its test which fails cd /home/hughest/.puppet/modules puppet-module install ghoneycutt-ssh puppet --noop /home/hughest/.puppet/modules/ghoneycutt-ssh/tests/ init.pp This causes the following error Could not find class ssh at /home/hughest/.puppet/modules/ ghoneycutt-ssh/tests/init.pp:1 on node nitrogen If i then rename the module directory to ''ssh'' from ''ghoneycutt-ssh'' the test works correctly mv /home/hughest/.puppet/modules/ghoneycutt-ssh /home/ hughest/.puppet/modules/ssh puppet --noop /home/hughest/.puppet/modules/ssh/tests/init.pp Is this then the correct procedure for installing modules or am I missing something. The documentation in puppet-module seems to imply that renaming the module directory is the wrong thing to do and I should just be changing some config somewhere. -- 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.