This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
NoMethodError - undefined method `end_with?' for nil:NilClass: | |
/Users/james/.rvm/gems/ruby-1.9.3-p0/gems/puppet-lint-0.1.13/lib/puppet-lint/plugins/check_classes.rb:21:in `block (2 levels) in <class:CheckClasses>' | |
/Users/james/.rvm/gems/ruby-1.9.3-p0/gems/puppet-lint-0.1.13/lib/puppet-lint/plugins/check_classes.rb:12:in `each' | |
/Users/james/.rvm/gems/ruby-1.9.3-p0/gems/puppet-lint-0.1.13/lib/puppet-lint/plugins/check_classes.rb:12:in `block in <class:CheckClasses>' | |
/Users/james/.rvm/gems/ruby-1.9.3-p0/gems/puppet-lint-0.1.13/lib/puppet-lint/plugin.rb:68:in `block in run' | |
/Users/james/.rvm/gems/ruby-1.9.3-p0/gems/puppet-lint-0.1.13/lib/puppet-lint/plugin.rb:63:in `each' | |
/Users/james/.rvm/gems/ruby-1.9.3-p0/gems/puppet-lint-0.1.13/lib/puppet-lint/plugin.rb:63:in `run' | |
/Users/james/.rvm/gems/ruby-1.9.3-p0/gems/puppet-lint-0.1.13/lib/puppet-lint.rb:158:in `block in run' | |
/Users/james/.rvm/gems/ruby-1.9.3-p0/gems/puppet-lint-0.1.13/lib/puppet-lint.rb:157:in `each' | |
/Users/james/.rvm/gems/ruby-1.9.3-p0/gems/p |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class Item | |
include DataMapper::Resource | |
belongs_to :user | |
has n, :comments, :constraint => :destroy | |
has_tags | |
property :id, Serial |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
absinthe ~ $ sudo puppet master --no-daemonize --verbose --debug | |
Debug: Failed to load library 'shadow' for feature 'libshadow' | |
Debug: Puppet::Type::User::ProviderPw: file pw does not exist | |
Debug: Puppet::Type::User::ProviderLdap: true value when expecting false | |
Debug: Puppet::Type::User::ProviderUseradd: file userdel does not exist | |
Debug: Puppet::Type::User::ProviderUser_role_add: file roleadd does not exist | |
Debug: Executing '/usr/bin/dscl -plist . -list /Users' | |
Debug: Executing '/usr/bin/dscl -plist . -read /Users/puppet' | |
Debug: Executing '/usr/bin/plutil -convert xml1 -o /dev/stdout /var/db/dslocal/nodes/Default/users/puppet.plist' | |
Debug: Converting binary plist to XML |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ puppet-module build | |
/Library/Ruby/Gems/1.8/gems/puppet-3.0.0/lib/puppet/settings.rb:252:in `convert': Error converting value for param 'config': Could not find value for $confdir (Puppet::Settings::InterpolationError) | |
from /Library/Ruby/Gems/1.8/gems/puppet-3.0.0/lib/puppet/settings.rb:243:in `gsub' | |
from /Library/Ruby/Gems/1.8/gems/puppet-3.0.0/lib/puppet/settings.rb:243:in `convert' | |
from /Library/Ruby/Gems/1.8/gems/puppet-3.0.0/lib/puppet/settings.rb:971:in `value' | |
from /Library/Ruby/Gems/1.8/gems/puppet-3.0.0/lib/puppet/settings.rb:66:in `[]' | |
from /Library/Ruby/Gems/1.8/gems/puppet-module-0.3.4/bin/../lib/puppet/module/tool/cli.rb:15 | |
from /Library/Ruby/Site/1.8/rubygems/custom_require.rb:55:in `gem_original_require' | |
from /Library/Ruby/Site/1.8/rubygems/custom_require.rb:55:in `require' | |
from /Library/Ruby/Gems/1.8/gems/puppet-module-0.3.4/bin/../lib/puppet/module/tool.rb:121 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ java -verbose -jar build/logstash-1.1.6.dev-monolithic.jar web | |
... | |
[Loaded rubyjit.Module$$unresolved_deps_8A15E7251B80B0055F223148ACBDCB13FEAE83A7 from file:/root/logstash/build/logstash-1.1.6.dev-monolithic.jar] | |
[Loaded rubyjit.Kernel$$require_C75B74784C6C3A7DBEF22B75428A3430422985D5 from file:/root/logstash/build/logstash-1.1.6.dev-monolithic.jar] | |
Exception in thread "LogStash::Runner" org.jruby.exceptions.RaiseException: (LoadError) C extensions are disabled, can't load `jar:file:/root/logstash/build/logstash-1.1.6.dev-monolithic.jar!/gems/http_parser.rb-0.5.3/lib/ruby_http_parser.so' | |
at org.jruby.RubyKernel.require(org/jruby/RubyKernel.java:1019) | |
at Kernel.require(jar:file:/root/logstash/build/logstash-1.1.6.dev-monolithic.jar!/META-INF/jruby.home/lib/ruby/shared/rubygems/custom_require.rb:36) | |
at logstash.runner.require(logstash/runner.rb:10) | |
at RUBY.(root)(jar:file:/root/logstash/build/logstash-1.1.6.dev-monolithic.jar!/gems/http_parser.rb-0.5.3/lib/http_parser.rb:2) | |
at org.jruby.RubyKernel.requi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(^\d+\) .+)|(^.+Exception: .+)|(^\s+at .+)|(^\s+... \d+ more)|(^\s*Caused by:.+) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Postfix stuff | |
QUEUEID (?:[A-F0-9]+|NOQUEUE) | |
EMAILADDRESSPART [a-zA-Z0-9_.+-=:]+ | |
EMAILADDRESS %{EMAILADDRESSPART:local}@%{EMAILADDRESSPART:remote} | |
RELAY (?:%{HOSTNAME:relayhost}(?:\[%{IP:relayip}\](?::[0-9]+(.[0-9]+)?)?)?) | |
#RELAY (?:%{HOSTNAME:relayhost}(?:\[%{IP:relayip}\](?:%{POSREAL:relayport}))) | |
POSREAL [0-9]+(.[0-9]+)? | |
#DELAYS %{POSREAL:a}/%{POSREAL:b}/%{POSREAL:c}/%{POSREAL:d} | |
DELAYS (%{POSREAL}[/]*)+ | |
DSN %{NONNEGINT}.%{NONNEGINT}.%{NONNEGINT} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
grok { | |
tags => "postfix/smtpd" | |
pattern => [ "%{POSTFIXSMTPDCONNECTS}", | |
"%{POSTFIXSMTPDACTIONS}", | |
"%{POSTFIXSMTPDTIMEOUTS}", | |
"%{POSTFIXSMTPDLOGIN}", | |
"." ] | |
named_captures_only => true | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# matches and merges events like: | |
# Dec 28, 2012 8:11:53 PM jenkins.InitReactorRunner$1 onAttained | |
multiline { | |
type => "tomcat" | |
pattern => "(^\w{3}\s\d{2}\,\s\d{4}\s[0-9|:]+\s\w{2}\s)" | |
what => "next" | |
} | |
# matches stack traces |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Scenario one | |
Configuration: | |
multiline { | |
type => "tomcat" | |
pattern => "(^\w{3}\s\d{2}\,\s\d{4}\s[0-9|:]+\s\w{2}\s)" | |
what => "next" | |
add_tag => [ "merged" ] | |
} |