-
Notifications
You must be signed in to change notification settings - Fork 210
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
DO NOT MERGE: Habitize the Chef Server #1416
Closed
Closed
Changes from 1 commit
Commits
Show all changes
99 commits
Select commit
Hold shift + click to select a range
c2b14a4
Add Habitat plan to bookshelf
78fb7f6
:construction: WIP - Run erchef in Habitat :construction:
087adbe
fixups
jeremymv2 218708c
Add rabbitmq to erchef plan (this may be wrong)
markan 32c897b
First cut at oc_bifrost plan
markan 769fd98
conflict resolution
730af82
docker compose for oc_erchef and rabbitmq
jeremymv2 6d7f025
Use sql for bookshelf
markan 07d3bd5
Start wiring up erchef to talk to the other services
markan 8f5b70a
Almost working bifrost
c7a2180
Working bifrost, replicating most of the magic to bookshelf and erche…
5285a8f
Fix erchef database migrations
b3eec1b
Get rid of the bad ERL_EPMD_ADDRESS environment variable that just se…
a147b69
Presenting: an oc_erchef service that starts
f5b71cf
health check for oc_erchef
jeremymv2 613b654
Fix erchef health check by initializating elasticsearch
eac0d8d
working bookshelf and moved the docker-compose.yml to top level
jeremymv2 7ffcd5b
working depsolver in erchef
11d3825
health check for oc_bifrost
jeremymv2 4a6eb2b
removed pkg_svc_user=root requirement for oc_bifrost
jeremymv2 8ec4526
removed pkg_svc_user=root for oc_erchef
jeremymv2 a8fe524
removed pkg_svc_user=root for bookshelf
jeremymv2 766f618
Fix typo
markan 82865b5
Very tenative plan; need work for lua and the default.toml
markan b350060
More work for nginx config
markan d6f5b48
More fixes; things seem to start up, who knows if it works
markan dff11b6
nginx config and init fixes
e71cc91
wip for boostrapping the initial data
jeremymv2 6868303
bootstrap improvements - it is working at least but is mvp
jeremymv2 9fcfd3e
WIP improvements for nginx
markan 702df54
Add the openresty-lpeg plan and integrate it into chef-server-nginx
a04c9ba
Finish wiring up nginx and add a health_check
6960c17
Nginx config cleanup
6f99934
chef-server-ctl container and attempting better secrets mgmt
jeremymv2 def0380
Fix TOML and secrets walking/updating logic so now it stabilizes afte…
18baab6
WIP, maybe remove nginx changes
markan 9551c01
Get nginx lua stuff cleaned up, seems to be working ok
markan fb3231d
secrets mgmt gets a big boost - seeds initial values and injects back…
jeremymv2 768535e
chef-server-ctl pushes secrets to oc_erchef and all is well in the world
jeremymv2 cc9ef8d
Wire up bookshelf and bifrost to secrets the same as erchef. also mak…
55d5323
first stab at pedant
jeremymv2 ceaad0b
wip wip wip debugging nginx lua
jeremymv2 d858164
A few minor fixes
markan 2291c9e
QA testing revealed a number of config problems in oc_erchef init/rec…
4c549f6
Fix a typo from the last commit
e61663f
Fixes to get us a clean pedant run
1c83aff
working on getting chef server data bootstrapped correctly
jeremymv2 b423313
Fix SQL syntax so that updates work correctly
215232e
cleaner oc-chef-pedant installation. no longer git cloning.
jeremymv2 c02448d
WIP nginx cleanup
markan 6993da5
First hack at knife opc
markan d4dde6b
Rename knife-opc to knife-pivotal
markan cda8000
Fix bad root path
markan 0b65c9d
build our own dbdpg and update bookshelf, bifrost and erchef to use it
efc7e8d
openresty is now running as hab user instead of root
thomascate a05ebf9
hacky fix for pedant on docker
thomascate 9e8874f
Correct a few instances of tcate->chef-server and add a data volume f…
c73517a
Correct the path to the mime.types file and remove the unnecessary us…
d31ecc4
Update the pivotal config in the same way as the 'pedant' config
d735da2
fixes to get knife/pedant working within the container
thomascate a5dd445
WIP don't merge doesn't work
markan 7a220f2
minor fixes to get the bootstrap script executing without error
jeremymv2 6631437
WIP Fix bootstrap
markan f92975f
Pedant mostly passes now
markan 6a8d5dd
Remove cruft
markan c3eef0d
added dynamic versioning
jeremymv2 4aed862
Refactor nginx to use partials
markan ecf370d
Fixes from review comments
markan 126363f
minor modification to plan and template so nginx builds and starts
jeremymv2 96257a8
Fix spelling error (pedant)
markan c4c62a7
adding initial plan for oc-id
jeremymv2 212fbe6
deleted unecessary conf file
jeremymv2 cc36311
oc_id no longer needs to be run under root user
jeremymv2 2cc03f0
docker-compose host mode networking example
e0d1743
Secrets for private-chef-ctl
markan 29aa80f
Fixes for paths and keys
markan 52c45c3
Fixes for chef-server-ctl
markan 10e5b2c
Minor fixes for typos
markan ee68492
Review fixups
markan c0335a9
Database timezone
markan 2c825a5
Add missing hab secrets config for chef-server-ctl
markan c6a1db2
Cleanup chef-server-ctl
markan 700fdea
Explicitly specify openssl dependency to fix runtime PATH
a8bfceb
wire up the data_collector
jeremymv2 be52f28
fixed pkg_path for wrap-knife-opc.rb script
jeremymv2 bd797d5
make chef server api ip configurable for chef-server-ctl
jeremymv2 a1ed803
Refactor and fixup of erlang services so that they look similar.
markan e0bafc7
moved data_collector.token ownership to chef-server-ctl
jeremymv2 dc8ea16
adding actions_fqdn back into oc_chef_wm to fix missing config item e…
jeremymv2 8622082
Make port configurable for chef-server-ctl
markan f096749
Fix bad rendering of ports and data collector token
markan 461d921
no need to check if uid == 0 in chef-server-ctl, removing..
jeremymv2 b247712
Fix bad rendering of ports and data collector token
markan f6c9a12
fix for data-collector location not rendering
jeremymv2 a54a4ff
Fix to knife command
markan 92f13f8
Use common vendor dir for ruby, do misc cleanups, save 300MB (1.01GB-…
markan 852c447
Fix host headers in nginx (we were dropping the port)
markan cef4d35
[oc-chef-pedant] Normalize chef server uri
markan 0a869c0
chef-server-ctl binds to chef-server-nginx for dynamic host/port reso…
jeremymv2 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -24,7 +24,11 @@ pkg_upstream_url="https://github.com/chef/chef-server" | |
|
||
pkg_exposes=(port) | ||
pkg_exports=( | ||
[port]=oc_chef_wm.port | ||
[port]=oc_chef_wm.port | ||
[data_collector_enabled]=data_collector.enabled | ||
[data_collector_server]=data_collector.server | ||
[data_collector_port]=data_collector.port | ||
[data_collector_token]=data_collector.token | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. we need to figure how to just export the top level toml table key whenever I tried it would get:
|
||
) | ||
|
||
pkg_binds_optional=( | ||
|
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
:+100: