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

Clean up arrow alignement and add a default case to params.pp #62

Merged
merged 1 commit into from
Nov 20, 2014

Conversation

krionux
Copy link
Contributor

@krionux krionux commented Nov 20, 2014

Clean up arrow alignement and add a default case to params.pp in order to comply with puppet-lint

nibalizer added a commit that referenced this pull request Nov 20, 2014
Clean up arrow alignement and add a default case to params.pp
@nibalizer nibalizer merged commit cbc7700 into voxpupuli:master Nov 20, 2014
@nibalizer
Copy link
Member

Thanks!

@@ -15,6 +15,7 @@
$apache_confd = '/etc/httpd/conf.d'
$apache_service = 'httpd'
}
default: { fail("The ${::osfamily} operating system is not supported with the puppetboard module") }
Copy link
Contributor

Choose a reason for hiding this comment

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

is that really necessary?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Copy link
Contributor

Choose a reason for hiding this comment

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

i'd rather make RedHat's the default case, since it has quite common naming/placing, and remove the fail statement.

but that's my personal preference/opinion.

Copy link
Member

Choose a reason for hiding this comment

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

This is the correct move. If we can't identify an osfamily we should bail instead of assuming.

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