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

Customize logging destination #178

Merged
merged 12 commits into from
Mar 28, 2017
Merged

Customize logging destination #178

merged 12 commits into from
Mar 28, 2017

Conversation

erinn
Copy link
Contributor

@erinn erinn commented Mar 27, 2017

Description

This allows logging to be fully configurable.

Issues Resolved

None

Contribution Check List

  • All tests pass.
  • New functionality includes testing.
  • New functionality has been documented in the README if applicable

@damacus
Copy link
Member

damacus commented Mar 27, 2017

:shipit:

@damacus
Copy link
Member

damacus commented Mar 27, 2017

Thanks for the contribution!

We could do with a simple test to see if this puts the right config on disk please and we'll ship the cookbook as soon as that's done.

@erinn
Copy link
Contributor Author

erinn commented Mar 28, 2017

I would happily but honestly right now I don't really understand where to put the tests. Your dokken file references inspec but that doesn't seem to be used. you have serverspec and bats, and well honestly I am confused about how this all comes together.

@damacus
Copy link
Member

damacus commented Mar 28, 2017

No problem, if you jump onto the sous-chefs channel on the chef community slack (http://community-slack.chef.io/) we'll give you a hand understanding it. It might be time to add a testing.md for the dokken stuff. However regarding inspec and bats, that's another reason why we are doing the rewrite.

@damacus damacus self-requested a review March 28, 2017 10:03
Copy link
Member

@damacus damacus left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tests required.

Copy link
Member

@damacus damacus left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+100

@rshade rshade merged commit 4f247f2 into sous-chefs:master Mar 28, 2017
gmccue added a commit to ecosia/haproxy that referenced this pull request Apr 18, 2017
* upstream/master: (145 commits)
  readme update (sous-chefs#185)
  release update (sous-chefs#183)
  Fix bug introduced in sous-chefs#174 (sous-chefs#182)
  fixing changelog links (sous-chefs#181)
  updating for release, and fixing sudo (sous-chefs#180)
  Customize logging destination (sous-chefs#178)
  updating to use bats/serverspec (sous-chefs#179)
  Chef 13 (sous-chefs#176)
  Update kitchen config
  Cookstyle fix
  Fix contributing doc typo
  Update Kitchen config and remove 12.04 testing
  Test with Delivery local
  Add github templates
  Added capacity to understand multiple address and ports with array for 'bind' attribute of haproxy_lb resource
  chef_version requires Chef >= 12.6.0.
  Placeholder changelog.
  Allow server startup from app_lb recipe.
  adding the rest of the source
  adding source-ubuntu
  ...
rshade added a commit that referenced this pull request Apr 18, 2017
* Allow server startup from app_lb recipe.

* Placeholder changelog.

* chef_version requires Chef >= 12.6.0.

* Added capacity to understand multiple address and ports with array for 'bind' attribute of haproxy_lb resource

* Add github templates

Signed-off-by: Tim Smith <tsmith@chef.io>

* Test with Delivery local

Signed-off-by: Tim Smith <tsmith@chef.io>

* Update Kitchen config and remove 12.04 testing

Signed-off-by: Tim Smith <tsmith@chef.io>

* Fix contributing doc typo

Signed-off-by: Tim Smith <tsmith@chef.io>

* Cookstyle fix

Signed-off-by: Tim Smith <tsmith@chef.io>

* Update kitchen config

Signed-off-by: Tim Smith <tsmith@chef.io>

* Chef 13 (#176)

* adding provisioner erorr for Chef-13
* Use parameters instead of reserved word, params
* Update cookbook for Chef-13 (Closes #175)

* updating to use bats/serverspec (#179)

* updating to use bats/serverspec

* setting verifier path

* Customize logging destination (#178)

* Allow global logging to be customized

* Modify attributes

* Fixx attributes, again

* And again

* Fix rubocop error

* Add in serverspec testing

* Add in serverspec testing

* updating for release, and fixing sudo (#180)

* updating for release, and fixing sudo

* fixing source path

* fixing changelog links (#181)

* Fix bug introduced in #174 (#182)

This fixes a bug that was introduced in #174 which doesn't honor the fact if the
bind parameter is nil don't include any bind line. In our case, we put in the
bind keyword in the parameters parameter so this added two bind statements and
made haproxy unhappy.

It looks like this was a copypasta originally as this was included in the prior
code.

* release update (#183)

* readme update (#185)

* removing extras

* fixing extras

* adding in two more fixes
@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.

3 participants