chef / chef_backup

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

WIP do not merge - standalone binary #11

Closed pburkholder closed 3 months ago

pburkholder commented 9 years ago

Hi,

I started this with the idea that an end user could d/l the zip from GitHub, install, then run the backup binary for generating dumps on older Chef servers, either for migration to a new server, or for general backup purposes.

The binary works but I stopped during the documentation realizing that we can't really expect end-users to have the dev dependencies on a production machine, e.g. git, rubocop. I suggest we publish this as a gem to RubyGems so it can be downloaded and run. Thoughts?

-Peter

pburkholder commented 9 years ago

I replaced the 'chef' gem dependency with 'chef-config' and DeLeo's 'deep_merge', and changed the method calls accordingly. This makes it feasible to install on a node that has just /opt/opscode from chef-server install.

The dependency graph goes from this:

gem_graph

to this:

simple_graph

which seems like a lot of win.

sonarcloud[bot] commented 2 years ago

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 3 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication