Ugo Bellavance

Results 41 comments of Ugo Bellavance

It works for me. If I don't set the parameter, all logs go to `/var/log/nginx/` for each of my server blocks. If I set the `nginx::log_dir` value, all the access_log...

Here's what I originally had: ``` class profile::rpnginx { class { 'nginx': } } ``` I changed it to `include nginx` and a puppet run changes nothing. In both cases...

Yes, I set `nginx::log_dir:` in hiera. ``` # hiera -c /etc/puppet/hiera.yaml nginx::log_dir fqdn=server.example.com --debug DEBUG: 2017-02-23 08:12:46 -0500: Hiera YAML backend starting DEBUG: 2017-02-23 08:12:46 -0500: Looking up nginx::log_dir in...

You're setting log_dir in common.yaml? So all your servers have this parameter set?

Have you tried with the current master, just in case? Did you try running puppet apply with --debug just to make sure you didn't miss an error?

I don't know... I find hiera especially hard to troubleshoot. Can you give us more details? (Full hiera configs, full generated file example)

The configs in nginx.conf are different than servers'. Check my first comment in this issue.

I realized that there are many things that must be configured properly for hiera to work. Still looks like black magic for me. One thing that would help would be...

Also try something like this: `hiera -c /etc/puppet/hiera.yaml nginx::nginx_vhosts fqdn=server.domain.com --debug` and post the output.