I hereby claim:
- I am narkisr on github.
- I am narkisr (https://keybase.io/narkisr) on keybase.
- I have a public key whose fingerprint is 2310 0151 F9AF A466 FD0F B844 82D9 CBE3 73EE 6174
To claim this, I am signing this object:
| {"re-conf.resources.download.run-checkum" [{:function "re-conf.resources.download.run-checkum" | |
| :profile [0 129890054] | |
| :timestamp "2018-12-14T12:16:48.447Z"} | |
| {:function "re-conf.resources.download.run-checkum" | |
| :profile [0 60930117] | |
| :timestamp "2018-12-14T12:16:51.752Z"}] | |
| "re-conf.resources.download.run-download" [{:function "re-conf.resources.download.run-download" | |
| :profile [0 534854230] | |
| :timestamp "2018-12-14T12:16:44.218Z"} | |
| {:function "re-conf.resources.download.run-download" |
| # Heavily depends on: | |
| # libqrencode (fukuchi.org/works/qrencode/) | |
| # paperkey (jabberwocky.com/software/paperkey/) | |
| # zbar (zbar.sourceforge.net) | |
| # Producing the QR codes: | |
| # Split over 4 codes to ensure the data per image is not too large. | |
| gpg --export-secret-key KEYIDGOESHERE | paperkey --output-type raw | base64 > temp | |
| split temp -n 4 IMG | |
| for f in IMG*; do cat $f | qrencode -o $f.png; done |
| VERSION="0.12.6" | |
| wget -O - https://gist.githubusercontent.com/narkisr/6097786/raw/puppet-preqs.sh | bash | |
| cd /tmp && wget "https://dl.bintray.com/narkisr/boxes/celestial-sandbox-$VERSION.tar.gz" | |
| tar -xvzf "celestial-sandbox-$VERSION.tar.gz" && cd "celestial-sandbox-$VERSION" | |
| chmod +x run.sh && ./run.sh | |
| cd /tmp && rm -rf "celestial-sandbox-$VERSION" | |
| echo 'Celestial setup is done, head on to http://celestial-ops.com/docs.html#configuration in order to start configuration' |
| # No warranties of any kind. Works for me. | |
| # Make sure to edit all XXX marked places in this file before using it. | |
| export CELESTIAL_LAST_JOB_FILE=~/.celestial.last-job | |
| function C() { | |
| # Expects "user:pass" in ~/.celestial-creds | |
| u="$1" | |
| shift |
| STAMP = Time.now.strftime('%H_%M_%S_%L') | |
| ROOT = "/u/apps/#{fetch(:application)}" | |
| def release | |
| "#{ROOT}/releases/#{STAMP}" | |
| end | |
| def current | |
| "#{ROOT}/current" | |
| end |
I hereby claim:
To claim this, I am signing this object:
| if cat /proc/version | grep Ubuntu | |
| then | |
| apt-get install git ruby1.9.1 ruby1.9.1-dev rubygems1.9.1 make -y | |
| elif [ -f /etc/debian_version ]; | |
| then | |
| apt-get install git ruby1.9.1 ruby1.9.1-dev rubygems -y | |
| fi | |
| if cat /proc/version | grep Red | |
| then |
| angular.module( 'celestial.system', [ | |
| 'ui.state', 'ui.bootstrap', 'ngResource' | |
| ]) | |
| .directive('proxmox', function() { | |
| return { | |
| restrict: 'ECMA', | |
| templateUrl: 'systems/proxmox.tpl.html' | |
| }; | |
| }) | |
| .directive('vcenter', function() { |
| wget -O - https://gist.github.com/narkisr/6097786/raw/d744cc3a930b604d151c3d2d53fad4acef434d90/puppet-preqs.sh | bash | |
| cd /tmp && wget http://dl.bintray.com/narkisr/boxes/celestial-sandbox-0.1.2.tar.gz | |
| tar -xvzf celestial-sandbox-0.1.2.tar.gz && cd celestial-sandbox-0.1.2 | |
| chmod +x install.sh && ./install.sh | |
| cd /tmp && rm -rf celestial-sandbox-0.1.2 | |
| echo 'Celestial setup is done, head on to http://bit.ly/celestial-config in order to finish setup' | |
| #!/usr/bin/env bash | |
| set -eux | |
| if ! [ $(getent group puppet) ] | |
| then | |
| groupadd puppet | |
| fi | |
| if [ -f /etc/debian_version ]; |