Skip to content

Instantly share code, notes, and snippets.

(setq user-full-name "Paul Lathrop"
user-mail-address "plathrop@digg.com")
(require 'cl)
(setq-default indent-tabs-mode nil)
(setq inhibit-startup-message t
require-final-newline t
backup-directory-alist'((".*" . "~/emacs/backups"))
#
# Make sure you set these constants properly!
#
# Set this to true if you are autosigning your certificates
AUTOSIGN = false
# Set this to the commands you need to run to stop your puppetmasterd
PUPPETMASTERD_STOP = [ "killall -9 puppetmasterd" ]
/Users/plathrop/Projects/OpenSource/puppet/spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:22:in `run': wrong number of arguments (0 for 1) (ArgumentError)
from /Users/plathrop/Projects/OpenSource/puppet/spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:22:in `run'
from /Users/plathrop/Projects/OpenSource/puppet/spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in `each'
from /Users/plathrop/Projects/OpenSource/puppet/spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in `run'
from /Library/Ruby/Gems/1.8/gems/rspec-1.1.12/lib/spec/runner/options.rb:111:in `run_examples'
from /Library/Ruby/Gems/1.8/gems/rspec-1.1.12/lib/spec/runner.rb:78:in `run'
from /Library/Ruby/Gems/1.8/gems/rspec-1.1.12/lib/spec/runner.rb:48:in `register_at_exit_hook'
from ./aliases.rb:11
resources {
"host":
purge => true;
}
host {
"localhost":
alias => ["services.digg.internal", "publicapi.digg.internal", "services.digg.com"],
ip => "127.0.0.1";
$fqdn:
configure:20197: checking if libgmp is available
configure:20233: g++ -o conftest -g -O2 -I/usr/local/include/ -L/usr/local/lib conftest.cpp -lgmp >&5
ld: warning in /usr/local/lib/libgmp.dylib, file is not of required architecture
Undefined symbols:
"___gmpz_init", referenced from:
_main in cc0YyHzm.o
"___gmpz_clear", referenced from:
_main in cc0YyHzm.o
ld: symbol(s) not found
collect2: ld returned 1 exit status
err: Could not retrieve catalog: Puppet::Parser::AST::Resource failed with error ArgumentError: Duplicate definition: Cron[rotate_dbmon_logs] is already defined in file /srv/puppet/production/modules/digg-db/manifests/instance.pp at line 63; cannot redefine at /srv/puppet/production/modules/digg-db/manifests/instance.pp:63 on node lun0022.digg.internal
== Rules ==
On Infrastructure
-----------------
There is one system, not a collection of systems.
The desired state of the system should be a known quantity.
The "known quantity" must be machine parseable.
The actual state of the system must self-correct to the desired state.
The only authoritative source for the actual state of the system is the system.
The entire system must be deployable using source media and text files.
Aug 24 19:05:01 s0002 puppetmasterd[28153]: Unknown function vblade_shelf at /home/plathrop/puppet/modules/digg-vblade/manifests/vblade-export.pp:4 on node s0233.digg.internal
We couldn’t find that file to show.
debug: Format pson not supported for Puppet::FileServing::Metadata; has not implemented method 'from_pson'
debug: Format s not supported for Puppet::FileServing::Metadata; has not implemented method 'from_s'
/usr/lib/ruby/1.8/puppet/type/file/content.rb:124:in `retrieve'
/usr/lib/ruby/1.8/puppet/type.rb:810:in `currentpropvalues'
/usr/lib/ruby/1.8/puppet/type/file.rb:693:in `inject'
/usr/lib/ruby/1.8/puppet/type.rb:802:in `each'
/usr/lib/ruby/1.8/puppet/type.rb:802:in `inject'
/usr/lib/ruby/1.8/puppet/type.rb:802:in `currentpropvalues'
/usr/lib/ruby/1.8/puppet/type.rb:790:in `retrieve'
/usr/lib/ruby/1.8/puppet/type/file.rb:638:in `retrieve'