Skip to content

Commit

Permalink
Merge pull request #2339 from mdklapwijk-forks/patch-mod-security-uni…
Browse files Browse the repository at this point in the history
…que_id-naming

remove _module from apache::mod::unique_id name.
  • Loading branch information
david22swan authored Dec 5, 2022
2 parents 255b005 + 547cbd5 commit 1d2302d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion manifests/mod/security.pp
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@
lib => 'mod_security2.so',
}

::apache::mod { 'unique_id_module':
::apache::mod { 'unique_id':
id => 'unique_id_module',
lib => 'mod_unique_id.so',
}
Expand Down
4 changes: 2 additions & 2 deletions spec/classes/mod/security_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
)
}
it {
is_expected.to contain_apache__mod('unique_id_module').with(
is_expected.to contain_apache__mod('unique_id').with(
id: 'unique_id_module',
lib: 'mod_unique_id.so',
)
Expand Down Expand Up @@ -189,7 +189,7 @@
)
}
it {
is_expected.to contain_apache__mod('unique_id_module').with(
is_expected.to contain_apache__mod('unique_id').with(
id: 'unique_id_module',
lib: 'mod_unique_id.so',
)
Expand Down

0 comments on commit 1d2302d

Please sign in to comment.