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

Unable to include module's #1112

Closed
iyappan-dcis opened this issue Aug 22, 2017 · 4 comments
Closed

Unable to include module's #1112

iyappan-dcis opened this issue Aug 22, 2017 · 4 comments

Comments

@iyappan-dcis
Copy link

Affected Puppet, Ruby, OS and module versions/distributions

  • Puppet: 5
  • Ruby:
  • Distribution: Centos 7
  • Module version: v0.7.0

How to reproduce (e.g Puppet code you use)

What are you seeing

How do I include module nginx-module-geoip in nginx configuration

What behaviour did you expect instead

I want the below line to be included in nginx.conf
load_module modules/ngx_http_geoip_module.so;

Output log

Any additional information you'd like to impart

@ghost
Copy link

ghost commented Aug 22, 2017

Hi,
You can find a solution here:
#766

@iyappan-dcis
Copy link
Author

@Danielpo Thanks alot.

Also is there a way to include custom log format in nginx.conf ?

@wyardley
Copy link
Collaborator

wyardley commented Aug 24, 2017

@iyappan-dcis yes, custom logs can be setup.

Docs could be better, but basically it's a hash with the format name as the key and the format as the value. There's an example in
#678

@iyappan-dcis
Copy link
Author

@wyardley Thanks for your time. I will check this.

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