added http_get check
I did a very simple mod to your module to add http_get health check. Not a complete implementation, but enough for what I needed at this time.
virtual_server.pp: added "$http_get = undef," after tcp_check. lvs_virtual_server.erb: after TCP_CHECK section added:
<%- if @http_get -%>
HTTP_GET {
url {
path <%= http_get['url'] %>
status_code <%= http_get['status_code'] %>
}
}
<%- end -%>
usage: http_get => { url => '/test/test.jsp', status_code => '200'},
Maybe you could whip up a pull request? :+1: I could add it myself but I prefer to have the credits go to the right person.
If it's your first time this should get you up to speed.
This is working in a generic way using options. I don't think it makes sense to add separate parameters.