I hereby claim:
- I am anuaimi on github.
- I am anuaimi (https://keybase.io/anuaimi) on keybase.
- I have a public key ASCQqze2JYGGDXx8DsWmYI3pCpR5c6qY0UpB_9GlG-QF9wo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
| Verifying that +anuaimi is my blockchain ID. https://onename.com/anuaimi |
| // example code to use ssh to run command on a remote server | |
| // includes password based and key based login | |
| package main | |
| import ( | |
| "log" | |
| "fmt" | |
| "io/ioutil" |
| #!/bin/bash | |
| # From github issue 47 | |
| # https://github.com/abh/geodns/issues/47 | |
| USER=vagrant | |
| BASE_DIR=/home/vagrant | |
| install_build_tools() { | |
| echo "installing go language" |
| #!/bin/bash | |
| # install kvm & create ubuntu guest | |
| check_root() { | |
| if [ "$(id -u)" != "0" ]; then | |
| echo "This script must be run as root" 1>&2 | |
| return 1 | |
| fi |
| ROOT_DOMAIN="devfoundry.com" | |
| HOSTNAME=puppet.${ROOT_DOMAIN} | |
| DISTRIBUTION='precise' | |
| set_hostname() { | |
| # set hostname | |
| sudo sh -c "echo '127.0.0.1 ${HOSTNAME} puppet localhost' >> /etc/hosts" | |
| sudo sh -c "echo '${HOSTNAME}' > /etc/hostname" | |
| sudo hostname ${HOSTNAME} | |
| } |
| # this will get rid of the error about LLVM not being fully supported | |
| rvm install 1.9.2 --with-gcc=clang | |
| sudo port install scala_select scala2.10 | |
| cd /opt/local/bin | |
| sudo port select --set scala scala2.10 |
| augtool -s set /files/etc/sudoers/spec[user='ubuntu']/user ubuntu | |
| augtool -s set /files/etc/sudoers/spec[user='ubuntu']/host_group/host ALL | |
| augtool -s set /files/etc/sudoers/spec[user='ubuntu']/host_group/command ALL | |
| augtool -s set /files/etc/sudoers/spec[user='ubuntu']/host_group/command/runas_user ALL | |
| augtool -s set /files/etc/sudoers/spec[user='ubuntu']/host_group/command/tag NOPASSWD |
| /Users/anuaimi/.rvm/gems/ruby-1.9.2-p0@rails3/gems/fog-0.3.7/lib/fog/aws/models/compute/servers.rb:51: warning: shadowing outer local variable - ip_permission | |
| error: could not use fog - no such file to load -- fog/aws/models/compute/tags | |
| F/Users/anuaimi/.rvm/gems/ruby-1.9.2-p0@rails3/gems/fog-0.3.7/lib/fog/core/service.rb:80: warning: method redefined; discarding old addresses | |
| /Users/anuaimi/.rvm/gems/ruby-1.9.2-p0@rails3/gems/fog-0.3.7/lib/fog/core/service.rb:80: warning: previous definition of addresses was here | |
| /Users/anuaimi/.rvm/gems/ruby-1.9.2-p0@rails3/gems/fog-0.3.7/lib/fog/core/service.rb:80: warning: method redefined; discarding old flavors | |
| /Users/anuaimi/.rvm/gems/ruby-1.9.2-p0@rails3/gems/fog-0.3.7/lib/fog/core/service.rb:80: warning: previous definition of flavors was here | |
| /Users/anuaimi/.rvm/gems/ruby-1.9.2-p0@rails3/gems/fog-0.3.7/lib/fog/core/service.rb:80: warning: method redefined; discarding old images | |
| /Users/anuaimi/.rvm/gems/ruby-1.9.2-p0@rails3/gems/fog-0.3.7/lib/fog/core/service.rb:80: |