Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Does not work with puppet future parser #78

Open
Jmeyering opened this issue Jun 29, 2015 · 2 comments
Open

Does not work with puppet future parser #78

Jmeyering opened this issue Jun 29, 2015 · 2 comments

Comments

@Jmeyering
Copy link

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

@leshiynyc
Copy link

running into the same issue.

@leshiynyc
Copy link

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,
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants