Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix nginx::params deprecation notice #252

Merged
merged 1 commit into from
Feb 10, 2014
Merged

Fix nginx::params deprecation notice #252

merged 1 commit into from
Feb 10, 2014

Conversation

createdbypete
Copy link
Contributor

When calling class { 'nginx': } from outside the nginx module and because nginx inherits from nginx::params it is triggering this statement incorrectly.

$caller_module_name is undefined when class { 'nginx': } is called in the global scope (i.e. within your site.pp) so this check for that first to avoid the false matches.

@jfryman
Copy link
Contributor

jfryman commented Feb 10, 2014

Nice. Much appreciated.

jfryman pushed a commit that referenced this pull request Feb 10, 2014
Fix nginx::params deprecation notice
@jfryman jfryman merged commit a2abc95 into voxpupuli:master Feb 10, 2014
@CpuID
Copy link

CpuID commented Mar 3, 2014

Still getting this deprecation notice here? Using class { '::nginx': stuff } - any likely issues?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants