puppet module generate skeleton not working on PE?

47 views
Skip to first unread message

Stephen Wallace

unread,
Feb 25, 2014, 9:57:49 AM2/25/14
to puppet...@googlegroups.com
Hi

I'm wondering if anybody has successfully managed to get any `puppet module generate` templates (e.g. https://github.com/garethr/puppet-module-skeleton) working on a Puppet Enterprise box?

I've tried both of the github skeleton modules on two different versions of PE, but not joy.

Seems straight forward enough, git clone the module, cd into the module directory, run the git command as per instructions, then run puppet module generate from the same dir.

[root@master puppet-module-skeleton]# find skeleton -type f | git checkout-index --stdin --force --prefix="$HOME/.puppet/var/puppet-module/" --

[root@master puppet-module-skeleton]# puppet module generate my-module

Notice: Generating module at /home/training/puppet-module-skeleton/my-module

my-module

my-module/Modulefile

my-module/README

my-module/manifests

my-module/manifests/init.pp

my-module/spec

my-module/spec/spec_helper.rb

my-module/tests

my-module/tests/init.pp

Under manifests dir above, I only see the regular init.pp. The skeleton templates contain params.pp, config.pp and service.pp.

Maybe it's a Puppet Opensource only thing? Maybe someone knows the code to hack to make it work in the PE framework?
--

Peter

unread,
Feb 25, 2014, 8:25:43 PM2/25/14
to puppet...@googlegroups.com
Hi,

I am not sure on the underlying reasons but this doesnt work under the root account. I ran into the same issue when I was playing with it on a dev box.

Peter

Stephen Wallace

unread,
Feb 26, 2014, 6:58:17 AM2/26/14
to puppet...@googlegroups.com
Peter,

When I ran the puppet module generate as non-root....it worked like a charm! Maybe some of the other talented people on this forum may have a clue as to why.

Thanks again.

Stephen

johan-OF

unread,
Feb 27, 2014, 9:28:41 AM2/27/14
to puppet...@googlegroups.com
Hi,

IMO, I think it is a good thing not to develop your modules under root account.

So for me this is more a feature than a problem.

Grts

Johan
--
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.
To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/237baac5-aa62-4388-bb84-f6b98798b300%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

-- 
Johan De Wit

Open Source Consultant

Red Hat Certified Engineer         (805008667232363)
Puppet Certified Professional 2013 (PCP0000006)
_________________________________________________________
 
Open-Future                 Phone     +32 (0)2/255 70 70
Zavelstraat 72              Fax       +32 (0)2/255 70 71
3071 KORTENBERG             Mobile    +32 (0)474/42 40 73
BELGIUM                     http://www.open-future.be
_________________________________________________________ 

Upcoming Events:

Zabbix Certified Training | http://www.open-future.be/zabbix-certified-training-10-till-12th-march

Zabbix for Large Environments Training | http://www.open-future.be/zabbix-large-environments-training-13-till-14th-march

Puppet Introduction Course | http://www.open-future.be/puppet-introduction-course-14th-april

Puppet Advanced Training | http://www.open-future.be/puppet-advanced-training-15-till-17th-april

Subscribe to our newsletter: http://eepurl.com/BUG8H


Reply all
Reply to author
Forward
0 new messages