rivet 1.2.0 → 1.3.0

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.
data/CHANGELOG.md CHANGED
@@ -1,6 +1,10 @@
1
1
  Rivet CHANGELOG
2
2
  ===
3
3
 
4
+ 1.3.0 - Released 11/20/13
5
+ ---
6
+ * Adds functionality to allow chef_command to be specified in group configurations
7
+
4
8
  1.2.0 - Released 11/18/13
5
9
  ---
6
10
  * Adds functionality to apply tags to autoscaling groups
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>
@@ -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
@@ -1,4 +1,4 @@
1
1
  module Rivet
2
- VERSION = "1.2.0"
2
+ VERSION = "1.3.0"
3
3
  end
4
4
 
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.2.0
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-18 00:00:00.000000000 Z
12
+ date: 2013-11-20 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: aws-sdk