Skip to content

Instantly share code, notes, and snippets.

View filler's full-sized avatar

Nick Silkey filler

View GitHub Profile
@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.'
@filler
filler / README.txt
Created July 19, 2012 16:04 — forked from fishnix/README.txt
jboss eap 5.1.2 + jenkins vagrantfile
LOLWAT
## What you Get
- A working linux box
- Java JDK 1.6.0_xx
- JBoss 5.x.x
- Jenkins with Yale-Maven-Application-Installer
## The deets
- JBoss:
@filler
filler / README.md
Created July 12, 2012 20:19
pass at percona bundle

First pass at Percona bundles at Yale:

  • One in support of simple Percona, non-XtraDB.
  • One with XtraDB, to be extended to support more cluster functions.
  • Both needing Xtrabackup to perform Innobackup/MySQL Enterprise Backup (MEB) functions.

Percona doesnt keep many versions around in their yum repo, so Yale has to mirror them internally to reference old versions.

Yale needs to whack on /etc/yum.conf to extend the blacklisting of Percona like is done with MySQL Enterprise packages via exclude=MySQL-*-advanced-gpl* @ cfengine. This is because Percona drops obsoletes flags on their rpms, same as Oracle does.

@filler
filler / README.md
Created July 11, 2012 18:16
we tried to create a box or a box was here before but now it's gone fix

Running vagrant 1.0.3 and veewee 0.2.3 on OSX 10.7.4, sometimes vagrant/veewee croak and you cant respin a basebox.

Remove it from ~/Virtualbox\ VMs/ and youre good!

silkey@rdj:~/Vagrant/veewee [0]
[528] λ > vagrant basebox build 'RHEL-6.3-x86_64'

Verifying the isofile rhel-server-6.3-x86_64-boot.iso is ok.
Setting VM Flag ioapic to on
@filler
filler / README.md
Created July 11, 2012 15:35
RHEL 6.3 veewee templates for vagrant use

RHEL 6.3 veewee templates for vagrant use

These templates can be used to feed to veewee to spin up an el6 basebox for use with vagrant.

There are some coded values in definition.rb and ks.cfg which point at Yale-ishness. Amend to point at local RHEL iso/yum repo.

Built successfully with veewee 0.2.3, vagrant 1.0.3, Virtualbox 4.1.18.

Config Management