My Recent Pastes (3 and counting)
Pastes by benp- (3 and counting)
Below are the 3 most recent pasties by benp-.
May 29, 2008
7:13PM EDT
by benp-
View more (8 lines)
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)
# 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)
class testy { } node flug { include testy
