My Recent Pastes (19 and counting)
Pastes by tim|imac (19 and counting)
Below are the 15 most recent pasties by tim|imac.
May 27, 2009
8:44AM EDT
by tim|imac
View all 8 lines
tim@management.db:/srv/puppet/generic$ ls _darcs clamav ipmi ntp php smokeping trac amavisd-new cyrus libvirt nullmailer postfix spamassassin varnish apache django lvm offsitebackup postgrey squirrelmail vserver approx dovecot machdb openldap powerdns subversion webalizer
April 06, 2008
12:04PM EDT
by tim|imac
View all 6 lines
asterisk:~/Documents/code/norganna/addup tim$ git push hokkertjes@addup.hokkertjes.nl's password: To ssh://hokkertjes@addup.hokkertjes.nl/~/www/addup.hokkertjes.nl/norganna.git ! [rejected] master -> master (non-fast forward) error: failed to push some refs to 'ssh://hokkertjes@addup.hokkertjes.nl/~/www/addup.hokkertjes.nl/norganna.git'
November 07, 2007
4:58PM EDT
by tim|imac
View all 11 lines
## log Nov 7 23:58:45 debian puppetmasterd[2088]: Syntax error at '='; expected ')' at /etc/puppet/modules/hosting/manifests/init.pp:5 ## the file in question # A class that contains definitions for hosting setups
October 26, 2007
12:18PM EDT
by tim|imac
View all 12 lines
tim@hosting:/hosting/home/cidev/www/git.cidev.nl$ mv puppet-modules tmp; git clone --bare tmp puppet-modules; cd puppet-modules; git-clean; git update-server-info mv: cannot stat `puppet-modules': No such file or directory remote: Generating pack... remote: Done counting 21 objects. Deltifying 21 objects.
October 26, 2007
6:45AM EDT
by tim|imac
View all 24 lines
tim@debian:~$ ping puppet PING debian.lan (127.0.1.1) 56(84) bytes of data. 64 bytes from debian.lan (127.0.1.1): icmp_seq=1 ttl=64 time=0.020 ms 64 bytes from debian.lan (127.0.1.1): icmp_seq=2 ttl=64 time=0.024 ms
October 26, 2007
6:41AM EDT
by tim|imac
View all 18 lines
tim@debian:~$ sudo /etc/init.d/puppet restart
Restarting puppet configuration management tool/usr/lib/ruby/1.8/net/http.rb:560:in `initialize': getaddrinfo: Name or service not known (SocketError)
from /usr/lib/ruby/1.8/net/http.rb:560:in `open'
from /usr/lib/ruby/1.8/net/http.rb:560:in `connect'
from /usr/lib/ruby/1.8/timeout.rb:56:in `timeout'
October 16, 2007
4:48AM EDT
by tim|imac
View all 20 lines
## node definition node 'mailing1.mysite.nl' inherits mysite { # The tag is an experiment, to see if we can automate munin and nagios a bit tag(postfix) include syslog::client
June 01, 2007
6:46AM EDT
by tim|imac
View all 22 lines
## template <% if serveralias -%> ServerAlias <%= serveralias.each{ |a| a.concat(" ") } -%> <% end %>
May 22, 2007
6:07AM EDT
by tim|imac
View all 10 lines
class dns { case $location { "fac1": { $str = "definition" } }
April 27, 2007
8:17AM EDT
by tim|imac
View all 17 lines
## manifest
# We got some configs that we need to transfer
$configfiles = ["rsyncd.conf","rsyncd.secret","inetd.conf"]
configfile { "/etc/$configfiles":
source => "fileserver/$configfiles",
April 27, 2007
8:15AM EDT
by tim|imac
View all 17 lines
## manifest # We got some configs that we need to transfer $configfiles = ["rsyncd.conf","rsyncd.secret","inetd.conf"] configfile { "/etc/$configfiles": source => "fileserver/$configfiles",
April 18, 2007
7:11AM EDT
by tim|imac
View all 19 lines
define configfile($owner = root, $group = root, $mode = 644, $source, $backup = false, $recurse = false, $ensure = file) { file { $name: mode => $mode, owner => $owner, group => $group,
April 06, 2007
9:10AM EDT
by tim|imac
View all 11 lines
define make_mount_file () {
file { "/etc/auto.$name":
owner => root,
group => root,
mode => 644,
April 04, 2007
11:40AM EDT
by tim|imac
View all 15 lines
## Dit werkt
def &FORWARD($inc, $proto, $port, $dport) = {
table filter chain FORWARD interface eth0 saddr $inc daddr $inc proto $proto dport $port outerface lo ACCEPT;
table nat chain PREROUTING interface eth0 daddr $inc proto $proto dport $port DNAT to "$dest:$dport";
}
April 04, 2007
6:09AM EDT
by tim|imac
View all 26 lines
notice: Starting Puppet client version 0.22.1 debug: Loaded state in 0.00 seconds debug: Calling puppetmaster.freshness /usr/lib/ruby/1.8/puppet/networkclient.rb:77:in `freshness' /usr/lib/ruby/1.8/puppet/client/master.rb:204:in `fresh?'
