chef / chef_backup

A library to backup an Chef server
Other
7 stars 15 forks source link

added chef-manage addon #21

Closed jeremymv2 closed 6 years ago

jeremymv2 commented 8 years ago

It looks like there was an omission of chef-manage after opscode-manage was renamed chef-manage. This PR adds the chef-manage addon and therefore allows chef-server-ctl restore .. command to run chef-manage-ctl reconfigure and chef-manage-ctl restart at the end of a restore. Without restarting chef-manage-ctl, users are not able to log in via the manage ui following a restore operation; they get this error because the manage services have not yet picked up the new pivotal key:

2016-08-26T21:12:03Z erchef@127.0.0.1 method=POST; path=/authenticate_user; status=401; req_id=g3IAA2QAEGVyY2hlZkAxMjcuMC4wLjECAAAjOwAAAAAAAAAA; msg=bad_sig; couchdb_groups=false; couchdb_organizations=false; couchdb_containers=false; couchdb_acls=false; 503_mode=false; couchdb_associations=false; couchdb_association_requests=false; req_time=13; rdbms_time=8; rdbms_count=1; user=pivotal; req_api_version=0;
jeremymv2 commented 8 years ago

@ryancragun Thoughts on this?

jeremymv2 commented 8 years ago

the spec.add_development_dependency 'listen', '~> 3.0.0' line is just to keep the build green, preventing bundler from installing the newest version which is 4.x and requires the latest ruby versions that we don't yet support in this project.