cfer-provisioning 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +11 -0
- data/.rspec +2 -0
- data/.travis.yml +4 -0
- data/CODE_OF_CONDUCT.md +13 -0
- data/Gemfile +14 -0
- data/LICENSE.txt +21 -0
- data/README.md +41 -0
- data/Rakefile +6 -0
- data/cfer-provisioning.gemspec +28 -0
- data/lib/cfer/provisioning/cfn-bootstrap.rb +195 -0
- data/lib/cfer/provisioning/chef.rb +98 -0
- data/lib/cfer/provisioning/version.rb +5 -0
- data/lib/cfer/provisioning.rb +22 -0
- data/parameters.yaml.example +1 -0
- metadata +129 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 0aa1b48f4bffa706855d32177faaa55a4476736b
|
4
|
+
data.tar.gz: 0ada7fd8a30530eaafe67a570f82a04f41fa45df
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: f61e01d00c87ea8b1d416e923e67703461ad1acb15818d5677d9d4d54bfd52435f8c7e23c4ccb22f9dee431ccb4cb1f0f6fe3c9ab1e3f509df2f5879e8caa8af
|
7
|
+
data.tar.gz: 9513daf68578dc9356eb928cde89944cb3fcdd5b73d2393df47f6016f436a21f30362063ebaea92d867db7264ecef9cb7a74d8064b0d99cfb49002d57fa25949
|
data/.gitignore
ADDED
data/.rspec
ADDED
data/.travis.yml
ADDED
data/CODE_OF_CONDUCT.md
ADDED
@@ -0,0 +1,13 @@
|
|
1
|
+
# Contributor Code of Conduct
|
2
|
+
|
3
|
+
As contributors and maintainers of this project, we pledge to respect all people who contribute through reporting issues, posting feature requests, updating documentation, submitting pull requests or patches, and other activities.
|
4
|
+
|
5
|
+
We are committed to making participation in this project a harassment-free experience for everyone, regardless of level of experience, gender, gender identity and expression, sexual orientation, disability, personal appearance, body size, race, ethnicity, age, or religion.
|
6
|
+
|
7
|
+
Examples of unacceptable behavior by participants include the use of sexual language or imagery, derogatory comments or personal attacks, trolling, public or private harassment, insults, or other unprofessional conduct.
|
8
|
+
|
9
|
+
Project maintainers have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct. Project maintainers who do not follow the Code of Conduct may be removed from the project team.
|
10
|
+
|
11
|
+
Instances of abusive, harassing, or otherwise unacceptable behavior may be reported by opening an issue or contacting one or more of the project maintainers.
|
12
|
+
|
13
|
+
This Code of Conduct is adapted from the [Contributor Covenant](http://contributor-covenant.org), version 1.0.0, available at [http://contributor-covenant.org/version/1/0/0/](http://contributor-covenant.org/version/1/0/0/)
|
data/Gemfile
ADDED
data/LICENSE.txt
ADDED
@@ -0,0 +1,21 @@
|
|
1
|
+
The MIT License (MIT)
|
2
|
+
|
3
|
+
Copyright (c) 2016 Sean Edwards
|
4
|
+
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
7
|
+
in the Software without restriction, including without limitation the rights
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
10
|
+
furnished to do so, subject to the following conditions:
|
11
|
+
|
12
|
+
The above copyright notice and this permission notice shall be included in
|
13
|
+
all copies or substantial portions of the Software.
|
14
|
+
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
21
|
+
THE SOFTWARE.
|
data/README.md
ADDED
@@ -0,0 +1,41 @@
|
|
1
|
+
# Cfer::Provisioning
|
2
|
+
|
3
|
+
Welcome to your new gem! In this directory, you'll find the files you need to be able to package up your Ruby library into a gem. Put your Ruby code in the file `lib/cfer/provisioning`. To experiment with that code, run `bin/console` for an interactive prompt.
|
4
|
+
|
5
|
+
TODO: Delete this and the text above, and describe your gem
|
6
|
+
|
7
|
+
## Installation
|
8
|
+
|
9
|
+
Add this line to your application's Gemfile:
|
10
|
+
|
11
|
+
```ruby
|
12
|
+
gem 'cfer-provisioning'
|
13
|
+
```
|
14
|
+
|
15
|
+
And then execute:
|
16
|
+
|
17
|
+
$ bundle
|
18
|
+
|
19
|
+
Or install it yourself as:
|
20
|
+
|
21
|
+
$ gem install cfer-provisioning
|
22
|
+
|
23
|
+
## Usage
|
24
|
+
|
25
|
+
TODO: Write usage instructions here
|
26
|
+
|
27
|
+
## Development
|
28
|
+
|
29
|
+
After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
|
30
|
+
|
31
|
+
To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).
|
32
|
+
|
33
|
+
## Contributing
|
34
|
+
|
35
|
+
Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/cfer-provisioning. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](contributor-covenant.org) code of conduct.
|
36
|
+
|
37
|
+
|
38
|
+
## License
|
39
|
+
|
40
|
+
The gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).
|
41
|
+
|
data/Rakefile
ADDED
@@ -0,0 +1,28 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
lib = File.expand_path('../lib', __FILE__)
|
3
|
+
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
4
|
+
require 'cfer/provisioning/version'
|
5
|
+
|
6
|
+
Gem::Specification.new do |spec|
|
7
|
+
spec.name = "cfer-provisioning"
|
8
|
+
spec.version = Cfer::Provisioning::VERSION
|
9
|
+
spec.authors = ["Sean Edwards"]
|
10
|
+
spec.email = ["stedwards87+git@gmail.com"]
|
11
|
+
|
12
|
+
spec.summary = %q{Provisioning tools for Cfer}
|
13
|
+
spec.description = %q{Provisioning tools for Cfer}
|
14
|
+
spec.homepage = "https://github.com/seanedwards/cfer-provisioning"
|
15
|
+
spec.license = "MIT"
|
16
|
+
|
17
|
+
spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
|
18
|
+
spec.bindir = "exe"
|
19
|
+
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
20
|
+
spec.require_paths = ["lib"]
|
21
|
+
|
22
|
+
spec.add_development_dependency "bundler", "~> 1.10"
|
23
|
+
spec.add_development_dependency "rake", "~> 10.0"
|
24
|
+
spec.add_development_dependency "rspec", '~> 3.4'
|
25
|
+
spec.add_development_dependency "serverspec", '~> 2.34'
|
26
|
+
|
27
|
+
spec.add_runtime_dependency 'cfer', '~> 0.4'
|
28
|
+
end
|
@@ -0,0 +1,195 @@
|
|
1
|
+
module Cfer::Provisioning
|
2
|
+
|
3
|
+
def cfn_metadata
|
4
|
+
self[:Metadata] ||= {}
|
5
|
+
end
|
6
|
+
|
7
|
+
def cfn_auth(name, options = {})
|
8
|
+
cfn_metadata['AWS::CloudFormation::Authentication'] ||= {}
|
9
|
+
cfn_metadata['AWS::CloudFormation::Authentication'][name] = options
|
10
|
+
end
|
11
|
+
|
12
|
+
def cfn_init_setup(options = {})
|
13
|
+
cfn_metadata['AWS::CloudFormation::Init'] = {}
|
14
|
+
|
15
|
+
script = [ "#!/bin/bash -xe\n" ]
|
16
|
+
|
17
|
+
script.concat [
|
18
|
+
"command -v cfn-init 2>&1 || {\n",
|
19
|
+
]
|
20
|
+
script.concat case options[:flavor]
|
21
|
+
when :redhat, :centos, :amazon
|
22
|
+
[
|
23
|
+
"rpm -Uvh https://s3.amazonaws.com/cloudformation-examples/aws-cfn-bootstrap-latest.amzn1.noarch.rpm\n"
|
24
|
+
]
|
25
|
+
when :ubuntu, :debian, nil
|
26
|
+
[
|
27
|
+
"apt-get update --fix-missing\n",
|
28
|
+
"apt-get install -y python-pip\n",
|
29
|
+
"pip install setuptools\n",
|
30
|
+
"easy_install https://s3.amazonaws.com/cloudformation-examples/aws-cfn-bootstrap-latest.tar.gz\n",
|
31
|
+
]
|
32
|
+
end
|
33
|
+
script.concat [
|
34
|
+
"}\n"
|
35
|
+
]
|
36
|
+
|
37
|
+
script.concat [
|
38
|
+
"# Helper function\n",
|
39
|
+
"function error_exit\n",
|
40
|
+
"{\n",
|
41
|
+
]
|
42
|
+
|
43
|
+
if options[:signal]
|
44
|
+
script.concat [
|
45
|
+
"/usr/local/bin/cfn-signal",
|
46
|
+
" -s false",
|
47
|
+
" --resource '", options[:signal], "'",
|
48
|
+
" --stack ", Cfer::Cfn::AWS::stack_name,
|
49
|
+
" --region ", Cfer::Cfn::AWS::region,
|
50
|
+
"\n"
|
51
|
+
]
|
52
|
+
end
|
53
|
+
|
54
|
+
script.concat [
|
55
|
+
" exit 1\n",
|
56
|
+
"}\n"
|
57
|
+
]
|
58
|
+
|
59
|
+
|
60
|
+
script.concat [
|
61
|
+
"/usr/local/bin/cfn-init",
|
62
|
+
" --configsets '", Cfer::Core::Fn::join(',', options[:cfn_init_config_set]) || raise('Please specify a `cfn_init_config_set`'), "'",
|
63
|
+
" --stack ", Cfer::Cfn::AWS::stack_name,
|
64
|
+
" --resource ", @name,
|
65
|
+
" --region ", Cfer::Cfn::AWS::region,
|
66
|
+
" || error_exit 'Failed to run cfn-init'\n"
|
67
|
+
]
|
68
|
+
|
69
|
+
if options[:cfn_hup_config_set]
|
70
|
+
cfn_hup(options)
|
71
|
+
|
72
|
+
script.concat [
|
73
|
+
"/usr/local/bin/cfn-hup || error_exit 'Failed to start cfn-hup'\n"
|
74
|
+
]
|
75
|
+
end
|
76
|
+
|
77
|
+
if options[:signal]
|
78
|
+
script.concat [
|
79
|
+
"/usr/local/bin/cfn-signal",
|
80
|
+
" -s true",
|
81
|
+
" --resource '", options[:signal], "'",
|
82
|
+
" --stack ", Cfer::Cfn::AWS::stack_name,
|
83
|
+
" --region ", Cfer::Cfn::AWS::region,
|
84
|
+
"\n"
|
85
|
+
]
|
86
|
+
end
|
87
|
+
|
88
|
+
user_data Cfer::Core::Fn::base64(
|
89
|
+
Cfer::Core::Fn::join('', script)
|
90
|
+
)
|
91
|
+
end
|
92
|
+
|
93
|
+
def config_set(name)
|
94
|
+
{ "ConfigSet" => name }
|
95
|
+
end
|
96
|
+
|
97
|
+
def cfn_init_config_set(name, sections)
|
98
|
+
cfg_sets = cloudformation_init['configSets'] || { 'default' => [] }
|
99
|
+
cfg_set = Set.new(cfg_sets[name] || [])
|
100
|
+
cfg_set.merge sections
|
101
|
+
cfg_sets[name] = cfg_set.to_a
|
102
|
+
cloudformation_init['configSets'] = cfg_sets
|
103
|
+
end
|
104
|
+
|
105
|
+
def cfn_init_config(name, options = {}, &block)
|
106
|
+
cfg = ConfigSet.new(cloudformation_init[name])
|
107
|
+
Docile.dsl_eval(cfg, &block)
|
108
|
+
cloudformation_init[name] = cfg.to_h
|
109
|
+
end
|
110
|
+
|
111
|
+
private
|
112
|
+
|
113
|
+
class ConfigSet
|
114
|
+
def initialize(hash)
|
115
|
+
@config_set = hash || {}
|
116
|
+
end
|
117
|
+
|
118
|
+
def to_h
|
119
|
+
@config_set
|
120
|
+
end
|
121
|
+
|
122
|
+
def commands
|
123
|
+
@config_set['commands'] ||= {}
|
124
|
+
end
|
125
|
+
|
126
|
+
def files
|
127
|
+
@config_set['files'] ||= {}
|
128
|
+
end
|
129
|
+
|
130
|
+
def packages
|
131
|
+
@config_set['packages'] ||= {}
|
132
|
+
end
|
133
|
+
|
134
|
+
def command(name, cmd, options = {})
|
135
|
+
commands[name] = options.merge('command' => cmd)
|
136
|
+
end
|
137
|
+
|
138
|
+
def file(path, options = {})
|
139
|
+
files[path] = options
|
140
|
+
end
|
141
|
+
|
142
|
+
def package(type, name, versions = [])
|
143
|
+
packages[type] ||= {}
|
144
|
+
packages[type][name] = versions
|
145
|
+
end
|
146
|
+
end
|
147
|
+
|
148
|
+
def cloudformation_init(options = {})
|
149
|
+
cfn_metadata['AWS::CloudFormation::Init'] ||= {}
|
150
|
+
end
|
151
|
+
|
152
|
+
|
153
|
+
def cfn_hup(options)
|
154
|
+
resource_name = @name
|
155
|
+
target_config_set = options[:cfn_hup_config_set] || raise('Please specify a `cfn_hup_config_set`')
|
156
|
+
|
157
|
+
cfn_init_config_set :cfn_hup, [ :cfn_hup ]
|
158
|
+
|
159
|
+
cfn_init_config(:cfn_hup) do
|
160
|
+
if options[:access_key] && options[:secret_key]
|
161
|
+
file '/etc/cfn/cfn-credentials', content: Cfer::Core::Fn::join('', [
|
162
|
+
"AWSAccessKeyId=", options[:access_key], "\n",
|
163
|
+
"AWSSecretKey=", options[:secret_key], "\n"
|
164
|
+
]),
|
165
|
+
mode: '000400',
|
166
|
+
owner: 'root',
|
167
|
+
group: 'root'
|
168
|
+
end
|
169
|
+
|
170
|
+
file '/etc/cfn/cfn-hup.conf', content: Cfer::Core::Fn::join('', [
|
171
|
+
"[main]\n",
|
172
|
+
"stack=", Cfer::Cfn::AWS::stack_name, "\n",
|
173
|
+
"region=", Cfer::Cfn::AWS::region, "\n",
|
174
|
+
"interval=", options[:interval] || 1, "\n"
|
175
|
+
]),
|
176
|
+
mode: '000400',
|
177
|
+
owner: 'root',
|
178
|
+
group: 'root'
|
179
|
+
|
180
|
+
file '/etc/cfn/hooks.d/cfn-init-reload.conf', content: Cfer::Core::Fn::join('', [
|
181
|
+
"[cfn-auto-reloader-hook]\n",
|
182
|
+
"triggers=post.update\n",
|
183
|
+
"path=Resources.#{resource_name}.Metadata\n",
|
184
|
+
"action=/usr/local/bin/cfn-init",
|
185
|
+
" -c '", Cfer::Core::Fn::join(',', target_config_set), "'",
|
186
|
+
" -s ", Cfer::Cfn::AWS::stack_name,
|
187
|
+
" --region ", Cfer::Cfn::AWS::region,
|
188
|
+
" -r #{resource_name}",
|
189
|
+
"\n",
|
190
|
+
"runas=root\n"
|
191
|
+
])
|
192
|
+
end
|
193
|
+
end
|
194
|
+
end
|
195
|
+
|
@@ -0,0 +1,98 @@
|
|
1
|
+
module Cfer::Provisioning
|
2
|
+
|
3
|
+
def install_chef(options = {})
|
4
|
+
setup_set = [ :install_chef ]
|
5
|
+
cfn_init_config :install_chef do
|
6
|
+
command :install_chef, "curl https://www.opscode.com/chef/install.sh | bash -s -- -v #{options[:version] || 'latest'}"
|
7
|
+
command :make_ohai_hints, 'mkdir -p /etc/chef/ohai/hints && touch /etc/chef/ohai/hints/ec2.json'
|
8
|
+
command :make_chefdir, 'mkdir -p /var/chef/cookbooks && mkdir -p /var/chef/data_bags'
|
9
|
+
end
|
10
|
+
|
11
|
+
if options[:berksfile]
|
12
|
+
cfn_init_config :install_berkshelf do
|
13
|
+
file '/var/chef/berkshelf.sh', content: <<-EOF.strip_heredoc
|
14
|
+
export BERKSHELF_PATH=/var/chef/berkshelf
|
15
|
+
|
16
|
+
# Some cookbooks have UTF-8, and cfn-init uses US-ASCII because of reasons
|
17
|
+
export LANG=en_US.UTF-8
|
18
|
+
export RUBYOPTS="-E utf-8"
|
19
|
+
|
20
|
+
# Berkshelf seems a bit unreliable, so retry these commands a couple times.
|
21
|
+
if [ -e Berksfile.lock ]
|
22
|
+
then
|
23
|
+
for i in {1..3}; do /opt/chef/embedded/bin/berks update && break || sleep 15; done
|
24
|
+
fi
|
25
|
+
for i in {1..3}; do /opt/chef/embedded/bin/berks vendor /var/chef/cookbooks -b /var/chef/Berksfile && break || sleep 15; done
|
26
|
+
EOF
|
27
|
+
command :install_berkshelf, '/opt/chef/embedded/bin/gem install berkshelf --no-ri --no-rdoc'
|
28
|
+
command :install_git, 'apt-get install -y git'
|
29
|
+
end
|
30
|
+
setup_set.append :install_berkshelf
|
31
|
+
end
|
32
|
+
|
33
|
+
if options[:berksfile]
|
34
|
+
cfn_init_config :run_berkshelf do
|
35
|
+
file '/var/chef/Berksfile', content: options[:berksfile].strip_heredoc
|
36
|
+
command :run_berkshelf, 'bash -l /var/chef/berkshelf.sh', cwd: '/var/chef'
|
37
|
+
end
|
38
|
+
end
|
39
|
+
|
40
|
+
cfn_init_config_set :install_chef, setup_set
|
41
|
+
end
|
42
|
+
|
43
|
+
def set_chef_json(json = {})
|
44
|
+
self[:Metadata]['CferExt::Provisioning::Chef'] = json || {}
|
45
|
+
end
|
46
|
+
|
47
|
+
def build_write_json_cmd(chef_solo_json_path)
|
48
|
+
Cfer::Core::Fn.join('', [
|
49
|
+
"mkdir -p #{File.dirname(chef_solo_json_path)} && cfn-get-metadata --region ",
|
50
|
+
Cfer::Cfn::AWS.region,
|
51
|
+
' -s ', Cfer::Cfn::AWS.stack_name, ' -r ', @name,
|
52
|
+
" | python -c 'import sys; import json; print " \
|
53
|
+
"json.dumps(json.loads(sys.stdin.read()).get(" \
|
54
|
+
'"CferExt::Provisioning::Chef", {}), sort_keys=True, indent=2)',
|
55
|
+
"' > #{chef_solo_json_path}"
|
56
|
+
])
|
57
|
+
end
|
58
|
+
|
59
|
+
def chef_solo(options = {})
|
60
|
+
raise "Chef already configured on this resource" if @chef
|
61
|
+
@chef = true
|
62
|
+
|
63
|
+
chef_solo_config_path = options[:config_path] || '/etc/chef/solo.rb'
|
64
|
+
chef_solo_json_path = options[:json_path] || '/etc/chef/config.json'
|
65
|
+
|
66
|
+
chef_cookbook_path = options[:cookbook_path] || '/var/chef/cookbooks'
|
67
|
+
chef_log_path = options[:log_path] || '/var/log/chef-client.log'
|
68
|
+
|
69
|
+
install_chef(options) unless options[:no_install]
|
70
|
+
|
71
|
+
set_chef_json(options[:json])
|
72
|
+
write_json_cmd = build_write_json_cmd(chef_solo_json_path)
|
73
|
+
|
74
|
+
cfn_init_config :write_chef_json do
|
75
|
+
command :write_chef_json, write_json_cmd
|
76
|
+
end
|
77
|
+
|
78
|
+
cfn_init_config :run_chef do
|
79
|
+
file chef_solo_config_path, content: options[:solo_rb] || Cfer::Core::Fn.join("\n", [
|
80
|
+
"cookbook_path '#{chef_cookbook_path}'",
|
81
|
+
"log_location '#{chef_log_path}'",
|
82
|
+
""
|
83
|
+
]),
|
84
|
+
owner: 'root',
|
85
|
+
group: 'root'
|
86
|
+
|
87
|
+
chef_cmd = "chef-solo -c '#{chef_solo_config_path}' -j '#{chef_solo_json_path}'"
|
88
|
+
chef_cmd << " -o '#{options[:run_list].join(',')}'" if options[:run_list]
|
89
|
+
|
90
|
+
command :run_chef, chef_cmd
|
91
|
+
end
|
92
|
+
|
93
|
+
run_set = [ :write_chef_json, :run_chef ]
|
94
|
+
run_set.prepend :run_berkshelf if options[:berkshelf]
|
95
|
+
cfn_init_config_set :run_chef, run_set
|
96
|
+
end
|
97
|
+
end
|
98
|
+
|
@@ -0,0 +1,22 @@
|
|
1
|
+
require "cfer/provisioning/version"
|
2
|
+
require 'cfer'
|
3
|
+
|
4
|
+
require 'base64'
|
5
|
+
require 'yaml'
|
6
|
+
|
7
|
+
module Cfer
|
8
|
+
module Provisioning
|
9
|
+
end
|
10
|
+
end
|
11
|
+
|
12
|
+
require 'cfer/provisioning/cfn-bootstrap'
|
13
|
+
require 'cfer/provisioning/chef'
|
14
|
+
|
15
|
+
Cfer::Core::Resource.extend_resource "AWS::EC2::Instance" do
|
16
|
+
include Cfer::Provisioning
|
17
|
+
end
|
18
|
+
|
19
|
+
Cfer::Core::Resource.extend_resource "AWS::AutoScaling::LaunchConfiguration" do
|
20
|
+
include Cfer::Provisioning
|
21
|
+
end
|
22
|
+
|
@@ -0,0 +1 @@
|
|
1
|
+
SSHKey: EC2-KEY-HERE
|
metadata
ADDED
@@ -0,0 +1,129 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: cfer-provisioning
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.1.0
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Sean Edwards
|
8
|
+
autorequire:
|
9
|
+
bindir: exe
|
10
|
+
cert_chain: []
|
11
|
+
date: 2016-05-11 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: bundler
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - "~>"
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '1.10'
|
20
|
+
type: :development
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - "~>"
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '1.10'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: rake
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - "~>"
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '10.0'
|
34
|
+
type: :development
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - "~>"
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '10.0'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: rspec
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - "~>"
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '3.4'
|
48
|
+
type: :development
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - "~>"
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '3.4'
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: serverspec
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - "~>"
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '2.34'
|
62
|
+
type: :development
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - "~>"
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: '2.34'
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: cfer
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - "~>"
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: '0.4'
|
76
|
+
type: :runtime
|
77
|
+
prerelease: false
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - "~>"
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: '0.4'
|
83
|
+
description: Provisioning tools for Cfer
|
84
|
+
email:
|
85
|
+
- stedwards87+git@gmail.com
|
86
|
+
executables: []
|
87
|
+
extensions: []
|
88
|
+
extra_rdoc_files: []
|
89
|
+
files:
|
90
|
+
- ".gitignore"
|
91
|
+
- ".rspec"
|
92
|
+
- ".travis.yml"
|
93
|
+
- CODE_OF_CONDUCT.md
|
94
|
+
- Gemfile
|
95
|
+
- LICENSE.txt
|
96
|
+
- README.md
|
97
|
+
- Rakefile
|
98
|
+
- cfer-provisioning.gemspec
|
99
|
+
- lib/cfer/provisioning.rb
|
100
|
+
- lib/cfer/provisioning/cfn-bootstrap.rb
|
101
|
+
- lib/cfer/provisioning/chef.rb
|
102
|
+
- lib/cfer/provisioning/version.rb
|
103
|
+
- parameters.yaml.example
|
104
|
+
homepage: https://github.com/seanedwards/cfer-provisioning
|
105
|
+
licenses:
|
106
|
+
- MIT
|
107
|
+
metadata: {}
|
108
|
+
post_install_message:
|
109
|
+
rdoc_options: []
|
110
|
+
require_paths:
|
111
|
+
- lib
|
112
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
113
|
+
requirements:
|
114
|
+
- - ">="
|
115
|
+
- !ruby/object:Gem::Version
|
116
|
+
version: '0'
|
117
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
118
|
+
requirements:
|
119
|
+
- - ">="
|
120
|
+
- !ruby/object:Gem::Version
|
121
|
+
version: '0'
|
122
|
+
requirements: []
|
123
|
+
rubyforge_project:
|
124
|
+
rubygems_version: 2.5.1
|
125
|
+
signing_key:
|
126
|
+
specification_version: 4
|
127
|
+
summary: Provisioning tools for Cfer
|
128
|
+
test_files: []
|
129
|
+
has_rdoc:
|