sparkle-pack-cfn-init-chef 0.0.2 → 0.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/sparkleformation/registry/chef_client.rb +10 -10
- data/sparkle-pack-cfn-init-chef.gemspec +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 808d04704a24bfa247c9188d35db5de86b7883ae
|
|
4
|
+
data.tar.gz: 12b797326b56988c61657d74308a5411f86f1ce1
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: edc6c107b4bd1be4c4de14819ac00c6001416882c5a0e8ab2f3f3d044bfb11a33756db245fd1043881ee0ba069c85fc67e4dd7bccc5c149c7c0cd3fd38abe92b
|
|
7
|
+
data.tar.gz: 0eedf91f22fa5ee6363e59fc32d72d3edc55f7d29198b424b0c7393ff19b423471b2e252fae83b4be5f5c69c772aedcf5f69bbee4669cac519bdb17e8d94dacd
|
|
@@ -2,6 +2,15 @@ SfnRegistry.register(:chef_client) do |_name, _config={}|
|
|
|
2
2
|
|
|
3
3
|
chef_bucket = _config.fetch(:chef_bucket)
|
|
4
4
|
|
|
5
|
+
first_run = _config.fetch(:attributes, {}).merge(
|
|
6
|
+
:stack => {
|
|
7
|
+
:name => stack_name!,
|
|
8
|
+
:id => stack_id!,
|
|
9
|
+
:region => region!
|
|
10
|
+
},
|
|
11
|
+
:run_list => _config.fetch(:run_list, [])
|
|
12
|
+
)
|
|
13
|
+
|
|
5
14
|
metadata('AWS::CloudFormation::Authentication') do
|
|
6
15
|
chef_s3_auth do
|
|
7
16
|
set!('roleName'._no_hump, _config.fetch(:auth_role))
|
|
@@ -48,16 +57,7 @@ SfnRegistry.register(:chef_client) do |_name, _config={}|
|
|
|
48
57
|
group 'root'
|
|
49
58
|
end
|
|
50
59
|
files('/etc/chef/first_run.json') do
|
|
51
|
-
content
|
|
52
|
-
run_list _config.fetch(:run_list)
|
|
53
|
-
_config.fetch(:attributes, {}).merge(
|
|
54
|
-
:stack => {
|
|
55
|
-
:name => stack_name!,
|
|
56
|
-
:id => stack_id!,
|
|
57
|
-
:region => region!
|
|
58
|
-
}
|
|
59
|
-
)
|
|
60
|
-
end
|
|
60
|
+
content first_run
|
|
61
61
|
end
|
|
62
62
|
commands('00_install_chef') do
|
|
63
63
|
command 'curl -L https://omnitruck.chef.io/install.sh | sudo bash'
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Gem::Specification.new do |s|
|
|
2
2
|
s.name = 'sparkle-pack-cfn-init-chef'
|
|
3
|
-
s.version = '0.0.
|
|
3
|
+
s.version = '0.0.3'
|
|
4
4
|
s.licenses = ['MIT']
|
|
5
5
|
s.summary = 'CFN Init Chef SparklePack'
|
|
6
6
|
s.description = 'SparklePack to provide cfn-init config set to bootstrap an instance using Chef'
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: sparkle-pack-cfn-init-chef
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.0.
|
|
4
|
+
version: 0.0.3
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Michael F. Weinberg
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2016-
|
|
11
|
+
date: 2016-11-01 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: sparkle_formation
|