Skip to content

Instantly share code, notes, and snippets.

View stahnma's full-sized avatar

Michael Stahnke stahnma

View GitHub Profile
[130] stahnma@bananapi ~> time facter
architecture => armv7l
domain => stahnkage.com
facterversion => 1.6.10
fqdn => bananapi.stahnkage.com
hardwareisa => unknown
hardwaremodel => armv7l
hostname => bananapi
id => stahnma
interfaces => eth0,lo,tunl0
@stahnma
stahnma / gist:6c2cc64aff6dfa1886b3
Created March 24, 2015 05:42
Debian, I hate you
DEBIAN_FRONTEND=noninteractive; apt-get -o DPkg::Options::=--force-confold install -qqy --force-yes --no-install-recommends
@stahnma
stahnma / apache configuration
Created July 17, 2015 22:31
AIO w/ Passenger
LoadModule passenger_module /opt/puppetlabs/puppet/lib/ruby/gems/2.1.0/gems/passenger-__PASSENGER_VERSION__/buildout/apache2/mod_passenger.so
<IfModule mod_passenger.c>
Header always unset "X-Powered-By"
PassengerRoot /opt/puppetlabs/puppet/lib/ruby/gems/2.1.0/gems/passenger-__PASSENGER_VERSION__
PassengerDefaultRuby /opt/puppetlabs/puppet/bin/ruby
</IfModule>
PassengerHighPerformance on
PassengerMaxRequestQueueSize 0
PassengerMaxRequests 40
@stahnma
stahnma / -
Created August 17, 2015 23:01
stahnma@wolf ~/puppet-client-tools-vanagon/output/el/7/PC1/x86_64 [add_deployer]> rpmlint pe-client-tools-0.0.2.12.g425f11e-1.el7.x86_64.rpm | grep unstrip
pe-client-tools.x86_64: W: unstripped-binary-or-object /opt/puppetlabs/client/tools/lib/libssh.so.4.5.1
pe-client-tools.x86_64: W: unstripped-binary-or-object /opt/puppetlabs/client/tools/lib/libssh_threads.so.4.5.1
pe-client-tools.x86_64: W: unstripped-binary-or-object /opt/puppetlabs/client/tools/bin/deployer-client
pe-client-tools.x86_64: W: unstripped-binary-or-object /opt/puppetlabs/client/tools/bin/puppet-access
pe-client-tools.x86_64: W: unstripped-binary-or-object /opt/puppetlabs/client/tools/lib/libpuppet-access.so.0.1.0
@stahnma
stahnma / -
Created August 19, 2015 18:30
This file has been truncated, but you can view the full file.
(find -L /opt/pl-build-tools /opt/pl-build-tools/ -type f 2>/dev/null || find /opt/pl-build-tools /opt/pl-build-tools/ -follow -type f) | sort | uniq > file-list-after-build
touch pl-gcc-project
comm -23 file-list-after-build file-list-before-build > file-list
comm -23 file-list-after-build file-list-before-build | sed -e 's/\(^.*\s.*$\)/"\1"/g' > file-list-for-rpm
mkdir -p 'pl-gcc-4.8.2'
'/opt/freeware/bin/tar' -cf - -T file-list bill-of-materials | ( cd 'pl-gcc-4.8.2/'; '/opt/freeware/bin/tar' xfp -)
'/opt/freeware/bin/tar' -cf - pl-gcc-4.8.2/ | gzip -9c > pl-gcc-4.8.2.tar.gz
bash -c 'mkdir -p /var/tmp/tmp.Spf5DHNiUA/rpmbuild/{SOURCES,SPECS,BUILD,RPMS,SRPMS}'
cp pl-gcc-4.8.2.tar.gz /var/tmp/tmp.Spf5DHNiUA/rpmbuild/SOURCES
cp file-list-for-rpm /var/tmp/tmp.Spf5DHNiUA/rpmbuild/SOURCES
@stahnma
stahnma / -
Created August 20, 2015 16:13
This file has been truncated, but you can view the full file.
Loading boost
Executing 'rm -rf /opt/pl-build-tools; rm -rf /var/tmp/tmp.* /var/tmp/*root-root /var/tmp/rpm* && rpm -Uvh --replacepkgs http://int-resources.corp.puppetlabs.net/AIX_MIRROR/mktemp-1.7-1.aix5.1.ppc.rpm' on root@pe-aix-61-builder
Retrieving http://int-resources.corp.puppetlabs.net/AIX_MIRROR/mktemp-1.7-1.aix5.1.ppc.rpm
mktemp ##################################################
Executing 'mktemp -d -p /var/tmp 2>/dev/null || mktemp -d -t 'tmp'' on root@pe-aix-61-builder
Target is pe-aix-61-builder
Executing 'rpm -Uvh --replacepkgs http://pl-build-tools.delivery.puppetlabs.net/aix/6.1/ppc/pl-gcc-4.8.2-1.aix6.1.ppc.rpm http://int-resources.corp.puppetlabs.net/AIX_MIRROR/bzip2-1.0.5-3.aix5.3.ppc.rpm http://int-resources.corp.puppetlabs.net/AIX_MIRROR/zlib-devel-1.2.3-4.aix5.2.ppc.rpm http://int-resources.corp.puppetlabs.net/AIX_MIRROR/zlib-1.2.3-4.aix5.2.ppc.rpm ' on root@pe-aix-61-builder
Retrieving http://pl-build-tools.delivery.puppetlabs.net/aix/6.1/ppc/pl-gcc-4.8.2-1.aix6.1.p
@stahnma
stahnma / -
Created August 24, 2015 02:35
This file has been truncated, but you can view the full file.
Loading boost
Executing 'rpm -Uvh --replacepkgs http://osmirror.delivery.puppetlabs.net/AIX_MIRROR/mktemp-1.7-1.aix5.1.ppc.rpm http://osmirror.delivery.puppetlabs.net/AIX_MIRROR/rsync-3.0.6-1.aix5.3.ppc.rpm http://osmirror.delivery.puppetlabs.net/AIX_MIRROR/coreutils-5.2.1-2.aix5.1.ppc.rpm http://osmirror.delivery.puppetlabs.net/AIX_MIRROR/sed-4.1.1-1.aix5.1.ppc.rpm && rm -rf /opt/pl-build-tools; rm -rf /var/tmp/tmp.* /var/tmp/*root-root /var/tmp/rpm* /root/*.jam' on root@pe-aix-71-builder
Retrieving http://osmirror.delivery.puppetlabs.net/AIX_MIRROR/mktemp-1.7-1.aix5.1.ppc.rpm
Retrieving http://osmirror.delivery.puppetlabs.net/AIX_MIRROR/rsync-3.0.6-1.aix5.3.ppc.rpm
Retrieving http://osmirror.delivery.puppetlabs.net/AIX_MIRROR/coreutils-5.2.1-2.aix5.1.ppc.rpm
Retrieving http://osmirror.delivery.puppetlabs.net/AIX_MIRROR/sed-4.1.1-1.aix5.1.ppc.rpm
mktemp ##################################################
rsync ##################################################
coreut
@stahnma
stahnma / -
Created August 24, 2015 16:40
This file has been truncated, but you can view the full file.
Loading boost
Executing 'rpm -Uvh --replacepkgs http://osmirror.delivery.puppetlabs.net/AIX_MIRROR/mktemp-1.7-1.aix5.1.ppc.rpm http://osmirror.delivery.puppetlabs.net/AIX_MIRROR/rsync-3.0.6-1.aix5.3.ppc.rpm http://osmirror.delivery.puppetlabs.net/AIX_MIRROR/coreutils-5.2.1-2.aix5.1.ppc.rpm http://osmirror.delivery.puppetlabs.net/AIX_MIRROR/sed-4.1.1-1.aix5.1.ppc.rpm && rm -rf /opt/pl-build-tools; rm -rf /var/tmp/tmp.* /var/tmp/*root-root /var/tmp/rpm* /root/*.jam' on root@pe-aix-71-builder
Retrieving http://osmirror.delivery.puppetlabs.net/AIX_MIRROR/mktemp-1.7-1.aix5.1.ppc.rpm
Retrieving http://osmirror.delivery.puppetlabs.net/AIX_MIRROR/rsync-3.0.6-1.aix5.3.ppc.rpm
Retrieving http://osmirror.delivery.puppetlabs.net/AIX_MIRROR/coreutils-5.2.1-2.aix5.1.ppc.rpm
Retrieving http://osmirror.delivery.puppetlabs.net/AIX_MIRROR/sed-4.1.1-1.aix5.1.ppc.rpm
mktemp ##################################################
rsync ##################################################
coreut
all:
rm -f mike