Merge pull request #339 from janorn/small_fix_337
Change nx_conf_dir to config::conf_dir
This commit is contained in:
commit
74ec40739d
4 changed files with 4 additions and 2 deletions
|
@ -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 (
|
|||
mode => '0644',
|
||||
}
|
||||
|
||||
file { "${nginx::params::nx_conf_dir}/conf.d/${name}-map.conf":
|
||||
file { "${nginx::config::conf_dir}/conf.d/${name}-map.conf":
|
||||
ensure => $ensure ? {
|
||||
'absent' => absent,
|
||||
default => 'file',
|
||||
|
|
|
@ -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
|
|||
let :pre_condition do
|
||||
[
|
||||
'include ::nginx::params',
|
||||
'include ::nginx::config',
|
||||
]
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue