lusis/chef-logstash — pull request #267 by pburkholder (2014-04-15 15:02:39+00:00)
Title: Wrapper service2

When using the chef-logstash 1.4 branch with my own wrapper cookbook, `kitchen converge` was giving me errors like:

````
================================================================================
Error executing action `create` on resource 'template[/etc/init/logstash_server.conf]'
================================================================================

Chef::Exceptions::FileNotFound
------------------------------
Cookbook 'wrapper-logstash' (0.1.0) does not contain a file at any of these locations:
templates/ubuntu-12.04/init/binary_upstart.erb
templates/ubuntu/init/binary_upstart.erb
templates/default/init/binary_upstart.erb
````

on a recipe that was essentially:

````
name = 'wrapper'
node.default['logstash']['instance'][name] = node['logstash']['instance']['default']

logstash_instance name do
action :create
end

logstash_service name do
service_name 'logstash_server'
action [:enable]
end
````
I've not been able to get the same errors with chefspec, so I don't have a test that demonstrates this, but this PR does work for me