My Recent Pastes (3 and counting)
Recent Pasties by benp- (3 and counting)
Below are summaries of the 3 most recent pasties by benp-.
May 29, 2008
7:13PM EDT
by benp-
View more (8 lines)
1 2 3 4 5 |
Facter.add("redhatrelease") do confine :kernel => :linux setcode do if FileTest.exists?("/etc/redhat-release") File.readlines("/etc/redhat-release").to_s.chomp.match(/(.*)\srelease\s(\S*)/)[2] |
May 22, 2008
2:31PM EDT
by benp-
View more (435 lines)
1 2 3 4 5 |
# The base class for all of our Nagios object types. Everything else # is mostly just data. class Nagios::Base class UnknownNagiosType < RuntimeError # When an unknown type is asked for by name. |
February 01, 2008
5:59PM EDT
by benp-
View more (11 lines)
1 2 3 4 5 |
class testy { } node flug { include testy |
Pastie