Class: Chef

Inherits:
Object show all
Defined in:
lib/chef/version.rb,
lib/chef/log.rb,
lib/chef/node.rb,
lib/chef/rest.rb,
lib/chef/role.rb,
lib/chef/knife.rb,
lib/chef/client.rb,
lib/chef/config.rb,
lib/chef/daemon.rb,
lib/chef/recipe.rb,
lib/chef/runner.rb,
lib/chef/couchdb.rb,
lib/chef/handler.rb,
lib/chef/sandbox.rb,
lib/chef/checksum.rb,
lib/chef/data_bag.rb,
lib/chef/platform.rb,
lib/chef/provider.rb,
lib/chef/resource.rb,
lib/chef/run_list.rb,
lib/chef/knife/ssh.rb,
lib/chef/shell_out.rb,
lib/chef/api_client.rb,
lib/chef/exceptions.rb,
lib/chef/file_cache.rb,
lib/chef/knife/help.rb,
lib/chef/solr_query.rb,
lib/chef/webui_user.rb,
lib/chef/certificate.rb,
lib/chef/environment.rb,
lib/chef/index_queue.rb,
lib/chef/json_compat.rb,
lib/chef/run_context.rb,
lib/chef/knife/search.rb,
lib/chef/knife/status.rb,
lib/chef/nil_argument.rb,
lib/chef/provider/env.rb,
lib/chef/provider/git.rb,
lib/chef/provider/log.rb,
lib/chef/resource/csh.rb,
lib/chef/resource/env.rb,
lib/chef/resource/git.rb,
lib/chef/resource/log.rb,
lib/chef/resource/scm.rb,
lib/chef/search/query.rb,
lib/chef/util/windows.rb,
lib/chef/data_bag_item.rb,
lib/chef/knife/core/ui.rb,
lib/chef/mixin/command.rb,
lib/chef/provider/cron.rb,
lib/chef/provider/file.rb,
lib/chef/provider/link.rb,
lib/chef/provider/ohai.rb,
lib/chef/provider/user.rb,
lib/chef/resource/bash.rb,
lib/chef/resource/cron.rb,
lib/chef/resource/file.rb,
lib/chef/resource/link.rb,
lib/chef/resource/ohai.rb,
lib/chef/resource/perl.rb,
lib/chef/resource/ruby.rb,
lib/chef/resource/user.rb,
lib/chef/version_class.rb,
lib/chef/checksum_cache.rb,
lib/chef/knife/tag_list.rb,
lib/chef/mixin/checksum.rb,
lib/chef/mixin/language.rb,
lib/chef/mixin/template.rb,
lib/chef/node/attribute.rb,
lib/chef/provider/group.rb,
lib/chef/provider/mdadm.rb,
lib/chef/provider/mount.rb,
lib/chef/resource/group.rb,
lib/chef/resource/mdadm.rb,
lib/chef/resource/mount.rb,
lib/chef/resource/route.rb,
lib/chef/shell_out/unix.rb,
lib/chef/util/file_edit.rb,
lib/chef/cookbook_loader.rb,
lib/chef/knife/bootstrap.rb,
lib/chef/knife/configure.rb,
lib/chef/knife/node_edit.rb,
lib/chef/knife/node_list.rb,
lib/chef/knife/node_show.rb,
lib/chef/knife/role_edit.rb,
lib/chef/knife/role_list.rb,
lib/chef/knife/role_show.rb,
lib/chef/mixin/from_file.rb,
lib/chef/mixin/shell_out.rb,
lib/chef/provider/deploy.rb,
lib/chef/provider/script.rb,
lib/chef/resource/deploy.rb,
lib/chef/resource/python.rb,
lib/chef/resource/script.rb,
lib/chef/rest/cookie_jar.rb,
lib/chef/cookbook_version.rb,
lib/chef/knife/tag_create.rb,
lib/chef/knife/tag_delete.rb,
lib/chef/mixin/deep_merge.rb,
lib/chef/mixin/xml_escape.rb,
lib/chef/provider/execute.rb,
lib/chef/provider/package.rb,
lib/chef/provider/service.rb,
lib/chef/provider/user/pw.rb,
lib/chef/resource/execute.rb,
lib/chef/resource/package.rb,
lib/chef/resource/service.rb,
lib/chef/cookbook/metadata.rb,
lib/chef/cookbook_uploader.rb,
lib/chef/handler/json_file.rb,
lib/chef/knife/client_edit.rb,
lib/chef/knife/client_list.rb,
lib/chef/knife/client_show.rb,
lib/chef/knife/node_create.rb,
lib/chef/knife/node_delete.rb,
lib/chef/knife/role_create.rb,
lib/chef/knife/role_delete.rb,
lib/chef/mixin/create_path.rb,
lib/chef/mixin/deprecation.rb,
lib/chef/provider/erl_call.rb,
lib/chef/provider/group/pw.rb,
lib/chef/provider/ifconfig.rb,
lib/chef/provider/template.rb,
lib/chef/resource/erl_call.rb,
lib/chef/resource/ifconfig.rb,
lib/chef/resource/template.rb,
lib/chef/rest/rest_request.rb,
lib/chef/shell_out/windows.rb,
lib/chef/mixin/check_helper.rb,
lib/chef/mixin/command/unix.rb,
lib/chef/provider/directory.rb,
lib/chef/provider/group/aix.rb,
lib/chef/provider/user/dscl.rb,
lib/chef/resource/directory.rb,
lib/chef/version_constraint.rb,
lib/chef/cookbook/chefignore.rb,
lib/chef/file_access_control.rb,
lib/chef/knife/client_create.rb,
lib/chef/knife/client_delete.rb,
lib/chef/knife/cookbook_list.rb,
lib/chef/knife/cookbook_show.rb,
lib/chef/knife/cookbook_test.rb,
lib/chef/knife/data_bag_edit.rb,
lib/chef/knife/data_bag_list.rb,
lib/chef/knife/data_bag_show.rb,
lib/chef/knife/index_rebuild.rb,
lib/chef/openid_registration.rb,
lib/chef/provider/breakpoint.rb,
lib/chef/provider/group/dscl.rb,
lib/chef/provider/group/suse.rb,
lib/chef/provider/ruby_block.rb,
lib/chef/provider/subversion.rb,
lib/chef/resource/breakpoint.rb,
lib/chef/resource/ruby_block.rb,
lib/chef/resource/subversion.rb,
lib/chef/resource_collection.rb,
lib/chef/resource_definition.rb,
lib/chef/cookbook/file_vendor.rb,
lib/chef/handler/error_report.rb,
lib/chef/index_queue/consumer.rb,
lib/chef/knife/node_from_file.rb,
lib/chef/knife/role_from_file.rb,
lib/chef/provider/env/windows.rb,
lib/chef/provider/mount/mount.rb,
lib/chef/provider/package/apt.rb,
lib/chef/provider/package/rpm.rb,
lib/chef/provider/package/yum.rb,
lib/chef/provider/remote_file.rb,
lib/chef/resource/apt_package.rb,
lib/chef/resource/conditional.rb,
lib/chef/resource/gem_package.rb,
lib/chef/resource/remote_file.rb,
lib/chef/resource/rpm_package.rb,
lib/chef/resource/yum_package.rb,
lib/chef/cookbook/syntax_check.rb,
lib/chef/index_queue/indexable.rb,
lib/chef/knife/cookbook_create.rb,
lib/chef/knife/cookbook_delete.rb,
lib/chef/knife/cookbook_upload.rb,
lib/chef/knife/data_bag_create.rb,
lib/chef/knife/data_bag_delete.rb,
lib/chef/mixin/command/windows.rb,
lib/chef/mixin/params_validate.rb,
lib/chef/provider/cron/solaris.rb,
lib/chef/provider/http_request.rb,
lib/chef/provider/package/dpkg.rb,
lib/chef/provider/service/init.rb,
lib/chef/provider/user/useradd.rb,
lib/chef/provider/user/windows.rb,
lib/chef/resource/dpkg_package.rb,
lib/chef/resource/http_request.rb,
lib/chef/rest/auth_credentials.rb,
lib/chef/knife/configure_client.rb,
lib/chef/knife/core/node_editor.rb,
lib/chef/knife/environment_edit.rb,
lib/chef/knife/environment_list.rb,
lib/chef/knife/environment_show.rb,
lib/chef/knife/node_bulk_delete.rb,
lib/chef/knife/role_bulk_delete.rb,
lib/chef/provider/cookbook_file.rb,
lib/chef/provider/group/gpasswd.rb,
lib/chef/provider/group/usermod.rb,
lib/chef/provider/group/windows.rb,
lib/chef/provider/mount/windows.rb,
lib/chef/resource/cookbook_file.rb,
lib/chef/run_list/run_list_item.rb,
lib/chef/index_queue/amqp_client.rb,
lib/chef/knife/client_reregister.rb,
lib/chef/knife/cookbook_download.rb,
lib/chef/knife/cookbook_metadata.rb,
lib/chef/knife/node_run_list_add.rb,
lib/chef/provider/group/groupadd.rb,
lib/chef/provider/package/pacman.rb,
lib/chef/provider/package/zypper.rb,
lib/chef/provider/service/debian.rb,
lib/chef/provider/service/redhat.rb,
lib/chef/provider/service/simple.rb,
lib/chef/resource/pacman_package.rb,
lib/chef/knife/client_bulk_delete.rb,
lib/chef/knife/cookbook_site_list.rb,
lib/chef/knife/cookbook_site_show.rb,
lib/chef/knife/core/object_loader.rb,
lib/chef/knife/data_bag_from_file.rb,
lib/chef/knife/environment_create.rb,
lib/chef/knife/environment_delete.rb,
lib/chef/provider/deploy/revision.rb,
lib/chef/provider/package/freebsd.rb,
lib/chef/provider/package/portage.rb,
lib/chef/provider/package/solaris.rb,
lib/chef/provider/service/freebsd.rb,
lib/chef/provider/service/insserv.rb,
lib/chef/provider/service/solaris.rb,
lib/chef/provider/service/upstart.rb,
lib/chef/resource/deploy_revision.rb,
lib/chef/resource/freebsd_package.rb,
lib/chef/resource/portage_package.rb,
lib/chef/resource/solaris_package.rb,
lib/chef/resource_definition_list.rb,
lib/chef/cookbook_version_selector.rb,
lib/chef/knife/cookbook_site_share.rb,
lib/chef/knife/core/node_presenter.rb,
lib/chef/knife/core/text_formatter.rb,
lib/chef/provider/package/macports.rb,
lib/chef/provider/package/rubygems.rb,
lib/chef/provider/remote_directory.rb,
lib/chef/resource/macports_package.rb,
lib/chef/resource/remote_directory.rb,
lib/chef/knife/cookbook_bulk_delete.rb,
lib/chef/knife/cookbook_site_search.rb,
lib/chef/knife/node_run_list_remove.rb,
lib/chef/provider/service/invokercd.rb,
lib/chef/solr_query/query_transform.rb,
lib/chef/solr_query/query_transform.rb,
lib/chef/checksum/storage/filesystem.rb,
lib/chef/cookbook/remote_file_vendor.rb,
lib/chef/knife/cookbook_site_install.rb,
lib/chef/knife/cookbook_site_unshare.rb,
lib/chef/knife/environment_from_file.rb,
lib/chef/mixin/convert_to_class_name.rb,
lib/chef/provider/deploy/timestamped.rb,
lib/chef/resource/timestamped_deploy.rb,
lib/chef/run_list/run_list_expansion.rb,
lib/chef/streaming_cookbook_uploader.rb,
lib/chef/cookbook/cookbook_collection.rb,
lib/chef/knife/cookbook_site_download.rb,
lib/chef/knife/core/bootstrap_context.rb,
lib/chef/knife/core/cookbook_scm_repo.rb,
lib/chef/knife/core/generic_presenter.rb,
lib/chef/knife/core/subcommand_loader.rb,
lib/chef/solr_query/solr_http_request.rb,
lib/chef/mixin/get_source_from_package.rb,
lib/chef/mixin/language_include_recipe.rb,
lib/chef/provider/package/easy_install.rb,
lib/chef/resource/easy_install_package.rb,
lib/chef/run_list/versioned_recipe_list.rb,
lib/chef/cookbook/cookbook_version_loader.rb,
lib/chef/cookbook/file_system_file_vendor.rb,
lib/chef/cookbook_site_streaming_uploader.rb,
lib/chef/mixin/language_include_attribute.rb,
lib/chef/mixin/recipe_definition_dsl_core.rb,
lib/chef/knife/cookbook_metadata_from_file.rb,
lib/chef/resource_collection/stepable_iterator.rb

Overview

Author

Daniel DeLeo (<dan@kallistec.com>)

Copyright

Copyright © 2009 Daniel DeLeo

License

Apache License, Version 2.0

Licensed under the Apache License, Version 2.0 (the “License”); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an “AS IS” BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Defined Under Namespace

Modules: CookbookVersionSelector, IndexQueue, Mixin Classes: ApiClient, Application, Certificate, Checksum, ChecksumCache, Client, Config, Cookbook, CookbookCollection, CookbookLoader, CookbookSiteStreamingUploader, CookbookUploader, CookbookVersion, CouchDB, Daemon, DataBag, DataBagItem, EncryptedDataBagItem, Environment, Exceptions, FileAccessControl, FileCache, Handler, JSONCompat, Knife, Log, MinimalCookbookVersion, Node, OpenIDRegistration, Platform, Provider, REST, Recipe, Resource, ResourceCollection, ResourceDefinition, ResourceDefinitionList, Role, RunContext, RunList, RunStatus, Runner, Sandbox, Search, ShellOut, SolrQuery, StreamingCookbookUploader, Util, Version, VersionConstraint, WebUIUser

Constant Summary

CHEF_ROOT =
File.dirname(File.expand_path(File.dirname(__FILE__)))
VERSION =
'0.10.8'
NIL_ARGUMENT =
Object.new