https://github.com/thedumbterminal/serversetup
Version your linux system configurations
https://github.com/thedumbterminal/serversetup
Last synced: 3 months ago
JSON representation
Version your linux system configurations
- Host: GitHub
- URL: https://github.com/thedumbterminal/serversetup
- Owner: thedumbterminal
- License: mit
- Created: 2015-11-18T22:14:14.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2015-11-29T09:04:11.000Z (almost 10 years ago)
- Last Synced: 2025-06-17T13:08:56.071Z (5 months ago)
- Language: Perl
- Size: 11.7 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# ServerSetup
[](https://travis-ci.org/thedumbterminal/ServerSetup)
Version your linux system configurations
## Install
See here for installation of cpanm, local::lib and Carton:
[System setup for modern perl projects](http://www.thedumbterminal.co.uk/posts/2015/02/system_setup_for_modern_perl_projects.html)
To install dependencies:
carton install
## Usage
### Storing config
1. First create a new directory to store the config.
1. In this new directory create a child directory which matches the output of `hostname --fqdn`.
1. Add any addtional directories inside the above to mirror any required directory layout for a system's which config is required to be stored.
1. Next copy any config files on the system to the mirrored directory structure.
### Checking config
Run the following command to compare a system's config against the stored config:
script/check_saved_config.pl
## Testing
prove