Created
August 27, 2015 14:37
-
-
Save dr3s/c3652d8f144049c0ed6e to your computer and use it in GitHub Desktop.
This file contains hidden or 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
name = 'server' | |
# the logstash agent instance | |
logstash_instance name do | |
action :create | |
end | |
# the service that manages the instance | |
logstash_service name do | |
action [:enable] | |
end | |
logstash_config name do | |
action [:create] | |
notifies :restart, "logstash_service[#{name}]" | |
end | |
logstash_pattern name do | |
action [:create] | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment