Skip to content

Instantly share code, notes, and snippets.

View stormsilver's full-sized avatar

Eric Hankins stormsilver

  • Storable
  • Kansas, USA
View GitHub Profile
{
"kernel": {
"modules": {
"ip_conntrack": {
"size": "65980",
"refcount": "1"
},
"dm_multipath": {
"size": "21776",
"refcount": "0"
{
"foo": {
"bar": "baz\tquux"
}
}
This is in my attributes file.
case fqdn
when "goofy.hosted.exlibrisgroup.com"
set[:monitoring][:services] = "goofy_service"
when "ldaptest1.hosted.exlibrisgroup.com"
set[:monitoring][:services] = "ldaptest1_service"
else
set[:monitoring][:services] = "other_service"
end
*** LOCAL GEMS ***
abstract (1.0.0)
amqp (0.6.5)
builder (2.1.2)
coderay (0.8.357)
cucumber (0.4.4)
deep_merge (0.1.0)
diff-lcs (1.1.2)
erubis (2.6.5)
diff --git a/chef/lib/chef/mixin/command.rb b/chef/lib/chef/mixin/command.rb
index ee80c7f..43af235 100644
--- a/chef/lib/chef/mixin/command.rb
+++ b/chef/lib/chef/mixin/command.rb
@@ -306,6 +306,9 @@ class Chef
begin
if args[:waitlast]
b[cid, *pi]
+ # send EOF so that if the child process is reading from STDIN
+ # it will actually finish up and exit
Last login: Tue Nov 24 15:51:08 on ttys013
ssilver@cynosure:~$ cd work/deployment/chef
ssilver@cynosure:~/work/deployment/chef$ sudo rake dev:features
(in /Users/ssilver/work/deployment/chef)
Apache CouchDB 0.10.0 (LogLevel=info) is starting.
Apache CouchDB has started. Time to relax.
[info] [<0.1.0>] Apache CouchDB has started on http://127.0.0.1:5984/
+---+ +---+
| | | |
@api @data @api_search @api_search_show
Feature: Search data via the REST API
In order to know about objects in the system
As a Developer
I want to search the objects
Scenario: Search for objects when none have been created # features/api/search/show_search.feature:7
Given a 'registration' named 'bobo' exists # features/steps/fixture_steps.rb:162
And a 'data_bag' named 'users' exists # features/steps/fixture_steps.rb:162
When I authenticate as 'bobo' # features/steps/request_steps.rb:53
ssilver@cynosure:~$ cd /Users/ssilver/work/deployment/chef && sudo rake dev:features:start:chef_solr_indexer
(in /Users/ssilver/work/deployment/chef)
Hit CTRL-C to destroy development environment
[Mon, 30 Nov 2009 14:59:29 -0600] INFO: [setup] setting log level to INFO
[Mon, 30 Nov 2009 14:59:29 -0600] INFO: [setup] setting log level to INFO
[Mon, 30 Nov 2009 14:59:29 -0600] WARN: Actors dir /Users/ssilver/work/deployment/chef/actors does not exist or is not reachable
[Mon, 30 Nov 2009 14:59:29 -0600] WARN: init.rb /Users/ssilver/work/deployment/chef/init.rb does not exist or is not reachable
[Mon, 30 Nov 2009 14:59:29 -0600] INFO: SEND [register] 7c3c4e54-ca10-46db-885c-42fba0f50269, tags:
[Mon, 30 Nov 2009 14:59:29 -0600] INFO: [actor] Chef::Solr::IndexActor, prefix index
[Mon, 30 Nov 2009 14:59:29 -0600] INFO: SEND [register] 7c3c4e54-ca10-46db-885c-42fba0f50269, services: /index/add, /index/delete, /index/commit, /index/optimize, tags:
merb : worker (port 4000) ~ Started request handling: Tue Dec 01 15:45:36 -0600 2009
merb : worker (port 4000) ~ Routed to: {"name"=>"eric", "action"=>"create", "controller"=>"chef_server_api/clients"}
merb : worker (port 4000) ~ Params: {"name"=>"eric", "action"=>"create", "controller"=>"chef_server_api/clients"}
[Tue, 01 Dec 2009 15:45:36 -0600] DEBUG: Headers in authenticate_every: {:connection=>"Keep-Alive", :via=>"1.1 chef08.sojern.com", :x_ops_timestamp=>"2009-12-01T21:45:36Z", :accept=>"application/json", :x_forwarded_server=>"chef08.sojern.com", :version=>"HTTP/1.1", :host=>"127.0.0.1:4000", :x_forwarded_proto=>"https", :authorization=>"c5T/cm+WsofQxYxapcHuc3UfZ73ZyOvc3mo7XlNlpKrfEdwpu1cCsITwEkRk\ttVpVEcDyfk6VILL/ab+0h5/PlKcskP6F0rfQApzuk5s/QbT9oLKemMpydq4I\tYUvu58inffEtmCYjGNr8GMT6IipgnGRerLhljII1GZ+OGajW6tUumHylaIPv\tFK/jrpDh54Cwws0Tg5Fwj5INnm3L+/USefBQYWqAeZM7Nso4JLUCxQyi+KAn\t2pRnn6uFEW97e+DCq56M3iMBeZR6e2rTN51eX77iydDN+lsUrhof9Zs689PF\tdQbM2dPc9O0kZPIVvm9eX4iGPmnxJuHTt/zSLlvV5Q==", :x_forwarded_f
We couldn’t find that file to show.