summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2012-09-21Rename module to match github repoHunter Haugen
2012-09-21Merge pull request #5 from hunner/release_0.1.0Dan Bode
Release 0.1.0
2012-09-21Release 0.1.0Hunter Haugen
Changes: - Add debian support - Add puppetlabs_spec_helper tasks
2012-09-21Update module for PL info instead of GaryHunter Haugen
2012-09-05Support for one-pass mode.Eugene Kirpichov
2012-08-30Merge pull request #3 from hunner/add_debian_supportCody Herriges
Add debian support
2012-08-29Add a dependency to ENABLE=1 before starting the service on debianHunter Haugen
2012-08-29The directory resource for managing the chroot should be a variableHunter Haugen
2012-08-29/etc/default/haproxy applies to all Debian, not just UbuntuHunter Haugen
2012-08-29Log to $ipaddress by default on both platformsHunter Haugen
2012-08-29Update specs for haproxy base class with debian supportHunter Haugen
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.
2012-08-27Add Debian support.Dan Bode
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
2012-08-27Merge pull request #1 from hunner/add_spec_helperGary Larizza
Add spec helper
2012-08-27Add $concat_basedir custom fact variable for spec testsHunter Haugen
2012-08-27Remove git submodule fixtures in place of puppetlabs_spec_helper fixtures ↵Hunter Haugen
behaviour
2012-08-27Add puppetlabs_spec_helper gem codeHunter Haugen
2012-07-08Merge pull request #10 from rtyler/chicken-dinnerGary Larizza
Fixy faxy
2012-07-08Fix some, but by no means all, of puppet-lint's complainingR. Tyler Croy
2012-07-08Properly handle both Arrays and Strings passed as balancer member optionsR. Tyler Croy
The template cannot rely on deprecated functionality of the String class (`#each` which disappears in 1.9) Fixes #9
2012-07-08Add puppet-lint to the RakefileR. Tyler Croy
2012-07-08Merge pull request #8 from rtyler/chicken-dinnerGary Larizza
Tidy up the place
2012-07-08Add a Hacking section to the READMER. Tyler Croy
2012-07-08Rename the README for fancy GitHub formattingR. Tyler Croy
2012-07-08Add the puppet-concat module as a submodule for testsR. Tyler Croy
2012-05-09Commit spec tests for the haproxy moduleGary Larizza
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.
2012-05-09Use array in config class defaultGary Larizza
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).
2012-05-09Ensure hasrestart parameter with haproxy serviceGary Larizza
The haproxy service should have the hasrestart parameter defaulted to true. Previously, this was not the case. This commit establishes that.
2012-05-07Initial CommitGary Larizza