Lots of useful scripts to automate a lot of the work I do. These should really be rewritten to utilise some modern framework/stack like Chef or Puppet, but that's a future project.
Everything here is MIT licensed so feel free to reuse any way you see fit. If you come up with a new script based on what's here that you think other people will like then please contribute it back to the community.
To clone the repo I usually tend to run something along the lines of:
git clone https://github.com/CHTJonas/runbooks.git /usr/local/scripts
cd /usr/local/scripts
echo "friendly-machine-nickname" > name
cp secrets/example secrets/friendly-machine-nickname
nano secrets/friendly-machine-nickname
- You're away!
If you're really clever you could even setup a submodule for the secrets directory to share it across multiple machines and track changes! If you do then make sure the repository resides somewhere safe & secure on a server you own ie. NOT on GitHub or GitLab (not even private repos).
Bug reports and feature suggestrions can go to GitHub issues. If you want to make a contribution yourself:
- Fork this repository ( https://github.com/CHTJonas/runbooks/fork )
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create a new Pull Request
Thanks to the following people and organisations who've helped contribute to this repository: