-
-
Notifications
You must be signed in to change notification settings - Fork 881
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
Multiple Location Problem #1221
Comments
is there anyone who can support? |
i got same issue before ,looks like "location => /XXX" should set same value as "nginx::resource::location { XXX", like: or like this nginx::resource::location { "example3": |
It is due to the same location name "test.example1.com" is used multiple times. Just change it as below, nginx::resource::location { "test.example1.com-example2": nginx::resource::location { "test.example1.com-example3": |
Hello there,
I have an nginx config file as below. The Config file also has multiple location settings. When I want to do this with Puppet I get a duplicate error. Am I doing something wrong? Or does puppet not support multiple locations?
I have many conf files for other domains.. Each has a lot of location definitions. I'm still investigating. But I did not find anyone else wanting to use it this way.
My production host conf;
Puppet nginx.pp conf;
## Versions:
Puppet:
Server;
[root@puppet-server]# yum list installed |grep puppet
puppet-agent.x86_64 5.5.1-1.el7 @puppet5
puppet5-release.noarch 5.0.0-1.el7 installed
puppetlabs-release.noarch 22.0-2 installed
puppetlabs-release-pc1.noarch 1.1.0-5.el7 installed
puppetserver.noarch 5.3.1-1.el7 @puppet5
ruby-shadow.x86_64 1:2.2.0-2.el7 @puppetlabs-deps
Agent;
[root@nginx-server]# puppet --version
5.5.1
OS: CentOS Linux release 7.4.1708 (Core)
Module version: 0.12.0
My Output log
The text was updated successfully, but these errors were encountered: