How to use puppet modules on the forge on vagrant

41 views
Skip to first unread message

bko...@ucr.edu

unread,
Feb 24, 2014, 6:12:53 PM2/24/14
to puppet...@googlegroups.com
I am trying to use this module 
on vagrant but when I copy the manifests to the  puppet module path on vagrant I get this error

Could not find parent resource type 'ntp::params' of type hostclass in production at /tmp/vagrant-puppet-1/modules-0/ntp/manifests/init.pp:1 on node ubuntu

params.pp is in the manifest so I have no idea whats causing this error.

johan-OF

unread,
Feb 26, 2014, 1:23:52 AM2/26/14
to puppet...@googlegroups.com
it is always handy to show your command.

Assuming you did a a pupept apply, add the --modulepath to the command.

puppet apply --modulepath=/tmp/vagrant-puppet-1/modules-0/
/tmp/vagrant-puppet-1/modules-0/ntp/tests/init.pp

puppet knows now where to find the other classes.


HTH

grts

jo
> --
> 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/0e83ec59-58a9-4380-8cce-5b24becaa487%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
_________________________________________________________

Next 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 Intruction 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

David Schmitt

unread,
Feb 26, 2014, 1:43:54 AM2/26/14
to puppet...@googlegroups.com
Hi,

you can find a fully working project with vagrant in my github repo:

https://github.com/DavidS/dasz-configuration

There you can check how the Vagrantfile is configured and how the
filesystem layout looks like.

You'll see both puppet and puppet_server configured vagrants there.


Regards, David

James Stallings

unread,
Feb 26, 2014, 9:59:01 AM2/26/14
to puppet...@googlegroups.com
Reply all
Reply to author
Forward
0 new messages