You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Your location block is only a sub-entry underneath a vhost resource. In order for this to work, you'll need to add a nginx::resource::vhost entry called website.
I'm not using hiera and assume I am just doing something dumb. When I try to define a location with a vhost using the example you provide in the source, I get Error: Duplicate declaration: Concat::Fragment[c62cb06b56eddd8406856003a7c140f9] is already declared in file /etc/puppet/modules/nginx/manifests/resource/location.pp:359; cannot redeclare at /etc/puppet/modules/nginx/manifests/resource/location.pp:359
When I remove the vhost from the location block, I get
Error: Cannot create a location reference without attaching to a virtual host at /etc/puppet/modules/nginx/manifests/resource/location.pp:309 on node localhost.sheknows.local
I'm attempting to use this module inside a CentOS 6.5 Vagrantbox without a puppet master, and with the following in Vagrantfile
Here is the relevant portion of my default.pp
When running vagrant reload:
At first I figured I was just missing puppetlabs-stdlib or puppetlabs-concat, but after adding those the issue still occurs.
The text was updated successfully, but these errors were encountered: