Added support for Linux Mint

This commit is contained in:
Gene Liverman 2017-09-18 19:01:57 -07:00 committed by Gene Liverman
parent e23ea50d4b
commit b0ec3a08ba
23 changed files with 337 additions and 87 deletions

21
bin/bootstrap/bootstrap_mint.sh Executable file
View file

@ -0,0 +1,21 @@
#!/bin/bash
if [[ $1 == 'now' ]]; then
# Install dot's dependencies
sudo apt-add-repository ppa:brightbox/ruby-ng
sudo apt-get update
sudo apt-get install ruby2.4 ruby2.4-dev ruby-switch cmake build-essential
sudo ruby-switch --set ruby2.4
sudo gem install --no-ri --no-rdoc bundler
# Make dot usable
cd ~/.dotfiles
bundle install
# Install Puppet modules
bundle exec rake dots:run_r10k
# Display tasks that can be run
echo 'These are the task that can now be executed:'
bundle exec rake -T |grep --color=never 'rake dots'
fi