16 Nov 2012, 11:29
Generic-user-small

Stefano Lampis (3 posts)

Version: p1_0 Section: 3.3 Installing Apache with Puppet Page : 43

Just after I added the virtual host configuration to puppet apache2 module I got this error.

vagrant@app:/etc/puppet$ puppet apply --verbose manifests/site.pp 
/usr/local/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require': iconv will be deprecated in the future, use String#encode instead.
warning: Could not retrieve fact fqdn
Could not find class apache2 for app at /etc/puppet/manifests/site.pp:5 on node app
19 Nov 2012, 15:09
Generic-user-small

Stefano Lampis (3 posts)

solved adding this line

modulepath=/home/vagrant/.puppet/modules:/usr/share/puppet/modules:/etc/puppet/modules

to

/home/vagrant/.puppet/puppet.conf

  You must be logged in to comment