Skip to content

Commit

Permalink
Merge pull request #252 from createdbypete/deprecation-notice
Browse files Browse the repository at this point in the history
Fix nginx::params deprecation notice
  • Loading branch information
James Fryman committed Feb 10, 2014
2 parents 26a856e + 4b807ac commit a2abc95
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion manifests/params.pp
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
# This class file is not called directly
class nginx::params {

if $caller_module_name != $module_name {
if $caller_module_name != undef and $caller_module_name != $module_name {
warning("${name} is deprecated as a public API of the ${module_name} module and should no longer be directly included in the manifest.")
}

Expand Down

0 comments on commit a2abc95

Please sign in to comment.