netmanagers / puppet-nginx

[UNMAINTAINED] Puppet Nginx module
http://www.example42.com
Other
37 stars 60 forks source link

Does not work with puppet future parser #78

Open Jmeyering opened 9 years ago

Jmeyering commented 9 years ago

==>: Error: Parameter source failed on File[nginx.dir]: Cannot use relative URLs '' at /tmp/vagrant-puppet/modules-125120cb8472e1db062180fc216d48d7/nginx/manifests/init.pp:414

leshiynyc commented 9 years ago

running into the same issue.

leshiynyc commented 8 years ago

I had to do something like tht to make it work. Add an empty directory to the files dir and you should be ok.

class { "nginx": template => "profile/nginx/nginx.conf.erb", source_dir => 'puppet:///modules/profile/nginx/empty/', source_dir_purge => false, }