This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env sh | |
## | |
# This is script with usefull tips taken from: | |
# https://github.com/mathiasbynens/dotfiles/blob/master/.osx | |
# | |
# install it: | |
# curl -sL https://raw.github.com/gist/2108403/hack.sh | sh | |
# |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
General: | |
Currently, there are several cases regarding database setup in the PE installer. Note that the database setup routines only occur if the console is selected for install. | |
1) the installer checks for the existence of mysql. | |
* If it is found, the installer asks if the mysql server is running on a remote host. if it is remote, the user is prompted to enter host | |
and port information. if it is not remote, the installer assumes the mysql server is hosted on the current stations. | |
* If it is not found, the installer asks if the user would like to install MySQL server. If yes, the installer proceeds directly to step 3, below, skipping step 2. | |
Note: the install *will exit* if the user opts not to install MySQL server at this point. The installer does not support installing MySQL client only. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh -e | |
case "$1" in | |
configure) | |
if grep -q 'Ubuntu 8.04' /etc/issue ; then | |
SITELIBDIR=$(ruby -rrbconfig -e "puts RbConfig::CONFIG['sitelibdir']") | |
mkdir -p $SITELIBDIR || : | |
ln -s /usr/lib/ruby/vendor_ruby/mcollective $SITELIBDIR/ || : | |
ln -s /usr/lib/ruby/vendor_ruby/mcollective.rb $SITELIBDIR/ || : | |
fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
From f320eb76e7bd8488b8fb480e051417f052c453ea Mon Sep 17 00:00:00 2001 | |
From: Moses Mendoza <[email protected]> | |
Date: Tue, 30 Oct 2012 14:33:27 -0700 | |
Subject: [PATCH] Update puppet spec to 3.0.1 | |
This patch updates the puppet spec for version 3.0.1, and removes the | |
signature file as a source since its not used in the spec anywhere. | |
Puppet 3.0.1 includes service management files for systemd, which ships | |
with F17, so this updates the spec to include systemd conditionals where | |
applicable. Several deprecated manpages and executables, including |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Augeas and SELinux requirements may be disabled at build time by passing | |
# --without augeas and/or --without selinux to rpmbuild or mock | |
# F-17 and above have ruby-1.9.x, and place libs in a different location | |
%if 0%{?fedora} >= 17 | |
%global puppet_libdir %(ruby -rrbconfig -e 'puts RbConfig::CONFIG["vendorlibdir"]') | |
%else | |
%global puppet_libdir %(ruby -rrbconfig -e 'puts RbConfig::CONFIG["sitelibdir"]') | |
%endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
From cfce8cf0baa7a96498f0ddc2c46170ed38c9aea7 Mon Sep 17 00:00:00 2001 | |
From: Todd Zullinger <[email protected]> | |
Date: Thu, 12 Jul 2012 00:34:28 -0400 | |
Subject: [PATCH/puppet] Preserve timestamps when installing files | |
Without the preserve option, ruby's FileUtils.install method uses the | |
current time for all installed files. For backup systems, package | |
installs, and general pedantic sysadmins, preserving timestamps makes a | |
small improvement in the world. | |
--- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
psql: FATAL: no pg_hba.conf entry for host "10.0.14.195", user "release", database "release", SSL on | |
FATAL: no pg_hba.conf entry for host "10.0.14.195", user "release", database "release", SSL off |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
TEAM=release | |
PGHOST=vor.puppetlabs.lan | |
PGDATABASE=release | |
PGUSER=release | |
export TEAM PGHOST PGDATABASE PGUSER | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# @pe_version is obtained by the branch we're on | |
# We want the latest tag on *our* branch | |
tag = %x{git tag | grep "#{@pe_version}"}.split.sort.last | |
commits = %x{git log --pretty=format:'%h' #{tag}.. | wc -l}.chomp | |
hash = %x{git show HEAD --pretty=format:'%h'} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
0 moses@mosesmac:~$ curl -i -Fname='build.yaml' -Ffile0='@/Users/moses/build2.yaml' -Fjson='{'parameter': {'name': 'build.yaml','file': 'file0'}}' -FSubmit=Build 'http://jenkins-release.delivery.puppetlabs.net/job/experimental-puppet-packaging/buildWithParameters' -v | |
* About to connect() to jenkins-release.delivery.puppetlabs.net port 80 (#0) | |
* Trying 10.0.14.198... | |
* connected | |
* Connected to jenkins-release.delivery.puppetlabs.net (10.0.14.198) port 80 (#0) | |
> POST /job/experimental-puppet-packaging/buildWithParameters HTTP/1.1 | |
> User-Agent: curl/7.25.0 (x86_64-apple-darwin11.3.0) libcurl/7.25.0 OpenSSL/1.0.1c zlib/1.2.7 libidn/1.25 | |
> Host: jenkins-release.delivery.puppetlabs.net | |
> Accept: */* | |
> Content-Length: 3082 |
OlderNewer