Age | Commit message (Collapse) | Author |
|
|
|
Release 0.1.0
|
|
Changes:
- Add debian support
- Add puppetlabs_spec_helper tasks
|
|
|
|
|
|
Add debian support
|
|
|
|
|
|
|
|
|
|
Many of the tests that apply to the RedHat family also apply to Debian.
The tests have been updated to reflect this, as well as to capture the
minor differences between the two platforms.
This commit incorperates the changes from glarizza#7 and glarizza#12
Not all tests pass because I found it pertinent to update the spec
where the actual module code was lacking.
|
|
This pull requests performs the minimum amount of effort to add
Debian support.
Adds Debian defaults (which were made to be as similar as possible
to the Redhat defaults)
Adds two Debian specific resources to the haproxy class
- a defaults file to ensure the service is started
- creates the /var/lib/haproxy directory so that the
configuration can be as similar to Redhat as possible.y
|
|
Add spec helper
|
|
|
|
behaviour
|
|
|
|
Fixy faxy
|
|
|
|
The template cannot rely on deprecated functionality of the String class
(`#each` which disappears in 1.9)
Fixes #9
|
|
|
|
Tidy up the place
|
|
|
|
|
|
|
|
Previously, the haproxy module didn't provide rspec tests for the class
or defined resource types. This commit adds the tests, a spec_helper
file, and a rakefile so you can do `rake spec` and automatically run the
tests.
I've also committed a symlink in the
spec/fixtures/modules/haproxy directory so the rspec-puppet tests will
FIND the haproxy class/defined resource types, but I HAVE NOT committed
a symlink so that it will find the concat class (which is a dependency
for this module). If you choose to run the tests, you must symlink the
concat module in the spec/fixtures/modules directory before the spec
tests will pass.
|
|
Previously, I was using the option parameter twice in the default
setting for haproxy::config. This commit changes that to passing an
array to the option parameter (and fixes the example).
|
|
The haproxy service should have the hasrestart parameter defaulted to
true. Previously, this was not the case. This commit establishes that.
|
|
|