chef-handler-sns 1.0.0.beta.1 → 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +11 -1
- data/lib/chef/handler/sns/version.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7bfcb555c086dcc166d90531da24483459f72e83
|
4
|
+
data.tar.gz: 4ff9d560ba54be282c9efeb9595a6ad12b471fbe
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4fe21997780eebbda502e774c179c2e11fef890c4f5506bbeb39b4c81b2cf68357493909d32983779ce7715d5c5c637c3b417fabc3f6ebe7a579967eb0210cfa
|
7
|
+
data.tar.gz: 378efacd20133aad1373579a8307f9b963a39f443560d58534a113811a87a8d35b49bfd2a3a5414da15e76eead051e1e2160ba8d3ea6f435bc23b3260f730dd4
|
data/README.md
CHANGED
@@ -12,12 +12,13 @@ This Chef Handler is heavily based on [Joshua Timberman](https://github.com/jtim
|
|
12
12
|
[![Dependency Status](https://gemnasium.com/onddo/chef-handler-sns.png)](https://gemnasium.com/onddo/chef-handler-sns)
|
13
13
|
[![Code Climate](https://codeclimate.com/github/onddo/chef-handler-sns.png)](https://codeclimate.com/github/onddo/chef-handler-sns)
|
14
14
|
[![Build Status](https://travis-ci.org/onddo/chef-handler-sns.png)](https://travis-ci.org/onddo/chef-handler-sns)
|
15
|
+
[![Coverage Status](https://coveralls.io/repos/onddo/chef-handler-sns/badge.png?branch=master)](https://coveralls.io/r/onddo/chef-handler-sns?branch=master)
|
15
16
|
|
16
17
|
## Requirements
|
17
18
|
|
18
19
|
* Amazon AWS: uses Amazon SNS service.
|
19
20
|
* Uses the `aws-sdk` library.
|
20
|
-
* `aws-sdk` requires `nokogiri`, which also has the following
|
21
|
+
* `aws-sdk` requires `nokogiri`, which also has the following requirements:
|
21
22
|
* `libxml2-dev` and `libxslt-dev` installed (optional).
|
22
23
|
* `gcc` and `make` installed (this will compile and install libxml2 and libxslt internally if not found).
|
23
24
|
* For `Ruby 1.8`, you need to install old versions of the following dependencies:
|
@@ -66,6 +67,9 @@ argument_array = [
|
|
66
67
|
:topic_arn => "arn:aws:sns:***",
|
67
68
|
]
|
68
69
|
|
70
|
+
# Depends on the `xml` cookbook to install nokogiri
|
71
|
+
include_recipe "xml::ruby"
|
72
|
+
|
69
73
|
# Install the `chef-handler-sns` RubyGem during the compile phase
|
70
74
|
chef_gem "chef-handler-sns"
|
71
75
|
|
@@ -88,6 +92,9 @@ argument_array = [
|
|
88
92
|
:topic_arn => "arn:aws:sns:***",
|
89
93
|
]
|
90
94
|
|
95
|
+
# Depends on the `xml` cookbook to install nokogiri
|
96
|
+
include_recipe "xml::ruby"
|
97
|
+
|
91
98
|
# Install the `chef-handler-sns` RubyGem during the compile phase
|
92
99
|
if defined?(Chef::Resource::ChefGem)
|
93
100
|
chef_gem "chef-handler-sns"
|
@@ -136,6 +143,9 @@ exception_handlers << Chef::Handler::Sns.new({
|
|
136
143
|
Use the [chef_handler LWRP](http://community.opscode.com/cookbooks/chef_handler), creating a recipe with the following:
|
137
144
|
|
138
145
|
```ruby
|
146
|
+
# Depends on the `xml` cookbook to install nokogiri
|
147
|
+
include_recipe "xml::ruby"
|
148
|
+
|
139
149
|
# Install the `chef-handler-sns` RubyGem during the compile phase
|
140
150
|
chef_gem "chef-handler-sns"
|
141
151
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: chef-handler-sns
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.0
|
4
|
+
version: 1.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Onddo Labs, SL.
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-02-
|
11
|
+
date: 2014-02-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk
|
@@ -155,9 +155,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
155
155
|
version: '0'
|
156
156
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
157
157
|
requirements:
|
158
|
-
- - '
|
158
|
+
- - '>='
|
159
159
|
- !ruby/object:Gem::Version
|
160
|
-
version:
|
160
|
+
version: '0'
|
161
161
|
requirements: []
|
162
162
|
rubyforge_project:
|
163
163
|
rubygems_version: 2.0.6
|