HAproxy configutation management
HAproxy setup and configuration management. SELinux support via eyp-selinux
- A list of files, packages, services, or operations that the module will alter, impact, or execute on the system it's installed on.
- This is a great place to stick any warnings.
- Can be in list or paragraph form.
This module requires pluginsync enabled
Basic setup with stats listening to :2222 and a balancer listening to :3333:
class { 'haproxy': }
haproxy::stats { ':2222':
}
haproxy::balancer { 'demo':
listen => ':3333'
}
haproxy::balancer::server { 'demo1':
balancer_name => 'demo',
server_address => '127.0.0.1:2222',
}
haproxy::balancer::server { 'demo2':
balancer_name => 'demo',
server_address => '127.0.0.1:2222',
}
Put the classes, types, and resources for customizing, configuring, and doing the fancy stuff with your module here.
Here, list the classes, types, providers, facts, etc contained in your module. This section should include all of the under-the-hood workings of your module so people know what the module is touching on their system but don't need to mess with things. (We are working on automating this section!)
This is where you list OS compatibility, version compatibility, etc.
We are pushing to have acceptance testing in place, so any new feature should have some test to check both presence and absence of any feature
TODO list
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Added some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request