microwave 0.1006.16 → 0.1006.17
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/VERSION +1 -1
- data/lib/chef/config.rb +9 -7
- data/lib/chef/handler/json_file.rb +1 -1
- metadata +4 -4
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.1006.
|
1
|
+
0.1006.17
|
data/lib/chef/config.rb
CHANGED
@@ -20,6 +20,8 @@
|
|
20
20
|
require 'chef/log'
|
21
21
|
require 'mixlib/config'
|
22
22
|
|
23
|
+
$microwave_root ||= "#{ENV['HOME']}/.microwave"
|
24
|
+
|
23
25
|
class Chef
|
24
26
|
class Config
|
25
27
|
|
@@ -50,16 +52,16 @@ class Chef
|
|
50
52
|
|
51
53
|
# Where the cookbooks are located. Meaning is somewhat context dependent between
|
52
54
|
# chef-client, and chef-solo.
|
53
|
-
cookbook_path [ "#{
|
55
|
+
cookbook_path [ "#{$microwave_root}/cookbooks" ] + $:.collect {|x| File.join(File.expand_path("..", x), "cookbooks") }.select {|x| File.directory? x }
|
54
56
|
|
55
57
|
# Where cookbook files are stored on the server (by content checksum)
|
56
|
-
checksum_path "#{
|
58
|
+
checksum_path "#{$microwave_root}/checksums"
|
57
59
|
|
58
60
|
# Where chef's cache files should be stored
|
59
|
-
file_cache_path "#{
|
61
|
+
file_cache_path "#{$microwave_root}/cache"
|
60
62
|
|
61
63
|
# Where backups of chef-managed files should go
|
62
|
-
file_backup_path "#{
|
64
|
+
file_backup_path "#{$microwave_root}/backup"
|
63
65
|
|
64
66
|
interval nil
|
65
67
|
log_level :info
|
@@ -67,7 +69,7 @@ class Chef
|
|
67
69
|
# toggle info level log items that can create a lot of output
|
68
70
|
verbose_logging true
|
69
71
|
node_name nil
|
70
|
-
node_path "#{
|
72
|
+
node_path "#{$microwave_root}/nodes"
|
71
73
|
|
72
74
|
pid_file nil
|
73
75
|
|
@@ -77,7 +79,7 @@ class Chef
|
|
77
79
|
splay nil
|
78
80
|
|
79
81
|
# Where should chef-solo look for role files?
|
80
|
-
role_path [ "#{
|
82
|
+
role_path [ "#{$microwave_root}/roles" ]
|
81
83
|
|
82
84
|
# Report Handlers
|
83
85
|
report_handlers []
|
@@ -91,7 +93,7 @@ class Chef
|
|
91
93
|
# Checksum Cache
|
92
94
|
# Uses Moneta on the back-end
|
93
95
|
cache_type "BasicFile"
|
94
|
-
cache_options({ :path => "#{
|
96
|
+
cache_options({ :path => "#{$microwave_root}}/cache/checksums", :skip_expires => true })
|
95
97
|
|
96
98
|
# Those lists of regular expressions define what chef considers a
|
97
99
|
# valid user and group name
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: microwave
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 3973
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 1006
|
9
|
-
-
|
10
|
-
version: 0.1006.
|
9
|
+
- 17
|
10
|
+
version: 0.1006.17
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Tom Bombadil
|
@@ -15,7 +15,7 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date: 2012-05-
|
18
|
+
date: 2012-05-18 00:00:00 -07:00
|
19
19
|
default_executable:
|
20
20
|
dependencies:
|
21
21
|
- !ruby/object:Gem::Dependency
|