Document the gitlab way we use chef
1 unresolved thread
1 unresolved thread
This is the start of the documentation mentioned in https://gitlab.com/gitlab-com/infrastructure/issues/1659 and merging it will close it.
Merge request reports
Activity
@gl-infra feel free to comment.
@northrup @pcarranza @omame @ahanselka @rspeicher I wrote down some basics, please fill in the blanks or if there are points to refactor, lets talk...
- Resolved by Jason Tevnan
- Resolved by Jason Tevnan
- Resolved by Jason Tevnan
- Resolved by Jason Tevnan
- Resolved by Jason Tevnan
- Resolved by Jason Tevnan
- Resolved by Jason Tevnan
- Resolved by Jason Tevnan
- Resolved by Jason Tevnan
52 53 ``` 54 redisio_install "redis-installation" do 55 version '2.6.9' 56 download_url 'http://redis.googlecode.com/files/redis-2.6.9.tar.gz' 57 safe_install false 58 install_dir '/usr/local/' 59 end 60 ``` 61 By calling the LWRP we are agnostic to changes in the cookbook background, in the same way we access all chef resources. It does mean we need a wrapping recipe. 62 63 ##### Attributes and includes 64 Cookbooks can rely on all configuration to be available via attributes on a node, allowing all configuration to be done via that route. 65 Example: 66 [REDISIO cookbook with attributes and includes](https://github.com/brianbianco/redisio#role-file-examples) 67 ``` - Resolved by Jason Tevnan
- Resolved by Jason Tevnan
- Resolved by Jason Tevnan
- Resolved by Jason Tevnan
- Resolved by Jason Tevnan
- Resolved by Jason Tevnan
- Resolved by Jason Tevnan
- Resolved by Jason Tevnan
- Resolved by Jason Tevnan
- Resolved by Jason Tevnan
- Resolved by Jason Tevnan
- Resolved by Jason Tevnan
- Resolved by Jason Tevnan
- Resolved by username-removed-274314
added 3 commits
-
f0a22d88 - 1 commit from branch
master
- de2505ef - Merge branch 'master' into document-the-gitlab-way-we-use-chef
- 1b41fda2 - made the changes @rspeicher and @pcarranza mentioned.
-
f0a22d88 - 1 commit from branch
added 1 commit
- 55c26b2a - corrected formating and changed json to ruby
- Resolved by Jason Tevnan
- Resolved by Jason Tevnan
- Resolved by Jason Tevnan
- Resolved by Jason Tevnan
added 2 commits
added 2 commits
assigned to @pcarranza
@pcarranza I added all the comments which have come in the past day. Merge away
added 10 commits
-
d6099eac...ff598650 - 2 commits from branch
master
- 1b7da4ad - current best practice is actually tips
- 0471c07d - still brainstorming
- 2f58a4fd - First draft
- 4f48371f - made the changes @rspeicher and @pcarranza mentioned.
- 7de98fdf - corrected formating and changed json to ruby
- ba0a6fd9 - Made some changes which @eReGeBe, hopefully clarifying changes
- 23a579e3 - added suggestions and clarified 'bacon' reference
- 808dfe2a - added a guard example
Toggle commit list-
d6099eac...ff598650 - 2 commits from branch
Please register or sign in to reply