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
source "https://rubygems.org" | |
git_source(:github) {|repo_name| "https://github.com/#{repo_name}" } | |
# gem "backup", '~> 5.0.0.beta.2' | |
gem "backup", github: 'swelther/backup', ref: 'ae1c17cbf6b21c8689875d2c1f761d6d148aa6b5' | |
gem "net-ssh", ">= 4.2.0" | |
# neccessary for openssh keys with ed25519 like ecdsa; net-ssh 5.x supports ed25519 out of the box | |
gem "rbnacl", ">= 3.2.0, < 5.0" |
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
#!/bin/bash | |
RELEASE=`cat /etc/fedora-release | sed 's/ /_/g'` | |
rpm --queryformat=%{NAME}"\n" -qa | sort > /var/lib/dnf/packages.$RELEASE.list |
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
#!/bin/bash | |
# check existing git directories for open commits/pushes | |
# and update via pull | |
export TO_COMMIT=() | |
export TO_PUSH=() | |
# REPOs=`find . -name .git` | |
# only one level | |
REPOs=`ls -d */.git` |
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/env bash | |
# ------------------------------------------------- | |
# set ruby version | |
VER=2.3 | |
RUBYVERSION=${VER}.1 | |
CHEFDIR=/var/lib/chef | |
export PATH=/usr/local/sbin:/usr/local/bin:$PATH | |
DISTRIBUTION=`lsb_release -si` |