summaryrefslogtreecommitdiff
path: root/spec
AgeCommit message (Collapse)Author
2012-11-20Update spec testsHunter Haugen
2012-11-06Listen on multiple virtual IP addressesEugene Kirpichov
2012-10-12No need to manually set orderingHunter Haugen
2012-10-12Update the haproxy::balancermember for multiple portsHunter Haugen
Also, parameter changes: - `balancer_port` to `ports` - `server_name` to `server_names` - `balancer_ip` to `ipaddresses` - `balancermember_options` to `options`
2012-10-12Update ports to also accept a ,-separated stringHunter Haugen
2012-10-12Rename everything!Hunter Haugen
What is renamed: - Class/define: - haproxy::config to haproxy::listen - haproxy::data to haproxy::params - Parameters: - haproxy::listen listen_ip to ipaddress - haproxy::listen config_options to options - haproxy haproxy_global_options to global_options - haproxy haproxy_defaults_options to defaults_options
2012-10-10Change `virtual_ip` to `listen_ip`Hunter Haugen
Because it's not really virtual.
2012-10-10Allow multiple ports to be passedHunter Haugen
haproxy supports a single port or port range, but also muliples of those. This commit changes the 'virtual_ip_port' parameter to 'ports' and updates the template to accept an array of ports
2012-10-10Add manage_service parameter for corosyncHunter Haugen
2012-10-10Merge pull request #4 from Mirantis/one-passDan Bode
Support for one-pass mode.
2012-09-05Support for one-pass mode.Eugene Kirpichov
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 $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-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 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-07Initial CommitGary Larizza