Skip to content

Instantly share code, notes, and snippets.

View madAndroid's full-sized avatar
🏠
Working from home

Andrew Stangl madAndroid

🏠
Working from home
View GitHub Profile
########################
# Xapian Core #
# 26-03-2013 10:49 GMT #
########################
set -x
export XAPIAN_VIRTUALENV_INSTALL=/srv/django/BASELINE
source $HOME/BASELINE/bin/activate
echo $XAPIAN_VIRTUALENV_INSTALL
# CentOS-Base.repo
#
# The mirror system uses the connecting IP address of the client and the
# update status of each mirror to pick mirrors that are updated to and
# geographically close to the client. You should use this for CentOS updates
# unless you are manually picking other mirrors.
#
# If the mirrorlist= does not work for you, as a fall back you can try the
# remarked out baseurl= line instead.
#
/s/d/r/twig ❯❯❯ vagrant up --provider=aws
Bringing machine 'vagrant' up with 'aws' provider...
[vagrant] Warning! The AWS provider doesn't support any of the Vagrant
high-level network configurations (`config.vm.network`). They
will be silently ignored.
[vagrant] Warning! You're launching this instance into a VPC without an
elastic IP. Please verify you're properly connected to a VPN so
you can access this machine, otherwise Vagrant will not be able
to SSH into it.
[vagrant] Launching an instance with the following settings...
err: /Stage[main]/Tw_shibboleth_sp::Install/Package[shibboleth.x86_64]/ensure: change from absent to present failed: Execution of '/usr/bin/yum -d 0 -e 0 -y install shibboleth.x86_64' returned 1: Package xerces-c is obsoleted by libxerces-c-3_1, but obsoleting package does not provide for requirements
Package xerces-c is obsoleted by libxerces-c-3_1, but obsoleting package does not provide for requirements
Package xerces-c is obsoleted by libxerces-c-3_1, but obsoleting package does not provide for requirements
Package xerces-c is obsoleted by libxerces-c-3_1, but obsoleting package does not provide for requirements
Package xerces-c is obsoleted by libxerces-c-3_1, but obsoleting package does not provide for requirements
Package xerces-c is obsoleted by libxerces-c-3_1, but obsoleting package does not provide for requirements
Package xerces-c is obsoleted by libxerces-c-3_1, but obsoleting package does not provide for requirements
Package xerces-c is obsoleted by libxerces-c-3_1, but obsoleting package does n
[root@vagrant-shibboleth ~]# sudo yum install shibboleth
Loaded plugins: fastestmirror, security
Loading mirror speeds from cached hostfile
* base: centos.serverspace.co.uk
* contrib: centos.mirroring.pulsant.co.uk
* epel: www.mirrorservice.org
* extras: mirror.as29550.net
* ius: ius.cu.be
* rpmforge: www.mirrorservice.org
* updates: centos.mirroring.pulsant.co.uk
Dependencies Resolved
====================================================================================================================================================================================================================
Package Arch Version Repository Size
====================================================================================================================================================================================================================
Installing:
automation-ruby x86_64 2.0.0.247-16.1 automationNEW 63 k
Installing for dependencies:
automation-ruby-irb noarch 2.0.
#!/bin/sh
# This script will monitor another NAT instance and take over its routes
# if communication with the other instance fails
# NAT instance variables
# Other instance's IP to ping and route to grab if other node goes down
NAT_ID=
NAT_RT_ID=
# My route to grab when I come back up
[twig-deploy@ip-172-31-108-218 hiera-aws]$ less /etc/activemq/activemq.xml
<beans
xmlns="http://www.springframework.org/schema/beans"
xmlns:amq="http://activemq.apache.org/schema/core"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.0.xsd
http://activemq.apache.org/schema/core http://activemq.apache.org/schema/core/activemq-core.xsd">
<!-- Allows us to use system properties as variables in this configuration file -->
<bean class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer">
[twig-deploy@ip-172-31-108-109 ~]$ sudo mco sfdeploy update_git_clone -a prod_twig -b master -C tw_role_webserver
* [ ============================================================> ] 2 / 2
ip-172-31-109-14
err: I, [2013-10-11T09:42:41.331416 #28691] INFO -- : create_clone_path: Creating directory /srv/deploy/clones/prod_twig
D, [2013-10-11T09:42:41.335869 #28691] DEBUG -- : initial_git_clone: Git clone already created
I, [2013-10-11T09:42:41.335972 #28691] INFO -- : update_git_clone: Fetching changes from upstream
I, [2013-10-11T09:42:41.336160 #28691] INFO -- : logged_system: cd /srv/deploy/clones/prod_twig && git fetch
$389_aws_servers = [ 'foo', 'bar' ]
$389_repl_host1 = $389_aws_servers[0]
$389_repl_host2 = $389_aws_servers[1]
notify { " REPL HOST 1 == $389_repl_host1": }
notify { " REPL HOST 2 == $389_repl_host2": }
file { '/tmp/test.txt':
content => template('setup.inf')
}