My Recent Pastes (40 and counting)
Pastes by DavidS (40 and counting)
Below are the 15 most recent pasties by DavidS.
June 03, 2009
5:02AM EDT
by DavidS
View all 11 lines
<%
if ! munin_cidr_allow.is_a?(Array) then
allows = [ munin_cidr_allow ]
else
allows = munin_cidr_allow
June 03, 2009
4:59AM EDT
by DavidS
View all 13 lines
# A list of addresses that are allowed to connect.
<%
if munin_cidr_allow.is_a?(Array) then
munin_cidr_allow.each do |cidr| %>
cidr_allow <%= cidr %>
June 03, 2009
4:37AM EDT
by DavidS
View all 7 lines
info: Loading fact my_interfaces info: Loading fact acpi_available inf�: Loading fact acpi_available��ver/Backuppc::Setting[PingMaxMsec]/Replace[backuppc_set_PingMaxMsec]/Exec[replace_^\s*\$Conf\{PingMaxMsec\}\s*=\s*(?!40)[^;]*;.*$_/etc/backuppc/config.pl]/returns: executed successfully��ully��ckup \\\$host sudo \\\$rsyncPath \\\$argList+")[^;]*;.*$_/etc/backuppc/config.pl]/returns: executed successfully��pl]/returns: executed successfully������������������f ��� �����H�ʿJ��0Ϸ��ʿ�0Ϸ �ʿr�� 'Ϸ���� ��� �� ����0 � ������/����0Ϸt�ʿ�� ��� ��������@ �04 �04 ����� ����@ ��P � G �l��0 � ��� ���h2Ϸ ��������0Ϸ �ʿ �� �����������������������������������������������������������`X� �� ������� �� ��� ��� ���p�ʿ ����)з��ʿ�� �������ʿ��ʿ �������T �P��g�ͷl�ʿH7�g�ͷ\������+ ����ʿ���g�ͷS�� G ����� 'Ϸ ��� ��g�ͷ����B j����� ������� ��������0Ϸt< �����S����P���)з��ʿH7��)з\������+ ��|�ʿ����)зS����� ��� �����ʿ ���)з���� ���������ʿ ���)з�������ʿ����S�� ���������� �����)з���� ���h ��Z��P����� ��ELF ��������� � � ���� ��4��� 8 �����4� � �(� � � ���������������04 �04 � ���� �� ���04 �0D �0D �� ��� �� ���� �� ��� 5 � E � E ����� ��� ���P�td�3 ��3 ��3 � ��� ��� ��� ���Q�td�������������������� ��� ���a���d�����������
May 07, 2009
4:55AM EDT
by DavidS
View all 15 lines
root@monitor:~# ralsh nagios_host "hosting.black.co.at" ensure=present target=/home/david/tmp/nagios.test.cfg notice: /Nagios_host[hosting.black.co.at]/ensure: created err: Could not apply complete catalog: Puppet::Util::FileType::FileTypeFlat could not write /home/david/tmp/nagios.test.cfg: uninitialized constant Puppet::Util::FileType::FileUtils nagios_host { 'hosting.black.co.at': target => '/home/david/tmp/nagios.test.cfg',
October 29, 2008
3:54AM EDT
by DavidS
View all 17 lines
root@puppetmaster:/tmp# cat nameclash.pp
class puppetmaster {
err("puppetmaster included")
}
May 30, 2008
8:10AM EDT
by DavidS
View all 39 lines
## the define define bind::zone() { $zone_file = "/var/lib/puppet/modules/bind/zone/contents/${name}" $zone_contents_d = "/var/lib/puppet/modules/bind/zone/contents.d/${name}"
May 21, 2008
11:39AM EDT
by DavidS
View all 21 lines
david@zion:~/tmp$ git clone git://github.com/lak/puppet.git Initialized empty Git repository in /home/david/tmp/puppet/.git/ remote: Counting objects: 36122, done. remote: Compressing objects: 100% (10014/10014), done. remote: Total 36122 (delta 25581), reused 36096 (delta 25558)
May 20, 2008
11:51AM EDT
by DavidS
View all 6 lines
david@zion:~/tmp$ echo muh > with david@zion:~/tmp$ cat with muh david@zion:~/tmp$ echo -n muh > without david@zion:~/tmp$ cat without
April 06, 2008
11:43AM EDT
by DavidS
root@puppetmaster:/srv/puppet/modules-production# cat hosting/.git/hooks/post-update #!/bin/sh git-checkout production git-reset --hard
March 07, 2008
10:15AM EDT
by DavidS
View all 44 lines
Luke Kanies schrieb: > Here's the changelog so far: Seems like I've managed to avoid all of these bugs in my manifests :)
February 29, 2008
8:12AM EDT
by DavidS
View all 10 lines
define hosting::mediawiki::symlink($from) { file { "${from}/${name}": ensure => "/usr/share/mediawiki1.7/${name}" } } hosting::mediawiki::symlink {
February 27, 2008
7:52AM EDT
by DavidS
View all 13 lines
## site.pp $use_munin = true ## some module
February 26, 2008
5:34AM EDT
by DavidS
View all 25 lines
## /tmp/recurse.pp file { "/tmp/plugins": source => "puppet://puppet/plugins", recurse => true;
February 26, 2008
5:33AM EDT
by DavidS
View all 25 lines
## /tmp/recurse.pp file { "/tmp/plugins": source => "puppet://puppet/plugins", recurse => true;
February 26, 2008
5:32AM EDT
by DavidS
View all 15 lines
root@puppetmaster:~/trunk# RUBYLIB=/home/david/trunk/lib:/var/lib/puppet/lib /home/david/trunk/bin/puppet --verbose --noop --trace /tmp/recurse.pp notice: //File[/tmp/dbp]/ensure: is absent, should be directory (noop) notice: //File[/tmp/dbp/locale.gen]/ensure: is absent, should be file (noop) notice: //File[/tmp/dbp/vimrc.sarge]/ensure: is absent, should be file (noop) notice: //File[/tmp/dbp/hosts]/ensure: is absent, should be file (noop)
