giraffesoft-chef 0.7.15
Sign up to get free protection for your applications and to get access to all the features.
- data/LICENSE +201 -0
- data/README.rdoc +135 -0
- data/bin/chef-client +26 -0
- data/bin/chef-solo +26 -0
- data/distro/debian/etc/init.d/chef-client +175 -0
- data/distro/debian/etc/init.d/chef-indexer +175 -0
- data/distro/debian/etc/init.d/chef-server +120 -0
- data/distro/debian/man/man1/chef-indexer.1 +42 -0
- data/distro/debian/man/man1/chef-server.1 +108 -0
- data/distro/debian/man/man8/chef-client.8 +61 -0
- data/distro/debian/man/man8/chef-solo.8 +58 -0
- data/distro/redhat/etc/chef/client.rb +16 -0
- data/distro/redhat/etc/chef/indexer.rb +10 -0
- data/distro/redhat/etc/chef/server.rb +22 -0
- data/distro/redhat/etc/init.d/chef-client +74 -0
- data/distro/redhat/etc/init.d/chef-indexer +76 -0
- data/distro/redhat/etc/init.d/chef-server +77 -0
- data/lib/chef.rb +49 -0
- data/lib/chef/application.rb +98 -0
- data/lib/chef/application/agent.rb +18 -0
- data/lib/chef/application/client.rb +209 -0
- data/lib/chef/application/indexer.rb +141 -0
- data/lib/chef/application/server.rb +18 -0
- data/lib/chef/application/solo.rb +214 -0
- data/lib/chef/client.rb +421 -0
- data/lib/chef/compile.rb +170 -0
- data/lib/chef/config.rb +141 -0
- data/lib/chef/cookbook.rb +171 -0
- data/lib/chef/cookbook/metadata.rb +407 -0
- data/lib/chef/cookbook/metadata/version.rb +87 -0
- data/lib/chef/cookbook_loader.rb +180 -0
- data/lib/chef/couchdb.rb +176 -0
- data/lib/chef/daemon.rb +170 -0
- data/lib/chef/exceptions.rb +36 -0
- data/lib/chef/file_cache.rb +205 -0
- data/lib/chef/log.rb +39 -0
- data/lib/chef/mixin/check_helper.rb +31 -0
- data/lib/chef/mixin/checksum.rb +37 -0
- data/lib/chef/mixin/command.rb +386 -0
- data/lib/chef/mixin/convert_to_class_name.rb +48 -0
- data/lib/chef/mixin/create_path.rb +56 -0
- data/lib/chef/mixin/deep_merge.rb +36 -0
- data/lib/chef/mixin/find_preferred_file.rb +92 -0
- data/lib/chef/mixin/from_file.rb +50 -0
- data/lib/chef/mixin/generate_url.rb +49 -0
- data/lib/chef/mixin/language.rb +79 -0
- data/lib/chef/mixin/params_validate.rb +197 -0
- data/lib/chef/mixin/recipe_definition_dsl_core.rb +77 -0
- data/lib/chef/mixin/template.rb +84 -0
- data/lib/chef/node.rb +406 -0
- data/lib/chef/node/attribute.rb +412 -0
- data/lib/chef/openid_registration.rb +181 -0
- data/lib/chef/platform.rb +254 -0
- data/lib/chef/provider.rb +101 -0
- data/lib/chef/provider/cron.rb +187 -0
- data/lib/chef/provider/deploy.rb +281 -0
- data/lib/chef/provider/deploy/revision.rb +70 -0
- data/lib/chef/provider/deploy/timestamped.rb +33 -0
- data/lib/chef/provider/directory.rb +72 -0
- data/lib/chef/provider/execute.rb +58 -0
- data/lib/chef/provider/file.rb +191 -0
- data/lib/chef/provider/git.rb +198 -0
- data/lib/chef/provider/group.rb +120 -0
- data/lib/chef/provider/group/gpasswd.rb +50 -0
- data/lib/chef/provider/group/groupadd.rb +78 -0
- data/lib/chef/provider/group/pw.rb +88 -0
- data/lib/chef/provider/group/usermod.rb +57 -0
- data/lib/chef/provider/http_request.rb +102 -0
- data/lib/chef/provider/ifconfig.rb +131 -0
- data/lib/chef/provider/link.rb +157 -0
- data/lib/chef/provider/mount.rb +117 -0
- data/lib/chef/provider/mount/mount.rb +208 -0
- data/lib/chef/provider/package.rb +160 -0
- data/lib/chef/provider/package/apt.rb +110 -0
- data/lib/chef/provider/package/dpkg.rb +109 -0
- data/lib/chef/provider/package/freebsd.rb +153 -0
- data/lib/chef/provider/package/macports.rb +105 -0
- data/lib/chef/provider/package/portage.rb +124 -0
- data/lib/chef/provider/package/rpm.rb +99 -0
- data/lib/chef/provider/package/rubygems.rb +136 -0
- data/lib/chef/provider/package/yum-dump.py +106 -0
- data/lib/chef/provider/package/yum.rb +175 -0
- data/lib/chef/provider/remote_directory.rb +126 -0
- data/lib/chef/provider/remote_file.rb +141 -0
- data/lib/chef/provider/route.rb +118 -0
- data/lib/chef/provider/ruby_block.rb +15 -0
- data/lib/chef/provider/script.rb +42 -0
- data/lib/chef/provider/service.rb +135 -0
- data/lib/chef/provider/service/debian.rb +64 -0
- data/lib/chef/provider/service/freebsd.rb +157 -0
- data/lib/chef/provider/service/gentoo.rb +54 -0
- data/lib/chef/provider/service/init.rb +71 -0
- data/lib/chef/provider/service/redhat.rb +62 -0
- data/lib/chef/provider/service/simple.rb +115 -0
- data/lib/chef/provider/subversion.rb +148 -0
- data/lib/chef/provider/template.rb +143 -0
- data/lib/chef/provider/user.rb +170 -0
- data/lib/chef/provider/user/pw.rb +113 -0
- data/lib/chef/provider/user/useradd.rb +107 -0
- data/lib/chef/queue.rb +145 -0
- data/lib/chef/recipe.rb +144 -0
- data/lib/chef/resource.rb +380 -0
- data/lib/chef/resource/apt_package.rb +34 -0
- data/lib/chef/resource/bash.rb +33 -0
- data/lib/chef/resource/cron.rb +179 -0
- data/lib/chef/resource/csh.rb +33 -0
- data/lib/chef/resource/deploy.rb +350 -0
- data/lib/chef/resource/deploy_revision.rb +35 -0
- data/lib/chef/resource/directory.rb +76 -0
- data/lib/chef/resource/dpkg_package.rb +34 -0
- data/lib/chef/resource/execute.rb +127 -0
- data/lib/chef/resource/file.rb +84 -0
- data/lib/chef/resource/gem_package.rb +41 -0
- data/lib/chef/resource/git.rb +36 -0
- data/lib/chef/resource/group.rb +70 -0
- data/lib/chef/resource/http_request.rb +52 -0
- data/lib/chef/resource/ifconfig.rb +134 -0
- data/lib/chef/resource/link.rb +78 -0
- data/lib/chef/resource/macports_package.rb +29 -0
- data/lib/chef/resource/mount.rb +135 -0
- data/lib/chef/resource/package.rb +80 -0
- data/lib/chef/resource/perl.rb +33 -0
- data/lib/chef/resource/portage_package.rb +33 -0
- data/lib/chef/resource/python.rb +33 -0
- data/lib/chef/resource/remote_directory.rb +91 -0
- data/lib/chef/resource/remote_file.rb +60 -0
- data/lib/chef/resource/route.rb +135 -0
- data/lib/chef/resource/ruby.rb +33 -0
- data/lib/chef/resource/ruby_block.rb +20 -0
- data/lib/chef/resource/scm.rb +129 -0
- data/lib/chef/resource/script.rb +51 -0
- data/lib/chef/resource/service.rb +134 -0
- data/lib/chef/resource/subversion.rb +33 -0
- data/lib/chef/resource/template.rb +60 -0
- data/lib/chef/resource/timestamped_deploy.rb +31 -0
- data/lib/chef/resource/user.rb +98 -0
- data/lib/chef/resource_collection.rb +204 -0
- data/lib/chef/resource_definition.rb +67 -0
- data/lib/chef/rest.rb +238 -0
- data/lib/chef/role.rb +231 -0
- data/lib/chef/run_list.rb +156 -0
- data/lib/chef/runner.rb +130 -0
- data/lib/chef/search.rb +88 -0
- data/lib/chef/search/result.rb +64 -0
- data/lib/chef/search_index.rb +77 -0
- data/lib/chef/tasks/chef_repo.rake +347 -0
- data/lib/chef/util/file_edit.rb +125 -0
- data/lib/chef/util/fileedit.rb +121 -0
- metadata +293 -0
@@ -0,0 +1,125 @@
|
|
1
|
+
#
|
2
|
+
# Author:: Nuo Yan (<nuo@opscode.com>)
|
3
|
+
# Copyright:: Copyright (c) 2009 Opscode, Inc.
|
4
|
+
# License:: Apache License, Version 2.0
|
5
|
+
#
|
6
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
7
|
+
# you may not use this file except in compliance with the License.
|
8
|
+
# You may obtain a copy of the License at
|
9
|
+
#
|
10
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
11
|
+
#
|
12
|
+
# Unless required by applicable law or agreed to in writing, software
|
13
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
14
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
15
|
+
# See the License for the specific language governing permissions and
|
16
|
+
# limitations under the License.
|
17
|
+
|
18
|
+
require 'ftools'
|
19
|
+
require 'fileutils'
|
20
|
+
require 'tempfile'
|
21
|
+
|
22
|
+
class Chef
|
23
|
+
class Util
|
24
|
+
class FileEdit
|
25
|
+
|
26
|
+
private
|
27
|
+
|
28
|
+
attr_accessor :original_pathname, :contents, :file_edited
|
29
|
+
|
30
|
+
public
|
31
|
+
|
32
|
+
def initialize(filepath)
|
33
|
+
@original_pathname = filepath
|
34
|
+
@file_edited = false
|
35
|
+
|
36
|
+
raise ArgumentError, "File doesn't exist" unless File.exist? @original_pathname
|
37
|
+
raise ArgumentError, "File is blank" unless (@contents = File.new(@original_pathname).readlines).length > 0
|
38
|
+
end
|
39
|
+
|
40
|
+
#search the file line by line and match each line with the given regex
|
41
|
+
#if matched, replace the whole line with newline.
|
42
|
+
def search_file_replace_line(regex, newline)
|
43
|
+
search_match(regex, newline, 'r', 1)
|
44
|
+
end
|
45
|
+
|
46
|
+
#search the file line by line and match each line with the given regex
|
47
|
+
#if matched, replace the match (all occurances) with the replace parameter
|
48
|
+
def search_file_replace(regex, replace)
|
49
|
+
search_match(regex, replace, 'r', 2)
|
50
|
+
end
|
51
|
+
|
52
|
+
#search the file line by line and match each line with the given regex
|
53
|
+
#if matched, delete the line
|
54
|
+
def search_file_delete_line(regex)
|
55
|
+
search_match(regex, " ", 'd', 1)
|
56
|
+
end
|
57
|
+
|
58
|
+
#search the file line by line and match each line with the given regex
|
59
|
+
#if matched, delete the match (all occurances) from the line
|
60
|
+
def search_file_delete(regex)
|
61
|
+
search_match(regex, " ", 'd', 2)
|
62
|
+
end
|
63
|
+
|
64
|
+
#search the file line by line and match each line with the given regex
|
65
|
+
#if matched, insert newline after each matching line
|
66
|
+
def insert_line_after_match(regex, newline)
|
67
|
+
search_match(regex, newline, 'i', 0)
|
68
|
+
end
|
69
|
+
|
70
|
+
#Make a copy of old_file and write new file out (only if file changed)
|
71
|
+
def write_file
|
72
|
+
|
73
|
+
# file_edited is false when there was no match in the whole file and thus no contents have changed.
|
74
|
+
if file_edited
|
75
|
+
backup_pathname = original_pathname + ".old"
|
76
|
+
File.copy(original_pathname, backup_pathname)
|
77
|
+
Tempfile.open("w") do |newfile|
|
78
|
+
contents.each do |line|
|
79
|
+
newfile.puts(line)
|
80
|
+
end
|
81
|
+
newfile.flush
|
82
|
+
FileUtils.mv(newfile.path, original_pathname)
|
83
|
+
end
|
84
|
+
end
|
85
|
+
self.file_edited = false
|
86
|
+
|
87
|
+
end
|
88
|
+
|
89
|
+
private
|
90
|
+
|
91
|
+
#helper method to do the match, replace, delete, and insert operations
|
92
|
+
#command is the switch of delete, replace, and insert ('d', 'r', 'i')
|
93
|
+
#method is to control operation on whole line or only the match (1 for line, 2 for match)
|
94
|
+
def search_match(regex, replace, command, method)
|
95
|
+
|
96
|
+
#convert regex to a Regexp object (if not already is one) and store it in exp.
|
97
|
+
exp = Regexp.new(regex)
|
98
|
+
|
99
|
+
#loop through contents and do the appropriate operation depending on 'command' and 'method'
|
100
|
+
new_contents = []
|
101
|
+
|
102
|
+
contents.each do |line|
|
103
|
+
if line.match(exp)
|
104
|
+
self.file_edited = true
|
105
|
+
case
|
106
|
+
when command == 'r'
|
107
|
+
new_contents << ((method == 1) ? replace : line.gsub!(exp, replace))
|
108
|
+
when command == 'd'
|
109
|
+
if method == 2
|
110
|
+
new_contents << line.gsub!(exp, "")
|
111
|
+
end
|
112
|
+
when command == 'i'
|
113
|
+
new_contents << line
|
114
|
+
new_contents << replace
|
115
|
+
end
|
116
|
+
else
|
117
|
+
new_contents << line
|
118
|
+
end
|
119
|
+
end
|
120
|
+
|
121
|
+
self.contents = new_contents
|
122
|
+
end
|
123
|
+
end
|
124
|
+
end
|
125
|
+
end
|
@@ -0,0 +1,121 @@
|
|
1
|
+
#
|
2
|
+
# Author:: Nuo Yan (<nuo@opscode.com>)
|
3
|
+
# Copyright:: Copyright (c) 2009 Opscode, Inc.
|
4
|
+
# License:: Apache License, Version 2.0
|
5
|
+
#
|
6
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
7
|
+
# you may not use this file except in compliance with the License.
|
8
|
+
# You may obtain a copy of the License at
|
9
|
+
#
|
10
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
11
|
+
#
|
12
|
+
# Unless required by applicable law or agreed to in writing, software
|
13
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
14
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
15
|
+
# See the License for the specific language governing permissions and
|
16
|
+
# limitations under the License.
|
17
|
+
|
18
|
+
require 'ftools'
|
19
|
+
require 'fileutils'
|
20
|
+
require 'tempfile'
|
21
|
+
|
22
|
+
class FileEdit
|
23
|
+
|
24
|
+
private
|
25
|
+
|
26
|
+
attr_accessor :original_pathname, :contents, :file_edited
|
27
|
+
|
28
|
+
public
|
29
|
+
|
30
|
+
def initialize(filepath)
|
31
|
+
@original_pathname = filepath
|
32
|
+
@file_edited = false
|
33
|
+
|
34
|
+
raise ArgumentError, "File doesn't exist" unless File.exist? @original_pathname
|
35
|
+
raise ArgumentError, "File is blank" unless (@contents = File.new(@original_pathname).readlines).length > 0
|
36
|
+
end
|
37
|
+
|
38
|
+
#search the file line by line and match each line with the given regex
|
39
|
+
#if matched, replace the whole line with newline.
|
40
|
+
def search_file_replace_line(regex, newline)
|
41
|
+
search_match(regex, newline, 'r', 1)
|
42
|
+
end
|
43
|
+
|
44
|
+
#search the file line by line and match each line with the given regex
|
45
|
+
#if matched, replace the match (all occurances) with the replace parameter
|
46
|
+
def search_file_replace(regex, replace)
|
47
|
+
search_match(regex, replace, 'r', 2)
|
48
|
+
end
|
49
|
+
|
50
|
+
#search the file line by line and match each line with the given regex
|
51
|
+
#if matched, delete the line
|
52
|
+
def search_file_delete_line(regex)
|
53
|
+
search_match(regex, " ", 'd', 1)
|
54
|
+
end
|
55
|
+
|
56
|
+
#search the file line by line and match each line with the given regex
|
57
|
+
#if matched, delete the match (all occurances) from the line
|
58
|
+
def search_file_delete(regex)
|
59
|
+
search_match(regex, " ", 'd', 2)
|
60
|
+
end
|
61
|
+
|
62
|
+
#search the file line by line and match each line with the given regex
|
63
|
+
#if matched, insert newline after each matching line
|
64
|
+
def insert_line_after_match(regex, newline)
|
65
|
+
search_match(regex, newline, 'i', 0)
|
66
|
+
end
|
67
|
+
|
68
|
+
#Make a copy of old_file and write new file out (only if file changed)
|
69
|
+
def write_file
|
70
|
+
|
71
|
+
# file_edited is false when there was no match in the whole file and thus no contents have changed.
|
72
|
+
if file_edited
|
73
|
+
backup_pathname = original_pathname + ".old"
|
74
|
+
File.copy(original_pathname, backup_pathname)
|
75
|
+
Tempfile.open("w") do |newfile|
|
76
|
+
contents.each do |line|
|
77
|
+
newfile.puts(line)
|
78
|
+
end
|
79
|
+
newfile.flush
|
80
|
+
FileUtils.mv(newfile.path, original_pathname)
|
81
|
+
end
|
82
|
+
end
|
83
|
+
self.file_edited = false
|
84
|
+
|
85
|
+
end
|
86
|
+
|
87
|
+
private
|
88
|
+
|
89
|
+
#helper method to do the match, replace, delete, and insert operations
|
90
|
+
#command is the switch of delete, replace, and insert ('d', 'r', 'i')
|
91
|
+
#method is to control operation on whole line or only the match (1 for line, 2 for match)
|
92
|
+
def search_match(regex, replace, command, method)
|
93
|
+
|
94
|
+
#convert regex to a Regexp object (if not already is one) and store it in exp.
|
95
|
+
exp = Regexp.new(regex)
|
96
|
+
|
97
|
+
#loop through contents and do the appropriate operation depending on 'command' and 'method'
|
98
|
+
new_contents = []
|
99
|
+
|
100
|
+
contents.each do |line|
|
101
|
+
if line.match(exp)
|
102
|
+
self.file_edited = true
|
103
|
+
case
|
104
|
+
when command == 'r'
|
105
|
+
new_contents << ((method == 1) ? replace : line.gsub!(exp, replace))
|
106
|
+
when command == 'd'
|
107
|
+
if method == 2
|
108
|
+
new_contents << line.gsub!(exp, "")
|
109
|
+
end
|
110
|
+
when command == 'i'
|
111
|
+
new_contents << line
|
112
|
+
new_contents << replace
|
113
|
+
end
|
114
|
+
else
|
115
|
+
new_contents << line
|
116
|
+
end
|
117
|
+
end
|
118
|
+
|
119
|
+
self.contents = new_contents
|
120
|
+
end
|
121
|
+
end
|
metadata
ADDED
@@ -0,0 +1,293 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: giraffesoft-chef
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.7.15
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Adam Jacob
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
|
12
|
+
date: 2009-10-27 00:00:00 -07:00
|
13
|
+
default_executable:
|
14
|
+
dependencies:
|
15
|
+
- !ruby/object:Gem::Dependency
|
16
|
+
name: mixlib-config
|
17
|
+
type: :runtime
|
18
|
+
version_requirement:
|
19
|
+
version_requirements: !ruby/object:Gem::Requirement
|
20
|
+
requirements:
|
21
|
+
- - ">="
|
22
|
+
- !ruby/object:Gem::Version
|
23
|
+
version: 1.0.12
|
24
|
+
version:
|
25
|
+
- !ruby/object:Gem::Dependency
|
26
|
+
name: ohai
|
27
|
+
type: :runtime
|
28
|
+
version_requirement:
|
29
|
+
version_requirements: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - ">="
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: 0.3.6
|
34
|
+
version:
|
35
|
+
- !ruby/object:Gem::Dependency
|
36
|
+
name: mixlib-cli
|
37
|
+
type: :runtime
|
38
|
+
version_requirement:
|
39
|
+
version_requirements: !ruby/object:Gem::Requirement
|
40
|
+
requirements:
|
41
|
+
- - ">="
|
42
|
+
- !ruby/object:Gem::Version
|
43
|
+
version: "0"
|
44
|
+
version:
|
45
|
+
- !ruby/object:Gem::Dependency
|
46
|
+
name: mixlib-log
|
47
|
+
type: :runtime
|
48
|
+
version_requirement:
|
49
|
+
version_requirements: !ruby/object:Gem::Requirement
|
50
|
+
requirements:
|
51
|
+
- - ">="
|
52
|
+
- !ruby/object:Gem::Version
|
53
|
+
version: "0"
|
54
|
+
version:
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: ruby-openid
|
57
|
+
type: :runtime
|
58
|
+
version_requirement:
|
59
|
+
version_requirements: !ruby/object:Gem::Requirement
|
60
|
+
requirements:
|
61
|
+
- - ">="
|
62
|
+
- !ruby/object:Gem::Version
|
63
|
+
version: "0"
|
64
|
+
version:
|
65
|
+
- !ruby/object:Gem::Dependency
|
66
|
+
name: json
|
67
|
+
type: :runtime
|
68
|
+
version_requirement:
|
69
|
+
version_requirements: !ruby/object:Gem::Requirement
|
70
|
+
requirements:
|
71
|
+
- - ">="
|
72
|
+
- !ruby/object:Gem::Version
|
73
|
+
version: "0"
|
74
|
+
version:
|
75
|
+
- !ruby/object:Gem::Dependency
|
76
|
+
name: erubis
|
77
|
+
type: :runtime
|
78
|
+
version_requirement:
|
79
|
+
version_requirements: !ruby/object:Gem::Requirement
|
80
|
+
requirements:
|
81
|
+
- - ">="
|
82
|
+
- !ruby/object:Gem::Version
|
83
|
+
version: "0"
|
84
|
+
version:
|
85
|
+
- !ruby/object:Gem::Dependency
|
86
|
+
name: extlib
|
87
|
+
type: :runtime
|
88
|
+
version_requirement:
|
89
|
+
version_requirements: !ruby/object:Gem::Requirement
|
90
|
+
requirements:
|
91
|
+
- - ">="
|
92
|
+
- !ruby/object:Gem::Version
|
93
|
+
version: "0"
|
94
|
+
version:
|
95
|
+
- !ruby/object:Gem::Dependency
|
96
|
+
name: stomp
|
97
|
+
type: :runtime
|
98
|
+
version_requirement:
|
99
|
+
version_requirements: !ruby/object:Gem::Requirement
|
100
|
+
requirements:
|
101
|
+
- - ">="
|
102
|
+
- !ruby/object:Gem::Version
|
103
|
+
version: "0"
|
104
|
+
version:
|
105
|
+
description: A systems integration framework, built to bring the benefits of configuration management to your entire infrastructure.
|
106
|
+
email: adam@opscode.com
|
107
|
+
executables:
|
108
|
+
- chef-client
|
109
|
+
- chef-solo
|
110
|
+
extensions: []
|
111
|
+
|
112
|
+
extra_rdoc_files:
|
113
|
+
- README.rdoc
|
114
|
+
- LICENSE
|
115
|
+
files:
|
116
|
+
- LICENSE
|
117
|
+
- README.rdoc
|
118
|
+
- distro/debian/etc/init.d/chef-client
|
119
|
+
- distro/debian/etc/init.d/chef-indexer
|
120
|
+
- distro/debian/etc/init.d/chef-server
|
121
|
+
- distro/debian/man/man1/chef-indexer.1
|
122
|
+
- distro/debian/man/man1/chef-server.1
|
123
|
+
- distro/debian/man/man8/chef-client.8
|
124
|
+
- distro/debian/man/man8/chef-solo.8
|
125
|
+
- distro/redhat/etc/chef/client.rb
|
126
|
+
- distro/redhat/etc/chef/indexer.rb
|
127
|
+
- distro/redhat/etc/chef/server.rb
|
128
|
+
- distro/redhat/etc/init.d/chef-client
|
129
|
+
- distro/redhat/etc/init.d/chef-indexer
|
130
|
+
- distro/redhat/etc/init.d/chef-server
|
131
|
+
- lib/chef/application/agent.rb
|
132
|
+
- lib/chef/application/client.rb
|
133
|
+
- lib/chef/application/indexer.rb
|
134
|
+
- lib/chef/application/server.rb
|
135
|
+
- lib/chef/application/solo.rb
|
136
|
+
- lib/chef/application.rb
|
137
|
+
- lib/chef/client.rb
|
138
|
+
- lib/chef/compile.rb
|
139
|
+
- lib/chef/config.rb
|
140
|
+
- lib/chef/cookbook/metadata/version.rb
|
141
|
+
- lib/chef/cookbook/metadata.rb
|
142
|
+
- lib/chef/cookbook.rb
|
143
|
+
- lib/chef/cookbook_loader.rb
|
144
|
+
- lib/chef/couchdb.rb
|
145
|
+
- lib/chef/daemon.rb
|
146
|
+
- lib/chef/exceptions.rb
|
147
|
+
- lib/chef/file_cache.rb
|
148
|
+
- lib/chef/log.rb
|
149
|
+
- lib/chef/mixin/check_helper.rb
|
150
|
+
- lib/chef/mixin/checksum.rb
|
151
|
+
- lib/chef/mixin/command.rb
|
152
|
+
- lib/chef/mixin/convert_to_class_name.rb
|
153
|
+
- lib/chef/mixin/create_path.rb
|
154
|
+
- lib/chef/mixin/deep_merge.rb
|
155
|
+
- lib/chef/mixin/find_preferred_file.rb
|
156
|
+
- lib/chef/mixin/from_file.rb
|
157
|
+
- lib/chef/mixin/generate_url.rb
|
158
|
+
- lib/chef/mixin/language.rb
|
159
|
+
- lib/chef/mixin/params_validate.rb
|
160
|
+
- lib/chef/mixin/recipe_definition_dsl_core.rb
|
161
|
+
- lib/chef/mixin/template.rb
|
162
|
+
- lib/chef/node/attribute.rb
|
163
|
+
- lib/chef/node.rb
|
164
|
+
- lib/chef/openid_registration.rb
|
165
|
+
- lib/chef/platform.rb
|
166
|
+
- lib/chef/provider/cron.rb
|
167
|
+
- lib/chef/provider/deploy/revision.rb
|
168
|
+
- lib/chef/provider/deploy/timestamped.rb
|
169
|
+
- lib/chef/provider/deploy.rb
|
170
|
+
- lib/chef/provider/directory.rb
|
171
|
+
- lib/chef/provider/execute.rb
|
172
|
+
- lib/chef/provider/file.rb
|
173
|
+
- lib/chef/provider/git.rb
|
174
|
+
- lib/chef/provider/group/gpasswd.rb
|
175
|
+
- lib/chef/provider/group/groupadd.rb
|
176
|
+
- lib/chef/provider/group/pw.rb
|
177
|
+
- lib/chef/provider/group/usermod.rb
|
178
|
+
- lib/chef/provider/group.rb
|
179
|
+
- lib/chef/provider/http_request.rb
|
180
|
+
- lib/chef/provider/ifconfig.rb
|
181
|
+
- lib/chef/provider/link.rb
|
182
|
+
- lib/chef/provider/mount/mount.rb
|
183
|
+
- lib/chef/provider/mount.rb
|
184
|
+
- lib/chef/provider/package/apt.rb
|
185
|
+
- lib/chef/provider/package/dpkg.rb
|
186
|
+
- lib/chef/provider/package/freebsd.rb
|
187
|
+
- lib/chef/provider/package/macports.rb
|
188
|
+
- lib/chef/provider/package/portage.rb
|
189
|
+
- lib/chef/provider/package/rpm.rb
|
190
|
+
- lib/chef/provider/package/rubygems.rb
|
191
|
+
- lib/chef/provider/package/yum-dump.py
|
192
|
+
- lib/chef/provider/package/yum.rb
|
193
|
+
- lib/chef/provider/package.rb
|
194
|
+
- lib/chef/provider/remote_directory.rb
|
195
|
+
- lib/chef/provider/remote_file.rb
|
196
|
+
- lib/chef/provider/route.rb
|
197
|
+
- lib/chef/provider/ruby_block.rb
|
198
|
+
- lib/chef/provider/script.rb
|
199
|
+
- lib/chef/provider/service/debian.rb
|
200
|
+
- lib/chef/provider/service/freebsd.rb
|
201
|
+
- lib/chef/provider/service/gentoo.rb
|
202
|
+
- lib/chef/provider/service/init.rb
|
203
|
+
- lib/chef/provider/service/redhat.rb
|
204
|
+
- lib/chef/provider/service/simple.rb
|
205
|
+
- lib/chef/provider/service.rb
|
206
|
+
- lib/chef/provider/subversion.rb
|
207
|
+
- lib/chef/provider/template.rb
|
208
|
+
- lib/chef/provider/user/pw.rb
|
209
|
+
- lib/chef/provider/user/useradd.rb
|
210
|
+
- lib/chef/provider/user.rb
|
211
|
+
- lib/chef/provider.rb
|
212
|
+
- lib/chef/queue.rb
|
213
|
+
- lib/chef/recipe.rb
|
214
|
+
- lib/chef/resource/apt_package.rb
|
215
|
+
- lib/chef/resource/bash.rb
|
216
|
+
- lib/chef/resource/cron.rb
|
217
|
+
- lib/chef/resource/csh.rb
|
218
|
+
- lib/chef/resource/deploy.rb
|
219
|
+
- lib/chef/resource/deploy_revision.rb
|
220
|
+
- lib/chef/resource/directory.rb
|
221
|
+
- lib/chef/resource/dpkg_package.rb
|
222
|
+
- lib/chef/resource/execute.rb
|
223
|
+
- lib/chef/resource/file.rb
|
224
|
+
- lib/chef/resource/gem_package.rb
|
225
|
+
- lib/chef/resource/git.rb
|
226
|
+
- lib/chef/resource/group.rb
|
227
|
+
- lib/chef/resource/http_request.rb
|
228
|
+
- lib/chef/resource/ifconfig.rb
|
229
|
+
- lib/chef/resource/link.rb
|
230
|
+
- lib/chef/resource/macports_package.rb
|
231
|
+
- lib/chef/resource/mount.rb
|
232
|
+
- lib/chef/resource/package.rb
|
233
|
+
- lib/chef/resource/perl.rb
|
234
|
+
- lib/chef/resource/portage_package.rb
|
235
|
+
- lib/chef/resource/python.rb
|
236
|
+
- lib/chef/resource/remote_directory.rb
|
237
|
+
- lib/chef/resource/remote_file.rb
|
238
|
+
- lib/chef/resource/route.rb
|
239
|
+
- lib/chef/resource/ruby.rb
|
240
|
+
- lib/chef/resource/ruby_block.rb
|
241
|
+
- lib/chef/resource/scm.rb
|
242
|
+
- lib/chef/resource/script.rb
|
243
|
+
- lib/chef/resource/service.rb
|
244
|
+
- lib/chef/resource/subversion.rb
|
245
|
+
- lib/chef/resource/template.rb
|
246
|
+
- lib/chef/resource/timestamped_deploy.rb
|
247
|
+
- lib/chef/resource/user.rb
|
248
|
+
- lib/chef/resource.rb
|
249
|
+
- lib/chef/resource_collection.rb
|
250
|
+
- lib/chef/resource_definition.rb
|
251
|
+
- lib/chef/rest.rb
|
252
|
+
- lib/chef/role.rb
|
253
|
+
- lib/chef/run_list.rb
|
254
|
+
- lib/chef/runner.rb
|
255
|
+
- lib/chef/search/result.rb
|
256
|
+
- lib/chef/search.rb
|
257
|
+
- lib/chef/search_index.rb
|
258
|
+
- lib/chef/tasks/chef_repo.rake
|
259
|
+
- lib/chef/util/file_edit.rb
|
260
|
+
- lib/chef/util/fileedit.rb
|
261
|
+
- lib/chef.rb
|
262
|
+
- bin/chef-client
|
263
|
+
- bin/chef-solo
|
264
|
+
has_rdoc: true
|
265
|
+
homepage: http://wiki.opscode.com/display/chef
|
266
|
+
licenses: []
|
267
|
+
|
268
|
+
post_install_message:
|
269
|
+
rdoc_options: []
|
270
|
+
|
271
|
+
require_paths:
|
272
|
+
- lib
|
273
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
274
|
+
requirements:
|
275
|
+
- - ">="
|
276
|
+
- !ruby/object:Gem::Version
|
277
|
+
version: "0"
|
278
|
+
version:
|
279
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
280
|
+
requirements:
|
281
|
+
- - ">="
|
282
|
+
- !ruby/object:Gem::Version
|
283
|
+
version: "0"
|
284
|
+
version:
|
285
|
+
requirements: []
|
286
|
+
|
287
|
+
rubyforge_project:
|
288
|
+
rubygems_version: 1.3.5
|
289
|
+
signing_key:
|
290
|
+
specification_version: 3
|
291
|
+
summary: A systems integration framework, built to bring the benefits of configuration management to your entire infrastructure.
|
292
|
+
test_files: []
|
293
|
+
|