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/bash | |
######################################## | |
# create the first spacewalk account | |
# satwho requires it | |
LANG=C | |
tempfile=$(mktemp /tmp/$(basename $0).XXXXXX) |
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
# https://groups.google.com/forum/#!topic/puppet-users/1ol4b1euTiE | |
class nvidia::driver_install ( | |
include stdlib | |
$model_hash = { | |
009d => "$::nvidia::params::quadro_fx_4500_driver", | |
06dc => "$::nvidia::params::quadro_6000_driver", | |
06d9 => "$::nvidia::params::quadro_5000_driver", | |
11ba => "$::nvidia::params::quadro_K5000_driver", | |
17c2 => "$::nvidia::params::gtx_titanx_driver", |
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
# all checks will "fail", but check date output | |
# | |
# fails with: rspec test_spec.rb </dev/null | |
# works with: rspec test_spec.rb | |
require 'serverspec' | |
set :backend, :exec | |
describe 'test' do |
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/bash | |
# Author: Thomas Mueller <thomas@chaschperli.ch> | |
# Date: 2015-06-10 | |
# enable to exit on first error | |
# set -e | |
# list gem's to create rpm's seperated by space | |
# example for 2 gems: gem_list="r10k trocla" |
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/bash | |
# Author: Thomas Mueller <thomas@chaschperli.ch> | |
# Date: 2015-06-05 | |
# enable to exit on first error | |
# set -e | |
# list gem's to create rpm's seperated by space | |
# example for 2 gems: gem_list="r10k trocla" |
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
<VirtualHost *:80> | |
ServerName phabricator.my.domain | |
## Vhost docroot | |
DocumentRoot "/opt/phacility/phabricator/webroot" | |
<Directory "/opt/phacility/phabricator/webroot"> | |
Options Indexes FollowSymLinks MultiViews | |
AllowOverride None |
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
# Environment: RHEL6 with Passenger from EPEL and Puppet Open-source from yum.puppetlabs.com | |
# Howto compile: | |
# yum install checkpolicy | |
# checkmodule -M -m -o local_puppet_passenger.mod local_puppet_passenger.te && | |
# semodule_package -o local_puppet_passenger.pp -m local_puppet_passenger.mod && | |
# semodule --install local_puppet_passenger.pp | |
module local_puppet_passenger 2.17; |
NewerOlder