Hi Frans,

--modulepath should not specify the init.pp, but the path where all the
modules reside

>From the doc :

  *nix (open source)    $confdir/modules:/usr/share/puppet/modules

So in your case it would be --modulepath=/vagrant/data/puppet/modules.

Hope it helps,

--
Yanis Guenane

On 08/19/2014 12:34 PM, Frans Thamura wrote:
> hi all
> 
> i have a working puppet modules with init , run well on vagrant
> 
> now i want to run the modules inside my ubuntu box
> 
> and try puppet apply --modulepath=/vagrant/data/puppet/modules/ 
> manifest/init.pp
> 
> but got this error
> Warning: Could not retrieve fact fqdn
> Error: Failed to parse template 
> /vagrant/puppet/modules/tomcat/templates/tomcat-users.xml.erb:
>   Filepath: /usr/lib/ruby/vendor_ruby/puppet/parser/templatewrapper.rb
>   Line: 100
>   Detail: No such file or directory - 
> /vagrant/puppet/modules/tomcat/templates/tomcat-users.xml.erb
>  at /vagrant/data/puppet/modules/tomcat/manifests/init.pp:24 on node 
> vagrant-ubuntu-trusty-64
> 
> 
> can help me?
> 
> the puppet modele are in github.com/meruvian/vagrant-puppet
> 
> i want to make exactly apps installer in my ubuntu box, same as in vagrant 
> box
> 
> 
> F
> 

-- 
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/53F39010.7030305%40gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to