Change nx_conf_dir to config::conf_dir
@@ -79,7 +79,7 @@ define nginx::resource::geo (
mode => '0644',
}
- file { "${nginx::params::nx_conf_dir}/conf.d/${name}-geo.conf":
+ file { "${nginx::config::conf_dir}/conf.d/${name}-geo.conf":
ensure => $ensure ? {
'absent' => absent,
default => 'file',
@@ -63,7 +63,7 @@ define nginx::resource::map (
- file { "${nginx::params::nx_conf_dir}/conf.d/${name}-map.conf":
+ file { "${nginx::config::conf_dir}/conf.d/${name}-map.conf":
@@ -27,6 +27,7 @@ describe 'nginx::resource::geo' do
let :pre_condition do
[
'include ::nginx::params',
+ 'include ::nginx::config',
]
end
@@ -27,6 +27,7 @@ describe 'nginx::resource::map' do