My Recent Pastes (26 and counting)
Pastes by holoway (26 and counting)
Below are the 11 most recent pasties by holoway.
May 02, 2008
3:17PM EDT
by holoway
View all 12 lines
# manifest $foo = tagged("someclass") # template <% if foo %>
May 01, 2008
8:46PM EDT
by holoway
View all 9 lines
$apache_name = $lsbdistid ? { "Debian" => "apache2", "CentOS" => "httpd", }
May 01, 2008
6:58PM EDT
by holoway
View all 72 lines
# modules/mongrel_runit/init.pp class mongrel-runit { include runit gem_package { "mongrel_runit":
May 01, 2008
6:54PM EDT
by holoway
View all 34 lines
define remotefile($owner = root, $group = root, $path, $mode, $source, $backup = true, $recurse = false, $module) { $filedist = "$lsbdistid-$lsbdistrelease" file {
April 30, 2008
7:01PM EDT
by holoway
View all 46 lines
[hjk-adam@ops1]% cat iclassify.yml /etc/mongrel_runit --- port: 5000 servers: 5 environment: production
April 07, 2008
6:00PM EDT
by holoway
View all 35 lines
<% require '/srv/icagent/lib/iclassify' -%>
<% ichosts = IClassify::Client.new("https://iclassify", iclassify_user, iclassify_password) -%>
<% nagios_hosts_nodes = ichosts.search(nagios_iclassify_search) -%>
<% nagios_hosts_nodes.each do |node| -%>
define host{
April 07, 2008
2:49PM EDT
by holoway
View all 16 lines
it "should recognize when the file has not changed" do puts "now: #{Time.now}" faketime = (Time.now - Puppet[:filetimeout]) puts "faketime: #{faketime}" File::Stat.stub!(:ctime).and_return(faketime) # normal rspec syntax
March 19, 2008
3:20PM EDT
by holoway
View all 32 lines
diff --git a/lib/puppet/network/http_pool.rb b/lib/puppet/network/http_pool.rb index 99f09a9..93a1d15 100644 --- a/lib/puppet/network/http_pool.rb +++ b/lib/puppet/network/http_pool.rb @@ -53,13 +53,13 @@ module Puppet::Network::HttpPool
January 20, 2008
4:33PM EDT
by holoway
View all 29 lines
require 'puppet/provider/parsedfile' Puppet::Type.type(:mailalias).provide(:aliases, :parent => Puppet::Provider::ParsedFile, :default_target => "/etc/aliases",
December 11, 2007
5:04PM EDT
by holoway
View all 159 lines
class perlbal { include perl cpan_module { "IO::AIO": } cpan_module { "Perlbal":
