hi, Could it be mixing multiple puppet versions ? Are you using the correct puppet ?? > /usr/local/bin/puppet --version
Looking at the module path suspect puppet version 4. (/etc/puppetlabs/code/...) PE puppet is /opt/puppet/bin/puppet grts On Tue, 2015-10-20 at 14:01 -0700, Brendan Kelley wrote: > I'm having the exact same problem, but whether I install the registry module > as myself and sudo or root, it makes no difference. The module still doesn't > appear in the web console when I try to add it to a class. > > It's > currently installed as: sudo /usr/local/bin/puppet module install > puppetlabs-registry --environment production > > It does show up in a directory listing, as well as a module list: > -bash-4.1$ sudo /usr/local/bin/puppet module list > /etc/puppetlabs/code/environments/production/modules > ├── helloworld (???) > ├── kelley-profiles (v0.1.0) > ├── kelley-roles (v0.1.0) > ├── opentable-download_file (v999.999.999) > ├── puppetlabs-inifile (v1.4.2) > ├── puppetlabs-ntp (v4.1.0) > ├── puppetlabs-powershell (v1.0.5) > ├── puppetlabs-registry (v1.1.2) > └── puppetlabs-stdlib (v4.9.0) > <extra data snipped> > > > Does anybody have any other ideas on this one? > > Thanks, > Brendan > > > On Wednesday, April 1, 2015 at 2:19:19 PM UTC-7, jas gag wrote:> > Hi Mark,> > > > > You need to run the puppet command as sudo. > > > > sudo /opt/puppetlabs/bin/puppet module install <module-name> > > > > doing so will install modules in the correct path. > > > > /etc/puppetlabs/puppet/> > environments/production/> > modules/ > > > > I am using RHEL 7 and I normally run the command: sudo su - before > > > > running puppet commands. That way I am running puppet as root and all > > > > of the modules show up in the webui. > > > > Disclamer: I am not a linux guy (yet), so I don't know for sure that > > > > my recommendations above are "best practices" > > > > Hope that helps. > > > > Jason> > > > On Tuesday, March 31, 2015 at 6:45:09 AM UTC-7, Mark S wrote:> > > Hi,> > > > > I've set up a monolithic install of PE to evaluate it for our organisation > > but am running into problems even following the Quick Start Guides. I'm > > trying to follow the Windows quick start guide and have successfully > > followed Step 2, searching for and installing the 'registry' module. > > However if you follow the guide to the letter using the command 'puppet > > module install puppetlabs-registry' it will install the module to > > ~/.puppet/modules instead of /etc/puppetlabs/puppet/> > > > > environments/production/> > > modules unless you use the '--environment > > production' parameter. > > > > > > Next when following Step 3 where you create a new node group and > > > > > > add a new class to it, I cannot see the new registry module in the > > > > > > class list. I can see the stdlib dependency there, just not > > > > > > registry. > > > > > > What am I doing wrong here? > > > > > > Thanks, > > > > > > Mark > > > > > > -- > > 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 [email protected]. > > To view this discussion on the web visit > https://groups.google.com/d/msgid/puppet-users/15340aa3-664b-4db4-9d45-02b788dbd853%40googlegroups.com. > > For more options, visit https://groups.google.com/d/optout. > -- Johan De Wit Open Source Consultant -- Open-Future Red Hat Certified Engineer (805008667232363) Puppet Certified Professional 2013/2014/2015 (PCP0000006) Puppet Certified Instructor blog : http://johan.koewacht.net/ gsm: +32 474 42 40 73 _________________________________________________________ Next Trainings: Puppet Architect | https://www.open-future.be/content/puppet-architect-training-0 Zabbix Certified Specialist | https://www.open-future.be/content/zabbix-certified-specialist-training-0 Zabbix Certified Professional | https://www.open-future.be/content/zabbix-certified-professional-training-0 Linux Training | https://www.open-future.be/content/linux-training-0 Puppet Practitioner Training | https://www.open-future.be/content/puppet-practitioner-training-0 Bacula Administrator Training | http://www.open-future.be/content/bacula-administrator-i-training-1 Subscribe to our newsletter | http://eepurl.com/BUG8H -- 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/1445415102.2690.12.camel%40open-future.be. For more options, visit https://groups.google.com/d/optout.
