Skip to content

Keep track of all your configuration files in a centralized place

Notifications You must be signed in to change notification settings

PedroSena/ConfigHistory

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ConfigHistory

Keep track all configuration files on git, with a centralized configuration.

Basically you setup the configuration_file(config_history.yaml) and this daemon will run periodically getting any changes and keeping them safe on a git repository, allowing you to restore them in the future if necessary and also compare what was changed

Install

You will need:

  • ruby 1.9+
  • git
  • rubygems (or rvm)

The install process is simple:

  1. Choose the directory where you want to install

  2. Clone this project:

git clone [email protected]:PedroSena/ConfigHistory.git
  1. Install the daemons gem:
gem install daemons
  1. Change config_history.yaml as you want. You can have as many sections as you nned (just make sure to put them under 'sections')

  2. Create a start-up script(this process changes according to your OS) that runs this command:

ruby INSTALL_DIR/ConfigHistory/config_history.rb start

Where INSTALL_DIR is the directory you choose previously.

Don't call this daemon from cron, the daemon will run periodically according to the number of minutes you setup on config_history.yaml (time_frame variable)

License

ConfigHistory is released under the MIT License.

About

Keep track of all your configuration files in a centralized place

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published