Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding generic arg hash for socket conf #107

Merged
merged 1 commit into from
Jan 27, 2017

Conversation

BarthV
Copy link
Contributor

@BarthV BarthV commented May 5, 2015

Ohai !

Currently there's no other way to pass more attributes to haproxy socket conf.
So I made a little change to use a more generic way to put args in socket line.

Now we are able to set :

default['haproxy']['stats_socket']['level'] = 'admin'

or any other attribute available at http://cbonte.github.io/haproxy-dconv/configuration-1.5.html#9.2

and then get this in our conf :

  stats socket /var/run/haproxy.sock user haproxy group haproxy level admin

@rshade rshade changed the base branch from develop to master January 26, 2017 00:35
@rshade
Copy link
Contributor

rshade commented Jan 26, 2017

can you refactor against the latest config?

@rshade rshade changed the base branch from master to dev_2 January 27, 2017 21:05
@rshade rshade merged commit 0f5a3af into sous-chefs:dev_2 Jan 27, 2017
rshade added a commit that referenced this pull request Jan 30, 2017
adding in pull-request [#102][], and [#107][]
@lock
Copy link

lock bot commented Jun 14, 2018

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@lock lock bot locked as resolved and limited conversation to collaborators Jun 14, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants