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

Rewrite with install/config/service classes, and correct parameter naming. #80

Merged
merged 3 commits into from Apr 28, 2014

Conversation

hunner
Copy link

@hunner hunner commented Apr 28, 2014

This class and parameter structure follows http://docs.puppetlabs.com/guides/module_guides/bgtm.html and allows the service to be managed independently from the package, as per #73

It also adds beaker-rspec tests.

Closes #73

In an active/passive scenario, as a user I'd like the
configuration to be set and the package to be installed
without the service being started.

The `if $enable` (l81) prevents this. Today, if one sets
`manage_service = true` and `enable = false`, it will result
in a catalog compilation issue, due to the `Concat[/etc/haproxy/haproxy.cfg']`
dependency on line 134 not being met.
This adds basic single node and multi node tests, and will run the
different tests depending on which nodeset is chosen. There is no
default nodeset yet.
apenney pushed a commit that referenced this pull request Apr 28, 2014
Rewrite with install/config/service classes, and correct parameter naming.
@apenney apenney merged commit ff713f8 into puppetlabs:master Apr 28, 2014
@hunner hunner deleted the do_conf_on_enable_false branch May 30, 2014 00:17
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

4 participants