Skip to content

Instantly share code, notes, and snippets.

View filler's full-sized avatar

Nick Silkey filler

View GitHub Profile
PREP=source $(HOME)/.openrc/dnsaasci && \
export ANSIBLE_HOST_HEY_CHECKING=false && \
ANSIBLE_SSH_ARGS='-o UserKnownHostsFile=/dev/null \
-o ControlMaster=auto \
-o ControlPersist=60s \
-o StrictHostKeyChecking=no \
-o PubkeyAuthentication=yes'
PLAY=ansible-playbook deploy.yml
-----> Installing Chef Omnibus (11.16.4)
downloading https://www.chef.io/chef/install.sh
to file /tmp/install.sh
trying wget...
Downloading Chef 11.16.4 for ubuntu...
downloading https://www.chef.io/chef/metadata?v=11.16.4&prerelease=false&nightlies=false&p=ubuntu&pv=14.04&m=x86_64
to file /tmp/install.sh.1583/metadata.txt
trying wget...
url https://opscode-omnibus-packages.s3.amazonaws.com/ubuntu/13.04/x86_64/chef_11.16.4-1_amd64.deb
a9965ce5811ddd75af1b587e40cca934
# Generated by iptables-save v1.4.7 on Fri Jun 13 16:48:48 2014
*filter
:INPUT ACCEPT [0:0]
:FORWARD ACCEPT [0:0]
:OUTPUT ACCEPT [58:6064]
-A INPUT -m state --state RELATED,ESTABLISHED -j ACCEPT
-A INPUT -p icmp -j ACCEPT
-A INPUT -i lo -j ACCEPT
-A INPUT -p tcp -m state --state NEW -m tcp --dport 22 -j ACCEPT
-A INPUT -p tcp -m state --state NEW -m tcp --dport 443 -j ACCEPT
(heat)[~] heat build-info
+------------+-------------------------------------------+
| Property | Value |
+------------+-------------------------------------------+
| api | { |
| | "revision": "2014.k1-20141208-1199" |
| | } |
| engine | { |
| | "revision": "2014.k1-20141208-1199" |
| | } |
@filler
filler / repolist
Created August 22, 2013 19:31
collectd-5.2.1 resolving deps
[vagrant@atomhopper-berkshelf ~]$ yum repolist all
Loaded plugins: fastestmirror, security
Loading mirror speeds from cached hostfile
* base: mirror.umd.edu
* epel: mirror.umd.edu
* extras: ftp.usf.edu
* jpackage-generic-devel: sunsite.rediris.es
* jpackage-generic-free: sunsite.rediris.es
* updates: mirror.es.its.nyu.edu
repo id repo name status
MJH3Z7DRVG:rackspace rand5944$ vagrant up --provider=rackspace
Bringing machine 'default' up with 'rackspace' provider...
[default] Warning! The Rackspace provider doesn't support any of the Vagrant
high-level network configurations (`config.vm.network`). They
will be silently ignored.
[default] Finding flavor for server...
[default] Finding image for server...
[default] Launching a server with the following settings...
[default] -- Flavor: 512MB Standard Instance
[default] -- Image: Ubuntu 12.10 (Quantal Quetzal)
@filler
filler / 01-yale stdlib
Created October 2, 2012 15:30
cfengine package comparisons fail, pass
################################################################################
#
# Package management bodies
#
################################################################################
## You *must* specify "package_version" in any promises where this body is used!
## Otherwise, the version gets set to "*", which causes Cfengine to refer to
## the package in terms of package-* (see package_name_convention) - which
## could install or delete all kinds of packages unintentionally.
@filler
filler / gist:3819730
Created October 2, 2012 14:47
tivoli backup client 6.3 on rhel6.1
Oct 02 10:44:11 Installed: gskcrypt64-8.0-14.11.x86_64
Oct 02 10:44:13 Installed: gskssl64-8.0-14.11.x86_64
Oct 02 10:44:44 Installed: TIVsm-API64-6.3.0-0.x86_64
Oct 02 10:45:32 Updated: glibc-common-2.12-1.80.el6_3.5.x86_64
Oct 02 10:45:32 Updated: nss-softokn-freebl-3.12.9-11.el6.x86_64
Oct 02 10:45:40 Updated: glibc-2.12-1.80.el6_3.5.x86_64
Oct 02 10:45:40 Installed: nss-softokn-freebl-3.12.9-11.el6.i686
Oct 02 10:45:40 Installed: glibc-2.12-1.80.el6_3.5.i686
Oct 02 10:45:41 Updated: glibc-headers-2.12-1.80.el6_3.5.x86_64
Oct 02 10:45:41 Updated: glibc-devel-2.12-1.80.el6_3.5.x86_64
@filler
filler / gist:3455256
Created August 24, 2012 20:26
dont move a vagrant working dir when the machine is running
[root@localhost vagrant]# cf-agent -K
Unable to make directories to /var/cfengine/inputs/update.conf
!!! System error for cf_mkdir: "File exists"
Fatal CFEngine error: !!! No access to WORKSPACE/inputs dir
[root@localhost vagrant]# ls -ld /var/cfengine/inputs
ls: cannot access /var/cfengine/inputs: No such file or directory
[root@localhost vagrant]# ls -la /var/cfengine/
ls: cannot access /var/cfengine/inputs: No such file or directory
total 52
drwxr-xr-x 13 root root 4096 Jun 6 13:04 .
@filler
filler / gist:3229210
Created August 1, 2012 17:49
nasty conflicts subtree merging in git 1.7.11.3
git version 1.7.11.3
mkdir -p /tmp/meh
cd /tmp/meh
git init d7
cd d7
echo 'Drupal rules.' > README.md
git add README.md
git commit -m 'first commit.'