cookbook 'aws-kinesis-agent', '~> 0.3.2'
aws-kinesis-agent (4) Versions 0.3.2 Follow1
Installs/Configures aws-kinesis-agent
cookbook 'aws-kinesis-agent', '~> 0.3.2', :supermarket
knife supermarket install aws-kinesis-agent
knife supermarket download aws-kinesis-agent
aws-kinesis-agent
Warning
The aws-kinesis-agent
requires Java, which is not installed in this cookbook.
The java
cookbook can be used to install it. aws-kinesis-agent
requires that
JAVA_HOME be set; the java_home
property can be used to set it for this
cookbook.
Properties
java_home
revision
Usage
Install, start and enable the aws-kinesis-agent
service.
ruby
aws_kinesis_agent 'install kinesis agent' do
java_home node['java']['java_home']
action [:install, :start, :enable]
end
The service can also be controlled using the Chef service resource
```ruby
aws_kinesis_agent 'install kinesis agent' do
java_home node['java']['java_home']
action [:install, :start, :enable]
end
service 'aws-kinesis-agent' do
action :nothing
end
template '/etc/aws-kinesis/agent.json' do
source 'agent.json.erb'
owner 'root'
group 'root'
mode 00644
variables delivery_stream: 'myKinesisFirehouseStream'
notifies :restart, 'service[aws-kinesis-agent]'
end
```
Resources
aws_kinesis_agent
aws_kinesis_agent 'install kinesis agent' do java_home node['java']['java_home'] action [:install, :start, :enable] end
aws_kinesis_config
aws_kinesis_config 'write kinesis config file' do log_level :info cloudwatch_emit_metrics true firehose_endpoint 'firehose.us-west-2.amazonaws.com' action :install end
aws_kinesis_flow
aws_kinesis_flow log do stream_type :firehose stream_name 'MyFirehoseStreamName' action :add end
Dependent cookbooks
apt >= 0.0.0 |
line >= 0.0.0 |
Contingent cookbooks
There are no cookbooks that are contingent upon this one.
Collaborator Number Metric
0.3.2 failed this metric
Failure: Cookbook has 0 collaborators. A cookbook must have at least 2 collaborators to pass this metric.
Contributing File Metric
0.3.2 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a CONTRIBUTING.md file
Foodcritic Metric
0.3.2 passed this metric
No Binaries Metric
0.3.2 passed this metric
Testing File Metric
0.3.2 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a TESTING.md file
Version Tag Metric
0.3.2 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must include a tag that matches this cookbook version number
0.3.2 failed this metric
0.3.2 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a CONTRIBUTING.md file
Foodcritic Metric
0.3.2 passed this metric
No Binaries Metric
0.3.2 passed this metric
Testing File Metric
0.3.2 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a TESTING.md file
Version Tag Metric
0.3.2 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must include a tag that matches this cookbook version number
0.3.2 passed this metric
0.3.2 passed this metric
Testing File Metric
0.3.2 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a TESTING.md file
Version Tag Metric
0.3.2 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must include a tag that matches this cookbook version number
0.3.2 failed this metric
0.3.2 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must include a tag that matches this cookbook version number