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 invalid variable name in itk mod #362

Merged
merged 1 commit into from
Sep 24, 2013

Conversation

blkperl
Copy link
Contributor

@blkperl blkperl commented Sep 15, 2013

No description provided.

@@ -23,7 +23,7 @@

service { 'httpd':
ensure => $service_enable,
name => $apache::apache_name,
name => $apache::params::apache_name,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't know that this is actually a bug. It might be better to have package_name and service_name parameters for the base class that default to $apache::params::apache_name and have the service/package resource reference those.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

hmmm, well currently its bug though because the param doesn't exist in init.pp right? It's weird that the tests still pass though.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The root_group one above is a bug, but the apache_name is actually set in apache::params. Check out the package resource in init.pp.

@blkperl
Copy link
Contributor Author

blkperl commented Sep 24, 2013

@hunner updated.

hunner added a commit that referenced this pull request Sep 24, 2013
Fix invalid variable name in itk mod
@hunner hunner merged commit 4bdcfbf into puppetlabs:master Sep 24, 2013
@blkperl blkperl deleted the fix_invalid_attrs branch September 24, 2013 18:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants