My Recent Pastes (75 and counting)
Pastes by fujin (75 and counting)
Below are the 15 most recent pasties by fujin.
April 24, 2008
11:16PM EDT
by fujin
View all 21 lines
# return the set of active interfaces as an array Facter.add("interfaces") do setcode do `ip -o link show`.split(/\n/).collect do |line| value = nil
April 24, 2008
10:28PM EDT
by fujin
View all 27 lines
root@junglist (branch: master) /etc/puppet# puppetd --test info: Loading fact configured_ntp_servers info: Loading fact netmask info: Loading fact acpi_available info: Loading fact interfaces
April 23, 2008
7:19PM EDT
by fujin
View all 45 lines
root@junglist /tmp# ./test.pp --debug info: Loading fact configured_ntp_servers info: Loading fact netmask info: Loading fact acpi_available info: Loading fact interfaces
April 17, 2008
6:38AM EDT
by fujin
View all 37 lines
## root@junglist:~# ./test.rb ## puppetlast ## 2099.5 minutes ago: junglist.gen.nz ## 86692.5 minutes ago: junglist.junglist.gen.nz ## root@junglist:~# cat test.rb
April 16, 2008
6:02PM EDT
by fujin
View all 20 lines
root@junglist /tmp# ./test.pp Parent classes must have dissimilar names at /tmp/./test.pp:13 on node junglist root@junglist /tmp# cat test.pp #!/usr/bin/env puppet
April 15, 2008
5:36PM EDT
by fujin
View all 35 lines
Listen 8140 ProxyRequests Off <Proxy balancer://puppet>
April 14, 2008
7:26PM EDT
by fujin
View all 36 lines
#!/usr/bin/env puppet class openntpd::common { package { "openntpd":
March 27, 2008
5:48PM EDT
by fujin
View all 22 lines
define nagios::service (
$nagios_template = 'generic-service',
$host_name = $fqdn,
$service_groups = '',
$contact_groups = $default_contact_group,
March 09, 2008
7:17PM EDT
by fujin
View all 14 lines
#This will install the package, but not do an apt update first: exec { "aptitude update": path => "/usr/bin",
March 06, 2008
6:57PM EDT
by fujin
View all 25 lines
root@junglist /tmp# cat ./test.pp #!/usr/bin/env puppet define lettemknow($msg) { notice("$title and $msg")
March 05, 2008
6:17PM EDT
by fujin
View all 23 lines
fileserver.conf --------------- [files] path /var/lib/puppet/files allow 10.0.0.0/24
March 05, 2008
6:02PM EDT
by fujin
View all 16 lines
root@junglist /tmp# ./test.pp --debug info: Loading fact configured_ntp_servers info: Loading fact netmask info: Loading fact virtual info: Loading fact acpi_available
January 20, 2008
4:32PM EDT
by fujin
View all 7 lines
mailalias {
puppet:
ensure => present,
target => "/etc/aliases",
recipient => [ "arjuna.christensen@maxnet.co.nz", "tony.jenness@maxnet.co.nz" ],
January 19, 2008
12:17AM EDT
by fujin
View all 30 lines
#You can make use of overrides:
class client_a inherits client_system {
User["root"] {
password => "hash"