rivet 1.2.0 → 1.3.0
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG.md +4 -0
- data/README.md +4 -2
- data/lib/rivet/bootstrap.rb +1 -2
- data/lib/rivet/version.rb +1 -1
- metadata +2 -2
data/CHANGELOG.md
CHANGED
data/README.md
CHANGED
@@ -33,12 +33,12 @@ Right now Rivet only uses the following options from the file:
|
|
33
33
|
An example config could look as follows:
|
34
34
|
|
35
35
|
```ini
|
36
|
-
[default]
|
36
|
+
[profile default]
|
37
37
|
aws_access_key_id=<YOUR ACCESS KEY ID>
|
38
38
|
aws_secret_access_key=<YOUR SECRET ACCESS KEY>
|
39
39
|
region=us-east-1
|
40
40
|
|
41
|
-
[foo]
|
41
|
+
[profile foo]
|
42
42
|
aws_access_key_id=<YOUR ACCESS KEY ID>
|
43
43
|
aws_secret_access_key=<YOUR SECRET_ACCESS KEY>
|
44
44
|
region=us-west-2
|
@@ -76,8 +76,10 @@ max_size: SIZE <integer>
|
|
76
76
|
region: AWS REGION <STRING>
|
77
77
|
availability_zones: [ZONE<string>,ZONE...]
|
78
78
|
iam_instance_profile: INSTANCE_PROFILE <string>
|
79
|
+
tags: [ { key: KEY_NAME<string>, value: KEY_VALLUE<string> } ]
|
79
80
|
|
80
81
|
bootstrap:
|
82
|
+
chef_command: CHEF_COMMAND <string>
|
81
83
|
chef_organization: CHEF_ORGANIZATION <string>
|
82
84
|
template: TEMPLATE <string>
|
83
85
|
config_dir: CONFIGURATION_FILES_DIR <string>
|
data/lib/rivet/bootstrap.rb
CHANGED
@@ -8,7 +8,7 @@ module Rivet
|
|
8
8
|
def initialize(bootstrap_definition = Hash.new)
|
9
9
|
ivars = [
|
10
10
|
'gems','run_list','template','environment',
|
11
|
-
'config_dir','chef_organization']
|
11
|
+
'config_dir','chef_organization','chef_command']
|
12
12
|
|
13
13
|
ivars.each do |i|
|
14
14
|
if bootstrap_definition.has_key?(i)
|
@@ -30,7 +30,6 @@ module Rivet
|
|
30
30
|
|
31
31
|
def set_calculated_attrs
|
32
32
|
@template_path = File.join(@config_dir,TEMPLATE_SUB_DIR)
|
33
|
-
@chef_command = "/usr/bin/chef-client -j /etc/chef/first-boot.json -L /root/first_run.log -E #{@environment}"
|
34
33
|
@secret_file = File.join(@config_dir,"encrypted_data_bag_secret_#{@environment}")
|
35
34
|
@validation_key = File.new(File.join(@config_dir,"#{@chef_organization}-validator.pem")).read
|
36
35
|
end
|
data/lib/rivet/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rivet
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.3.0
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2013-11-
|
12
|
+
date: 2013-11-20 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: aws-sdk
|