hectcastro/chef-statsd — pull request #6 by ChrisLundquist (2013-01-07 21:05:51+00:00)
Title: Jamie

* adds jamie testing, but with no tests
* fixes bug

```
================================================================================
Error executing action `restart` on resource 'service[statsd]'
================================================================================
Mixlib::ShellOut::ShellCommandFailed
------------------------------------
Expected process to exit with [0], but received '1'
---- Begin output of /sbin/service statsd stop ----
STDOUT: Stopping statsd daemon: [FAILED]
STDERR: kill: usage: kill [-s sigspec | -n signum | -sigspec] pid | jobspec ... or kill -l [sigspec]
---- End output of /sbin/service statsd stop ----
Ran /sbin/service statsd stop returned 1

Resource Declaration:
---------------------
# In /tmp/vagrant-chef-1/chef-solo-1/cookbooks/statsd/recipes/default.rb

67:
68: service "statsd" do
69: case node["platform"]
70: when "ubuntu"
71: if node["platform_version"].to_f >= 9.10
72: provider Chef::Provider::Service::Upstart
73: end
74: end

Compiled Resource:
------------------
# Declared in /tmp/vagrant-chef-1/chef-solo-1/cookbooks/statsd/recipes/default.rb:68:in `from_file'

service("statsd") do
action [:enable, :start]
updated true
supports {:restart=>false, :reload=>false, :status=>true}
retries 0
retry_delay 2
service_name "statsd"
pattern "statsd"
startup_type :automatic
cookbook_name :statsd
recipe_name "default"
end
```