My Recent Pastes (5 and counting)

Pastes by tim|macbook (5 and counting)

Below are the 5 most recent pasties by tim|macbook.

May 14, 2009
8:10AM EDT
by tim|macbook

        # Clear cache files
        tidy { "clean cache files":
                age     => "1w",
                path    => "/my/cache",
                matches => "*.php",

January 22, 2009
10:13AM EDT
by tim|macbook

## puppetd output
tim@management.db:~$ sudo puppetd --no-daemonize --no-splay --onetime --logdest console --logdest syslog --debug --trace --verbose
info: Loading fact backupsshkey
debug: Creating default schedules
debug: Failed to load library 'ldap' for feature 'ldap'

July 24, 2008
10:25AM EDT
by tim|macbook

Facter.add("drbd_state") do
    setcode do
        system("cat /proc/drbd | awk '/^ [0-9]:/ { print $3 }' | sed -e 's/st:\(.*\)\/.*/\1/'")
    end
end

November 14, 2007
5:53AM EDT
by tim|macbook

d-i     partman-auto/expert_recipe      string partman-auto/text/custom_partitioning :: 300 320 400 ext3 $primary{ } $bootable{ } method{ format
 } format{ } use_filesystem{ } filesystem{ ext3 } mountpoint{ / } options/noatime{ noatime - do not update inode access times at each access } .
 400 700 10000 ext3 method{ format } format{ } use_filesystem{ } filesystem{ ext3 } mountpoint{ /private } options/noatime{ noatime } .

September 17, 2007
7:26AM EDT
by tim|macbook

## template thingy
        if defined(Class[ntp::ntp-client]) {
                file { "/etc/munin/plugins/ntp-ntp":
                        ensure => "/usr/share/munin/plugins/ntp_",
                }