Skip to content

Instantly share code, notes, and snippets.


Mike Arnold razorsedge

View GitHub Profile
smoser / bdmapping
Created Feb 3, 2011
bdmapping: utility for providing the correct block-device-mapping args for ebs instances on EC2
View bdmapping
Usage() {
cat <<EOF
${0##*/} [-c] instance-type
print ephemeral store block-device-mapping arguments for 'instance-type'
If '-c' given, also print "--instance-type <instance-type>"
eqhmcow / puppet NFS
Created Dec 23, 2010
share NFS mounts on RHEL/CentOS with puppet, using augeas to manage exports file
View puppet NFS
# modules/nfs/manifests/init.pp
class nfs_server {
file { "destroy_exports":
path => "/etc/exports.puppet",
ensure => present,
source => "puppet://$servername/modules/nfs/empty",
package { "portmap":
You can’t perform that action at this time.