This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/ruby | |
require 'erb' | |
desc "Templates the Puppetfile to the specified environment" | |
task :template_puppetfile, [:env] do |t, args| | |
unless args[:env].nil? | |
@environment = args[:env] | |
read_file = 'Puppetfile.erb' | |
write_file = 'Puppetfile' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cd /tmp | |
if [ -d /tmp/losops-bt/ ] | |
then | |
rm -rf /tmp/losops-bt/ | |
fi | |
git clone git@git:losops-bt | |
if [ -f /usr/bin/bt ] | |
then | |
sudo rm -rf /usr/bin/bt |
NewerOlder