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

Custom resource with master #188

Merged
merged 29 commits into from
Apr 18, 2017
Merged

Conversation

rshade
Copy link
Contributor

@rshade rshade commented Apr 18, 2017

Description

[Describe what this change achieves]

Issues Resolved

[List any existing issues this PR resolves]

Contribution Check List

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

Don Luchini and others added 27 commits February 8, 2017 14:36
Allow server startup from app_lb recipe.
chef_version requires Chef >= 12.6.0.
Signed-off-by: Tim Smith <tsmith@chef.io>
Signed-off-by: Tim Smith <tsmith@chef.io>
Signed-off-by: Tim Smith <tsmith@chef.io>
Signed-off-by: Tim Smith <tsmith@chef.io>
Signed-off-by: Tim Smith <tsmith@chef.io>
Signed-off-by: Tim Smith <tsmith@chef.io>
* adding provisioner erorr for Chef-13
* Use parameters instead of reserved word, params
* Update cookbook for Chef-13 (Closes #175)
Multiple addresses and ports on listener and frontend
* updating to use bats/serverspec

* setting verifier path
* 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

* fixing source path
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.
@damacus damacus changed the title Custom resource wit master Custom resource with master Apr 18, 2017
@rshade rshade merged commit fc1b439 into custom_resource Apr 18, 2017
@rshade rshade deleted the custom_resource_wit_master branch April 18, 2017 21:13
@rshade rshade restored the custom_resource_wit_master branch April 18, 2017 21:18
damacus pushed a commit that referenced this pull request Apr 18, 2017
* adding global attributes, removing them from attributes/default.rb, and updating package_name/version in haproxy.rb

* adding debug_option in place of quiet, and adding enable_stats_socket

* adding in default properties

* moving source install to resource for consistency

* Reorder/tidy up metadata
Remove rubocop yaml file

* Make sure we have Chef 13 compatibility

* Remove old tests that are now invalid (bats, serverspec etc)

* Move node attributes to properties

* Move attributes to properties

* Switch to delivery, ignore FC016

* Move the test cookbook to appease chefSpec

* Add a few tests

* Spell integration correctly, update test platforms,

* Make make make it work

* Fix prefix for debians lazy path

* Add global config

* Restart the correct services

* Add default and global configs & installs correctly

Add example configs
Some integration specs for configs
Add further stubbed out, frontend, backend, listener configs.
Getting edit resource to bend to my will a bit further :)

* Add frontend

* only populate arrays/hashes if there are values to be added

* Update gemfile, remove things we don't use anymore

* Apply integration tests correctly.

* Add listen section

* Remove 12.04 (EOL on the 28th of April)

* edit_resource to stop resource cloning

* Original template should do nothing
No tuning on by default

* Chef 12.5 compatability.

* haproxy --> haproxy_install custom resource
* Move unit files and remove matchers.rb
* Tidy up test files

* Docker --> dokken

* put service definition in root context and outside source/package block

* Remove foodcritic warnings now @tas50 has fixed foodcritic

* Tidy up dokken config, remove foodcritic file, use simple spec test

* Tidy up travis.yml

*  replace tabs with spaces and fix broken tests

* Fix ERB template

* Remove rsyslog

* define acls before use_backend in config

* Custom resource with master (#188)

* 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

* Test with Delivery local

* Update Kitchen config and remove 12.04 testing

* Fix contributing doc typo

* Cookstyle fix

* Update kitchen config

* Chef 13 compatability (#176)

* 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.

* Closes #151, #111,
* Closes #159 ACLs are a Hash/Array inside a backends & frontends
* Closes #148 we no longer use Chef Search.
* Closes #58 as we have a clean way of defining backends.
@damacus damacus deleted the custom_resource_wit_master branch April 19, 2017 10:37
@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.

6 participants