diff options
Diffstat (limited to 'features/data')
339 files changed, 0 insertions, 4898 deletions
diff --git a/features/data/Rakefile b/features/data/Rakefile deleted file mode 100644 index f615d66235..0000000000 --- a/features/data/Rakefile +++ /dev/null @@ -1,38 +0,0 @@ -# -# Rakefile for Chef Server Repository -# -# Author:: Adam Jacob (<adam@opscode.com>) -# Copyright:: Copyright (c) 2008 Opscode, Inc. -# 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. -# - -$: << File.join(File.dirname(__FILE__), "..", "..", "chef", "lib") - -require 'rubygems' -require 'chef' -require 'chef/json_compat' - -# Make sure you have loaded constants first -require File.join(File.dirname(__FILE__), 'config', 'rake') - -# And choosen a VCS -if File.directory?(File.join(TOPDIR, ".svn")) - $vcs = :svn -elsif File.directory?(File.join(TOPDIR, ".git")) - $vcs = :git -end - -load 'chef/tasks/chef_repo.rake' - diff --git a/features/data/apt/chef-integration-test-1.0/debian/changelog b/features/data/apt/chef-integration-test-1.0/debian/changelog deleted file mode 100644 index bb34505e65..0000000000 --- a/features/data/apt/chef-integration-test-1.0/debian/changelog +++ /dev/null @@ -1,5 +0,0 @@ -chef-integration-test (1.0-1) unstable; urgency=low - - * Initial release (Closes: #CHEF-1718) - - -- Joshua Timberman <joshua@opscode.com> Thu, 30 Sep 2010 09:53:45 -0600 diff --git a/features/data/apt/chef-integration-test-1.0/debian/compat b/features/data/apt/chef-integration-test-1.0/debian/compat deleted file mode 100644 index 7f8f011eb7..0000000000 --- a/features/data/apt/chef-integration-test-1.0/debian/compat +++ /dev/null @@ -1 +0,0 @@ -7 diff --git a/features/data/apt/chef-integration-test-1.0/debian/control b/features/data/apt/chef-integration-test-1.0/debian/control deleted file mode 100644 index e77b01b1d2..0000000000 --- a/features/data/apt/chef-integration-test-1.0/debian/control +++ /dev/null @@ -1,13 +0,0 @@ -Source: chef-integration-test -Section: ruby -Priority: extra -Maintainer: Joshua Timberman <Joshua Timberman <joshua@opscode.com>> -Build-Depends: debhelper (>= 7.0.50~) -Standards-Version: 3.8.4 -Homepage: http://tickets.opscode.com - -Package: chef-integration-test -Architecture: any -Depends: ${shlibs:Depends}, ${misc:Depends} -Description: Chef integration tests for APT in Cucumber - This package is used for cucumber integration testing in Chef. diff --git a/features/data/apt/chef-integration-test-1.0/debian/copyright b/features/data/apt/chef-integration-test-1.0/debian/copyright deleted file mode 100644 index 72b6c65542..0000000000 --- a/features/data/apt/chef-integration-test-1.0/debian/copyright +++ /dev/null @@ -1,34 +0,0 @@ -This work was packaged by: - - Joshua Timberman <Joshua Timberman <joshua@opscode.com>> on Thu, 30 Sep 2010 09:53:45 -0600 - -Upstream Author(s): - - Opscode, Inc. - -Copyright: - - Copyright (C) 2010 Opscode, Inc - -License: - - 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. - -The Debian packaging is: - - Copyright (C) 2010 Opscode, Inc (<legal@opscode.com>) - - -and is licensed under the Apache 2.0 license. - -See "/usr/share/common-licenses/Apache-2.0" diff --git a/features/data/apt/chef-integration-test-1.0/debian/files b/features/data/apt/chef-integration-test-1.0/debian/files deleted file mode 100644 index 536f4beabc..0000000000 --- a/features/data/apt/chef-integration-test-1.0/debian/files +++ /dev/null @@ -1 +0,0 @@ -chef-integration-test_1.0-1_amd64.deb ruby extra diff --git a/features/data/apt/chef-integration-test-1.0/debian/rules b/features/data/apt/chef-integration-test-1.0/debian/rules deleted file mode 100755 index b760bee7f4..0000000000 --- a/features/data/apt/chef-integration-test-1.0/debian/rules +++ /dev/null @@ -1,13 +0,0 @@ -#!/usr/bin/make -f -# -*- makefile -*- -# Sample debian/rules that uses debhelper. -# This file was originally written by Joey Hess and Craig Small. -# As a special exception, when this file is copied by dh-make into a -# dh-make output file, you may use that output file without restriction. -# This special exception was added by Craig Small in version 0.37 of dh-make. - -# Uncomment this to turn on verbose mode. -#export DH_VERBOSE=1 - -%: - dh $@ diff --git a/features/data/apt/chef-integration-test-1.0/debian/source/format b/features/data/apt/chef-integration-test-1.0/debian/source/format deleted file mode 100644 index 163aaf8d82..0000000000 --- a/features/data/apt/chef-integration-test-1.0/debian/source/format +++ /dev/null @@ -1 +0,0 @@ -3.0 (quilt) diff --git a/features/data/apt/chef-integration-test-1.1/debian/changelog b/features/data/apt/chef-integration-test-1.1/debian/changelog deleted file mode 100644 index fc693c1ec8..0000000000 --- a/features/data/apt/chef-integration-test-1.1/debian/changelog +++ /dev/null @@ -1,11 +0,0 @@ -chef-integration-test (1.1-1) unstable; urgency=low - - * New upstream release (1.1) - - -- Joshua Timberman <joshua@opscode.com> Thu, 30 Sep 2010 10:09:34 -0600 - -chef-integration-test (1.0-1) unstable; urgency=low - - * Initial release (Closes: #CHEF-1718) - - -- Joshua Timberman <joshua@opscode.com> Thu, 30 Sep 2010 09:53:45 -0600 diff --git a/features/data/apt/chef-integration-test-1.1/debian/compat b/features/data/apt/chef-integration-test-1.1/debian/compat deleted file mode 100644 index 7f8f011eb7..0000000000 --- a/features/data/apt/chef-integration-test-1.1/debian/compat +++ /dev/null @@ -1 +0,0 @@ -7 diff --git a/features/data/apt/chef-integration-test-1.1/debian/control b/features/data/apt/chef-integration-test-1.1/debian/control deleted file mode 100644 index e77b01b1d2..0000000000 --- a/features/data/apt/chef-integration-test-1.1/debian/control +++ /dev/null @@ -1,13 +0,0 @@ -Source: chef-integration-test -Section: ruby -Priority: extra -Maintainer: Joshua Timberman <Joshua Timberman <joshua@opscode.com>> -Build-Depends: debhelper (>= 7.0.50~) -Standards-Version: 3.8.4 -Homepage: http://tickets.opscode.com - -Package: chef-integration-test -Architecture: any -Depends: ${shlibs:Depends}, ${misc:Depends} -Description: Chef integration tests for APT in Cucumber - This package is used for cucumber integration testing in Chef. diff --git a/features/data/apt/chef-integration-test-1.1/debian/copyright b/features/data/apt/chef-integration-test-1.1/debian/copyright deleted file mode 100644 index 72b6c65542..0000000000 --- a/features/data/apt/chef-integration-test-1.1/debian/copyright +++ /dev/null @@ -1,34 +0,0 @@ -This work was packaged by: - - Joshua Timberman <Joshua Timberman <joshua@opscode.com>> on Thu, 30 Sep 2010 09:53:45 -0600 - -Upstream Author(s): - - Opscode, Inc. - -Copyright: - - Copyright (C) 2010 Opscode, Inc - -License: - - 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. - -The Debian packaging is: - - Copyright (C) 2010 Opscode, Inc (<legal@opscode.com>) - - -and is licensed under the Apache 2.0 license. - -See "/usr/share/common-licenses/Apache-2.0" diff --git a/features/data/apt/chef-integration-test-1.1/debian/files b/features/data/apt/chef-integration-test-1.1/debian/files deleted file mode 100644 index d72553c027..0000000000 --- a/features/data/apt/chef-integration-test-1.1/debian/files +++ /dev/null @@ -1 +0,0 @@ -chef-integration-test_1.1-1_amd64.deb ruby extra diff --git a/features/data/apt/chef-integration-test-1.1/debian/rules b/features/data/apt/chef-integration-test-1.1/debian/rules deleted file mode 100755 index b760bee7f4..0000000000 --- a/features/data/apt/chef-integration-test-1.1/debian/rules +++ /dev/null @@ -1,13 +0,0 @@ -#!/usr/bin/make -f -# -*- makefile -*- -# Sample debian/rules that uses debhelper. -# This file was originally written by Joey Hess and Craig Small. -# As a special exception, when this file is copied by dh-make into a -# dh-make output file, you may use that output file without restriction. -# This special exception was added by Craig Small in version 0.37 of dh-make. - -# Uncomment this to turn on verbose mode. -#export DH_VERBOSE=1 - -%: - dh $@ diff --git a/features/data/apt/chef-integration-test-1.1/debian/source/format b/features/data/apt/chef-integration-test-1.1/debian/source/format deleted file mode 100644 index 163aaf8d82..0000000000 --- a/features/data/apt/chef-integration-test-1.1/debian/source/format +++ /dev/null @@ -1 +0,0 @@ -3.0 (quilt) diff --git a/features/data/apt/chef-integration-test_1.0-1_amd64.changes b/features/data/apt/chef-integration-test_1.0-1_amd64.changes deleted file mode 100644 index 4746b834e5..0000000000 --- a/features/data/apt/chef-integration-test_1.0-1_amd64.changes +++ /dev/null @@ -1,22 +0,0 @@ -Format: 1.8 -Date: Thu, 30 Sep 2010 09:53:45 -0600 -Source: chef-integration-test -Binary: chef-integration-test -Architecture: amd64 -Version: 1.0-1 -Distribution: unstable -Urgency: low -Maintainer: Joshua Timberman <Joshua Timberman <joshua@opscode.com>> -Changed-By: Joshua Timberman <joshua@opscode.com> -Description: - chef-integration-test - Chef integration tests for APT in Cucumber -Changes: - chef-integration-test (1.0-1) unstable; urgency=low - . - * Initial release (Closes: #CHEF-1718) -Checksums-Sha1: - b44685ff59626bc94c67e60665f06c4643fe9767 1680 chef-integration-test_1.0-1_amd64.deb -Checksums-Sha256: - da176f4405fa21fd7207d4785680c6996d395a1ca132f2d5565a61c5479b1116 1680 chef-integration-test_1.0-1_amd64.deb -Files: - 713722480408ecc8e7220aea52bdd76e 1680 ruby extra chef-integration-test_1.0-1_amd64.deb diff --git a/features/data/apt/chef-integration-test_1.0-1_amd64.deb b/features/data/apt/chef-integration-test_1.0-1_amd64.deb Binary files differdeleted file mode 100644 index 458dd026ff..0000000000 --- a/features/data/apt/chef-integration-test_1.0-1_amd64.deb +++ /dev/null diff --git a/features/data/apt/chef-integration-test_1.0.orig.tar.gz b/features/data/apt/chef-integration-test_1.0.orig.tar.gz Binary files differdeleted file mode 100644 index 3de028d486..0000000000 --- a/features/data/apt/chef-integration-test_1.0.orig.tar.gz +++ /dev/null diff --git a/features/data/apt/chef-integration-test_1.1-1_amd64.changes b/features/data/apt/chef-integration-test_1.1-1_amd64.changes deleted file mode 100644 index f014de813b..0000000000 --- a/features/data/apt/chef-integration-test_1.1-1_amd64.changes +++ /dev/null @@ -1,22 +0,0 @@ -Format: 1.8 -Date: Thu, 30 Sep 2010 10:09:34 -0600 -Source: chef-integration-test -Binary: chef-integration-test -Architecture: amd64 -Version: 1.1-1 -Distribution: unstable -Urgency: low -Maintainer: Joshua Timberman <Joshua Timberman <joshua@opscode.com>> -Changed-By: Joshua Timberman <joshua@opscode.com> -Description: - chef-integration-test - Chef integration tests for APT in Cucumber -Changes: - chef-integration-test (1.1-1) unstable; urgency=low - . - * New upstream release (1.1) -Checksums-Sha1: - 43c5653a9a5b9419849173a4ec3a9855cf0327a3 1722 chef-integration-test_1.1-1_amd64.deb -Checksums-Sha256: - 84e2f087f7e11d1b73743007ecfc6b8b34e03f6917c0993b35c0758ee59702c1 1722 chef-integration-test_1.1-1_amd64.deb -Files: - 4b05bace483dbca54efc21f97ee47e1d 1722 ruby extra chef-integration-test_1.1-1_amd64.deb diff --git a/features/data/apt/chef-integration-test_1.1-1_amd64.deb b/features/data/apt/chef-integration-test_1.1-1_amd64.deb Binary files differdeleted file mode 100644 index c4fac10dc1..0000000000 --- a/features/data/apt/chef-integration-test_1.1-1_amd64.deb +++ /dev/null diff --git a/features/data/apt/chef-integration-test_1.1.orig.tar.gz b/features/data/apt/chef-integration-test_1.1.orig.tar.gz Binary files differdeleted file mode 100644 index 5fda119eae..0000000000 --- a/features/data/apt/chef-integration-test_1.1.orig.tar.gz +++ /dev/null diff --git a/features/data/apt/var/www/apt/conf/distributions b/features/data/apt/var/www/apt/conf/distributions deleted file mode 100644 index 285c1a88de..0000000000 --- a/features/data/apt/var/www/apt/conf/distributions +++ /dev/null @@ -1,7 +0,0 @@ -Origin: localhost -Label: apt repository -Codename: sid -Architectures: amd64 -Components: main -Description: Apt repository -Pull: sid diff --git a/features/data/apt/var/www/apt/conf/incoming b/features/data/apt/var/www/apt/conf/incoming deleted file mode 100644 index d44e59c51b..0000000000 --- a/features/data/apt/var/www/apt/conf/incoming +++ /dev/null @@ -1,4 +0,0 @@ -Name: default -IncomingDir: /tmp/incoming -TempDir: /tmp -Allow: sid unstable>sid diff --git a/features/data/apt/var/www/apt/conf/pulls b/features/data/apt/var/www/apt/conf/pulls deleted file mode 100644 index 0fc3358279..0000000000 --- a/features/data/apt/var/www/apt/conf/pulls +++ /dev/null @@ -1,3 +0,0 @@ -Name: sid -From: sid -Components: main diff --git a/features/data/apt/var/www/apt/db/checksums.db b/features/data/apt/var/www/apt/db/checksums.db Binary files differdeleted file mode 100644 index e36ade2079..0000000000 --- a/features/data/apt/var/www/apt/db/checksums.db +++ /dev/null diff --git a/features/data/apt/var/www/apt/db/contents.cache.db b/features/data/apt/var/www/apt/db/contents.cache.db Binary files differdeleted file mode 100644 index 04a0c4aed5..0000000000 --- a/features/data/apt/var/www/apt/db/contents.cache.db +++ /dev/null diff --git a/features/data/apt/var/www/apt/db/packages.db b/features/data/apt/var/www/apt/db/packages.db Binary files differdeleted file mode 100644 index 43c70b0de3..0000000000 --- a/features/data/apt/var/www/apt/db/packages.db +++ /dev/null diff --git a/features/data/apt/var/www/apt/db/references.db b/features/data/apt/var/www/apt/db/references.db Binary files differdeleted file mode 100644 index 47c99fe152..0000000000 --- a/features/data/apt/var/www/apt/db/references.db +++ /dev/null diff --git a/features/data/apt/var/www/apt/db/release.caches.db b/features/data/apt/var/www/apt/db/release.caches.db Binary files differdeleted file mode 100644 index 0e251c5496..0000000000 --- a/features/data/apt/var/www/apt/db/release.caches.db +++ /dev/null diff --git a/features/data/apt/var/www/apt/db/version b/features/data/apt/var/www/apt/db/version deleted file mode 100644 index a6908690d9..0000000000 --- a/features/data/apt/var/www/apt/db/version +++ /dev/null @@ -1,4 +0,0 @@ -4.2.0 -3.3.0 -bdb4.8.30 -bdb4.8.0 diff --git a/features/data/apt/var/www/apt/dists/sid/Release b/features/data/apt/var/www/apt/dists/sid/Release deleted file mode 100644 index 44ccd079bf..0000000000 --- a/features/data/apt/var/www/apt/dists/sid/Release +++ /dev/null @@ -1,19 +0,0 @@ -Origin: localhost -Label: apt repository -Codename: sid -Date: Thu, 30 Sep 2010 16:33:01 UTC -Architectures: amd64 -Components: main -Description: Apt repository -MD5Sum: - 92ed2cc14e37e9ab23466b27857d29ac 596 main/binary-amd64/Packages - c7726773341137b71cc971d44ddec4f5 394 main/binary-amd64/Packages.gz - 46cd71c965ce0813c94ef78c836cc7d3 104 main/binary-amd64/Release -SHA1: - cde25071c5fcee59cee8dcd773ca419dcb40d946 596 main/binary-amd64/Packages - ce04daff75d4b27371d691d645282b198045544a 394 main/binary-amd64/Packages.gz - 91ca9531e3afa7a540cabdc6030c6f75d315fec7 104 main/binary-amd64/Release -SHA256: - af601ce143f33405425746462973adc0fda3aceb381d1c739851b95ee0814ca3 596 main/binary-amd64/Packages - 15e98119705a08018d4583caabc91d36ba12e6f1c8af0f799a3ec8ca5bfaa80d 394 main/binary-amd64/Packages.gz - 098c599ac5b0a98785336afb2bc9c47002570ffa07dd62321c6f70b9fdb74325 104 main/binary-amd64/Release diff --git a/features/data/apt/var/www/apt/dists/sid/main/binary-amd64/Packages b/features/data/apt/var/www/apt/dists/sid/main/binary-amd64/Packages deleted file mode 100644 index 209c23cd42..0000000000 --- a/features/data/apt/var/www/apt/dists/sid/main/binary-amd64/Packages +++ /dev/null @@ -1,16 +0,0 @@ -Package: chef-integration-test -Version: 1.1-1 -Architecture: amd64 -Maintainer: Joshua Timberman <Joshua Timberman <joshua@opscode.com>> -Installed-Size: 32 -Homepage: http://tickets.opscode.com -Priority: extra -Section: ruby -Filename: pool/main/c/chef-integration-test/chef-integration-test_1.1-1_amd64.deb -Size: 1722 -SHA256: 84e2f087f7e11d1b73743007ecfc6b8b34e03f6917c0993b35c0758ee59702c1 -SHA1: 43c5653a9a5b9419849173a4ec3a9855cf0327a3 -MD5sum: 4b05bace483dbca54efc21f97ee47e1d -Description: Chef integration tests for APT in Cucumber - This package is used for cucumber integration testing in Chef. - diff --git a/features/data/apt/var/www/apt/dists/sid/main/binary-amd64/Packages.gz b/features/data/apt/var/www/apt/dists/sid/main/binary-amd64/Packages.gz Binary files differdeleted file mode 100644 index 8a2c1e8980..0000000000 --- a/features/data/apt/var/www/apt/dists/sid/main/binary-amd64/Packages.gz +++ /dev/null diff --git a/features/data/apt/var/www/apt/dists/sid/main/binary-amd64/Release b/features/data/apt/var/www/apt/dists/sid/main/binary-amd64/Release deleted file mode 100644 index e913d702a1..0000000000 --- a/features/data/apt/var/www/apt/dists/sid/main/binary-amd64/Release +++ /dev/null @@ -1,5 +0,0 @@ -Component: main -Origin: localhost -Label: apt repository -Architecture: amd64 -Description: Apt repository diff --git a/features/data/apt/var/www/apt/pool/main/c/chef-integration-test/chef-integration-test_1.0-1_amd64.deb b/features/data/apt/var/www/apt/pool/main/c/chef-integration-test/chef-integration-test_1.0-1_amd64.deb Binary files differdeleted file mode 100644 index 458dd026ff..0000000000 --- a/features/data/apt/var/www/apt/pool/main/c/chef-integration-test/chef-integration-test_1.0-1_amd64.deb +++ /dev/null diff --git a/features/data/apt/var/www/apt/pool/main/c/chef-integration-test/chef-integration-test_1.1-1_amd64.deb b/features/data/apt/var/www/apt/pool/main/c/chef-integration-test/chef-integration-test_1.1-1_amd64.deb Binary files differdeleted file mode 100644 index c4fac10dc1..0000000000 --- a/features/data/apt/var/www/apt/pool/main/c/chef-integration-test/chef-integration-test_1.1-1_amd64.deb +++ /dev/null diff --git a/features/data/config/client.rb b/features/data/config/client.rb deleted file mode 100644 index 7f2df8b22c..0000000000 --- a/features/data/config/client.rb +++ /dev/null @@ -1,23 +0,0 @@ -supportdir = File.expand_path(File.join(File.dirname(__FILE__), "..")) -tmpdir = File.expand_path(File.join(File.dirname(__FILE__), "..", "tmp")) - -log_level :error -log_location STDOUT -file_cache_path File.join(tmpdir, "cache") -ssl_verify_mode :verify_none -registration_url "http://127.0.0.1:4000" -template_url "http://127.0.0.1:4000" -remotefile_url "http://127.0.0.1:4000" -search_url "http://127.0.0.1:4000" -role_url "http://127.0.0.1:4000" -client_url "http://127.0.0.1:4000" -chef_server_url "http://127.0.0.1:4000" -validation_client_name "validator" -systmpdir = File.expand_path(File.join(Dir.tmpdir, "chef_integration")) -validation_key File.join(systmpdir, "validation.pem") -client_key File.join(systmpdir, "client.pem") -cache_type "Memory" -cache_options({}) - -Ohai::Config[:disabled_plugins] << 'darwin::system_profiler' << 'darwin::kernel' << 'darwin::ssh_host_key' << 'network_listeners' -Ohai::Config[:disabled_plugins ]<< 'darwin::uptime' << 'darwin::filesystem' << 'dmi' << 'lanuages' << 'perl' << 'python' << 'java' diff --git a/features/data/config/client_with_checksum_caching.rb b/features/data/config/client_with_checksum_caching.rb deleted file mode 100644 index 581c22d796..0000000000 --- a/features/data/config/client_with_checksum_caching.rb +++ /dev/null @@ -1,23 +0,0 @@ -supportdir = File.expand_path(File.join(File.dirname(__FILE__), "..")) -tmpdir = File.expand_path(File.join(File.dirname(__FILE__), "..", "tmp")) - -log_level :error -log_location STDOUT -file_cache_path File.join(tmpdir, "cache") -ssl_verify_mode :verify_none -registration_url "http://127.0.0.1:4000" -template_url "http://127.0.0.1:4000" -remotefile_url "http://127.0.0.1:4000" -search_url "http://127.0.0.1:4000" -role_url "http://127.0.0.1:4000" -client_url "http://127.0.0.1:4000" -chef_server_url "http://127.0.0.1:4000" -validation_client_name "validator" -systmpdir = File.expand_path(File.join(Dir.tmpdir, "chef_integration")) -validation_key File.join(systmpdir, "validation.pem") -client_key File.join(systmpdir, "client.pem") -cache_type "BasicFile" -cache_options({:path => File.join(tmpdir, "checksum_cache")}) - -Ohai::Config[:disabled_plugins] << 'darwin::system_profiler' << 'darwin::kernel' << 'darwin::ssh_host_key' << 'network_listeners' -Ohai::Config[:disabled_plugins ]<< 'darwin::uptime' << 'darwin::filesystem' << 'dmi' << 'lanuages' << 'perl' << 'python' << 'java' diff --git a/features/data/config/knife-stephen.rb b/features/data/config/knife-stephen.rb deleted file mode 100644 index c1678104a5..0000000000 --- a/features/data/config/knife-stephen.rb +++ /dev/null @@ -1,12 +0,0 @@ -log_level :debug -log_location STDOUT -# Webui is an admin. -# env.rb gets the client name from Chef::Config[:web_ui_client_name] but we -# cannot use that since it won't be loaded in knife's memory. -systmpdir = File.expand_path(File.join(Dir.tmpdir, "chef_integration")) -node_name 'chef-webui' -client_key File.join(systmpdir, "webui.pem") -validation_client_name 'chef-validator' -validation_key File.join(systmpdir, "validation.pem") -chef_server_url 'http://localhost:4000' -cache_type 'BasicFile' diff --git a/features/data/config/knife.rb b/features/data/config/knife.rb deleted file mode 100644 index 7a1830a9d0..0000000000 --- a/features/data/config/knife.rb +++ /dev/null @@ -1,11 +0,0 @@ -log_level :debug -log_location STDOUT -# Webui is an admin. -# env.rb gets the client name from Chef::Config[:web_ui_client_name] but we -# cannot use that since it won't be loaded in knife's memory. -node_name 'chef-webui' -client_key "#{Dir.tmpdir}/chef_integration/webui.pem" -validation_client_name 'chef-validator' -validation_key "#{Dir.tmpdir}/validation.pem" -chef_server_url 'http://localhost:4000' -cache_type 'BasicFile' diff --git a/features/data/config/rake.rb b/features/data/config/rake.rb deleted file mode 100644 index d79d6e9889..0000000000 --- a/features/data/config/rake.rb +++ /dev/null @@ -1,57 +0,0 @@ -### -# Company and SSL Details -### - -# The company name - used for SSL certificates, and in various other places -COMPANY_NAME = "Opscode" - -# The Country Name to use for SSL Certificates -SSL_COUNTRY_NAME = "US" - -# The State Name to use for SSL Certificates -SSL_STATE_NAME = "Washington" - -# The Locality Name for SSL - typically, the city -SSL_LOCALITY_NAME = "Seattle" - -# What department? -SSL_ORGANIZATIONAL_UNIT_NAME = "Operations" - -# The SSL contact email address -SSL_EMAIL_ADDRESS = "do_not_reply@opscode.com" - -# License for new Cookbooks -# Can be :apachev2 or :none -NEW_COOKBOOK_LICENSE = :apachev2 - -########################## -# Chef Repository Layout # -########################## - -supportdir = File.expand_path(File.join(File.dirname(__FILE__), "..")) -tmpdir = File.expand_path(File.join(File.dirname(__FILE__), "..", "tmp")) - -# Where to find upstream cookbooks -COOKBOOK_PATH = File.join(supportdir, "cookbooks") - -# Where to find site-local modifications to upstream cookbooks -SITE_COOKBOOK_PATH = File.join(supportdir, "site-cookbooks") - -# Chef Config Path -CHEF_CONFIG_PATH = File.join(supportdir, "config") - -# The location of the Chef Server Config file (on the server) -CHEF_SERVER_CONFIG = File.join(CHEF_CONFIG_PATH, "server.rb") - -# The location of the Chef Client Config file (on the client) -CHEF_CLIENT_CONFIG = File.join(CHEF_CONFIG_PATH, "client.rb") - -### -# Useful Extras (which you probably don't need to change) -### - -# The top of the repository checkout -TOPDIR = File.expand_path(File.join(File.dirname(__FILE__), "..")) - -# Where to store certificates generated with ssl_cert -CADIR = File.expand_path(File.join(TOPDIR, "certificates")) diff --git a/features/data/config/server.rb b/features/data/config/server.rb deleted file mode 100644 index 295db68c0f..0000000000 --- a/features/data/config/server.rb +++ /dev/null @@ -1,52 +0,0 @@ -require 'tmpdir' - -supportdir = File.expand_path(File.join(File.dirname(__FILE__), "..")) -tmpdir = File.expand_path(File.join(File.dirname(__FILE__), "..", "tmp")) -solr_tmp_dir = '/tmp/chef_solr_for_features' - -log_level :debug -log_location STDOUT -file_cache_path File.join(tmpdir, "cache") -ssl_verify_mode :verify_none -registration_url "http://127.0.0.1:4000" -template_url "http://127.0.0.1:4000" -remotefile_url "http://127.0.0.1:4000" -search_url "http://127.0.0.1:4000" -role_url "http://127.0.0.1:4000" -chef_server_url "http://127.0.0.1:4000" -client_url "http://127.0.0.1:4000" -cookbook_path [File.join(tmpdir, "cookbooks"), File.join(supportdir, "cookbooks")] - - -sandbox_path File.join(tmpdir, "sandboxes") -# checksum_path is where files in sandbox commits (during cookbook upload) are moved -checksum_path File.expand_path(File.join(File.dirname(__FILE__), "..", "repo", "checksums")) -openid_store_path File.join(tmpdir, "openid", "store") -openid_cstore_path File.join(tmpdir, "openid", "cstore") -role_path File.join(supportdir, "roles") -signing_ca_path File.join(tmpdir, "ca") -couchdb_database 'chef_integration' - -systmpdir = File.expand_path(File.join(Dir.tmpdir, "chef_integration")) - -validation_client_name "validator" -validation_key File.join(systmpdir, "validation.pem") -client_key File.join(systmpdir, "client.pem") -web_ui_client_name "chef-webui" -web_ui_key File.join(systmpdir, "webui.pem") - -solr_jetty_path File.join(solr_tmp_dir, "solr-jetty") -solr_data_path File.join(solr_tmp_dir, "solr", "data") -solr_home_path File.join(solr_tmp_dir, "solr") -solr_heap_size "250M" - -amqp_host '0.0.0.0' -amqp_port 5672 -amqp_user 'chef' -amqp_pass 'testing' -amqp_vhost '/chef' -amqp_consumer_id "aaaaaaaa-bbbb-cccc-dddd-eeee-ffffffffffffffff" - -Mixlib::Log::Formatter.show_time = true - -cache_options({ :path => File.join(tmpdir, "server-checksums") }) diff --git a/features/data/cookbook_tarballs/empty_tarball.tar.gz b/features/data/cookbook_tarballs/empty_tarball.tar.gz Binary files differdeleted file mode 100644 index 0834ddfe17..0000000000 --- a/features/data/cookbook_tarballs/empty_tarball.tar.gz +++ /dev/null diff --git a/features/data/cookbook_tarballs/new.tar.gz b/features/data/cookbook_tarballs/new.tar.gz Binary files differdeleted file mode 100644 index 71f27defdd..0000000000 --- a/features/data/cookbook_tarballs/new.tar.gz +++ /dev/null diff --git a/features/data/cookbook_tarballs/not_a_tarball.txt b/features/data/cookbook_tarballs/not_a_tarball.txt deleted file mode 100644 index b8c3637dec..0000000000 --- a/features/data/cookbook_tarballs/not_a_tarball.txt +++ /dev/null @@ -1 +0,0 @@ -I'm not a tarball. diff --git a/features/data/cookbook_tarballs/original.tar.gz b/features/data/cookbook_tarballs/original.tar.gz Binary files differdeleted file mode 100644 index 149fd262b1..0000000000 --- a/features/data/cookbook_tarballs/original.tar.gz +++ /dev/null diff --git a/features/data/cookbooks/attribute_include/README.rdoc b/features/data/cookbooks/attribute_include/README.rdoc deleted file mode 100644 index 8d774805b9..0000000000 --- a/features/data/cookbooks/attribute_include/README.rdoc +++ /dev/null @@ -1,8 +0,0 @@ -= DESCRIPTION: - -= REQUIREMENTS: - -= ATTRIBUTES: - -= USAGE: - diff --git a/features/data/cookbooks/attribute_include/attributes/a.rb b/features/data/cookbooks/attribute_include/attributes/a.rb deleted file mode 100644 index ea03d1a275..0000000000 --- a/features/data/cookbooks/attribute_include/attributes/a.rb +++ /dev/null @@ -1,4 +0,0 @@ -include_attribute 'attribute_include::b' -set[:mars_volta] = mars_volta_name -set[:mars_volta_is] = mars_volta_will_be - diff --git a/features/data/cookbooks/attribute_include/attributes/b.rb b/features/data/cookbooks/attribute_include/attributes/b.rb deleted file mode 100644 index bd5e056c04..0000000000 --- a/features/data/cookbooks/attribute_include/attributes/b.rb +++ /dev/null @@ -1,2 +0,0 @@ -set[:mars_volta_name] = 'mars_volta' -set[:mars_volta_will_be] = 'dope' diff --git a/features/data/cookbooks/attribute_include/metadata.rb b/features/data/cookbooks/attribute_include/metadata.rb deleted file mode 100644 index 07c1801d28..0000000000 --- a/features/data/cookbooks/attribute_include/metadata.rb +++ /dev/null @@ -1,6 +0,0 @@ -maintainer "Opscode" -maintainer_email "do_not_reply@opscode.com" -license "Apache 2.0" -description "Installs/Configures recipe_include" -long_description IO.read(File.join(File.dirname(__FILE__), 'README.rdoc')) -version "0.1" diff --git a/features/data/cookbooks/attribute_include/recipes/default.rb b/features/data/cookbooks/attribute_include/recipes/default.rb deleted file mode 100644 index a211dc5928..0000000000 --- a/features/data/cookbooks/attribute_include/recipes/default.rb +++ /dev/null @@ -1,23 +0,0 @@ -# -# Cookbook Name:: recipe_include -# Recipe:: second -# -# Copyright 2009, Opscode -# -# 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. -# - -execute "append to #{node[:tmpdir]}/mars_volta" do - command "echo '#{node.mars_volta} is #{node.mars_volta_is}' >> #{node[:tmpdir]}/mars_volta" -end - diff --git a/features/data/cookbooks/attribute_include_default/README.rdoc b/features/data/cookbooks/attribute_include_default/README.rdoc deleted file mode 100644 index 8d774805b9..0000000000 --- a/features/data/cookbooks/attribute_include_default/README.rdoc +++ /dev/null @@ -1,8 +0,0 @@ -= DESCRIPTION: - -= REQUIREMENTS: - -= ATTRIBUTES: - -= USAGE: - diff --git a/features/data/cookbooks/attribute_include_default/attributes/a.rb b/features/data/cookbooks/attribute_include_default/attributes/a.rb deleted file mode 100644 index 53b60c55de..0000000000 --- a/features/data/cookbooks/attribute_include_default/attributes/a.rb +++ /dev/null @@ -1,5 +0,0 @@ -# should be equivalent to include_attribute 'attribute_include_default::default' -include_attribute 'attribute_include_default' -set[:mars_volta] = mars_volta_name -set[:mars_volta_is] = mars_volta_will_be - diff --git a/features/data/cookbooks/attribute_include_default/attributes/default.rb b/features/data/cookbooks/attribute_include_default/attributes/default.rb deleted file mode 100644 index bd5e056c04..0000000000 --- a/features/data/cookbooks/attribute_include_default/attributes/default.rb +++ /dev/null @@ -1,2 +0,0 @@ -set[:mars_volta_name] = 'mars_volta' -set[:mars_volta_will_be] = 'dope' diff --git a/features/data/cookbooks/attribute_include_default/metadata.rb b/features/data/cookbooks/attribute_include_default/metadata.rb deleted file mode 100644 index 07c1801d28..0000000000 --- a/features/data/cookbooks/attribute_include_default/metadata.rb +++ /dev/null @@ -1,6 +0,0 @@ -maintainer "Opscode" -maintainer_email "do_not_reply@opscode.com" -license "Apache 2.0" -description "Installs/Configures recipe_include" -long_description IO.read(File.join(File.dirname(__FILE__), 'README.rdoc')) -version "0.1" diff --git a/features/data/cookbooks/attribute_include_default/recipes/default.rb b/features/data/cookbooks/attribute_include_default/recipes/default.rb deleted file mode 100644 index a211dc5928..0000000000 --- a/features/data/cookbooks/attribute_include_default/recipes/default.rb +++ /dev/null @@ -1,23 +0,0 @@ -# -# Cookbook Name:: recipe_include -# Recipe:: second -# -# Copyright 2009, Opscode -# -# 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. -# - -execute "append to #{node[:tmpdir]}/mars_volta" do - command "echo '#{node.mars_volta} is #{node.mars_volta_is}' >> #{node[:tmpdir]}/mars_volta" -end - diff --git a/features/data/cookbooks/attribute_settings/README.rdoc b/features/data/cookbooks/attribute_settings/README.rdoc deleted file mode 100644 index 8d774805b9..0000000000 --- a/features/data/cookbooks/attribute_settings/README.rdoc +++ /dev/null @@ -1,8 +0,0 @@ -= DESCRIPTION: - -= REQUIREMENTS: - -= ATTRIBUTES: - -= USAGE: - diff --git a/features/data/cookbooks/attribute_settings/attributes/default.rb b/features/data/cookbooks/attribute_settings/attributes/default.rb deleted file mode 100644 index 735f7c82bf..0000000000 --- a/features/data/cookbooks/attribute_settings/attributes/default.rb +++ /dev/null @@ -1,3 +0,0 @@ -default[:attribute_priority_was] = "came from recipe[attribute_settings] attributes" - - diff --git a/features/data/cookbooks/attribute_settings/default.rb b/features/data/cookbooks/attribute_settings/default.rb deleted file mode 100644 index 9ad0bdd8c6..0000000000 --- a/features/data/cookbooks/attribute_settings/default.rb +++ /dev/null @@ -1 +0,0 @@ -default[:attribute_priority_was] = 0 diff --git a/features/data/cookbooks/attribute_settings/metadata.rb b/features/data/cookbooks/attribute_settings/metadata.rb deleted file mode 100644 index ed2938fa6d..0000000000 --- a/features/data/cookbooks/attribute_settings/metadata.rb +++ /dev/null @@ -1,6 +0,0 @@ -maintainer "Opscode" -maintainer_email "do_not_reply@opscode.com" -license "Apache 2.0" -description "Installs/Configures attribute_settings" -long_description IO.read(File.join(File.dirname(__FILE__), 'README.rdoc')) -version "0.1" diff --git a/features/data/cookbooks/attribute_settings/recipes/default.rb b/features/data/cookbooks/attribute_settings/recipes/default.rb deleted file mode 100644 index 23aa2e1c51..0000000000 --- a/features/data/cookbooks/attribute_settings/recipes/default.rb +++ /dev/null @@ -1,21 +0,0 @@ -# -# Cookbook Name:: attribute_settings -# Recipe:: default -# -# Copyright 2009, Opscode -# -# 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. -# - -execute "echo #{node[:attribute_priority_was]} > #{node[:tmpdir]}/attribute_setting.txt" - diff --git a/features/data/cookbooks/attribute_settings/recipes/default_in_recipe.rb b/features/data/cookbooks/attribute_settings/recipes/default_in_recipe.rb deleted file mode 100644 index 611f00fab9..0000000000 --- a/features/data/cookbooks/attribute_settings/recipes/default_in_recipe.rb +++ /dev/null @@ -1,25 +0,0 @@ -# -# Cookbook Name:: attribute_settings -# Recipe:: default -# -# Copyright 2009, Opscode -# -# 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. -# - -node.default[:attribute_priority_was] = "came from recipe[attribute_settings::default_in_recipe]" - -execute "echo #{node[:attribute_priority_was]} > #{node[:tmpdir]}/attribute_setting.txt" - - - diff --git a/features/data/cookbooks/attribute_settings_normal/README.rdoc b/features/data/cookbooks/attribute_settings_normal/README.rdoc deleted file mode 100644 index 8d774805b9..0000000000 --- a/features/data/cookbooks/attribute_settings_normal/README.rdoc +++ /dev/null @@ -1,8 +0,0 @@ -= DESCRIPTION: - -= REQUIREMENTS: - -= ATTRIBUTES: - -= USAGE: - diff --git a/features/data/cookbooks/attribute_settings_normal/attributes/.default.rb.swo b/features/data/cookbooks/attribute_settings_normal/attributes/.default.rb.swo Binary files differdeleted file mode 100644 index fc5d646009..0000000000 --- a/features/data/cookbooks/attribute_settings_normal/attributes/.default.rb.swo +++ /dev/null diff --git a/features/data/cookbooks/attribute_settings_normal/attributes/default.rb b/features/data/cookbooks/attribute_settings_normal/attributes/default.rb deleted file mode 100644 index 9a9fabd4ff..0000000000 --- a/features/data/cookbooks/attribute_settings_normal/attributes/default.rb +++ /dev/null @@ -1,2 +0,0 @@ -normal[:attribute_priority_was] = "came from recipe[attribute_settings_normal] attributes" - diff --git a/features/data/cookbooks/attribute_settings_normal/default.rb b/features/data/cookbooks/attribute_settings_normal/default.rb deleted file mode 100644 index 9ad0bdd8c6..0000000000 --- a/features/data/cookbooks/attribute_settings_normal/default.rb +++ /dev/null @@ -1 +0,0 @@ -default[:attribute_priority_was] = 0 diff --git a/features/data/cookbooks/attribute_settings_normal/metadata.rb b/features/data/cookbooks/attribute_settings_normal/metadata.rb deleted file mode 100644 index ed2938fa6d..0000000000 --- a/features/data/cookbooks/attribute_settings_normal/metadata.rb +++ /dev/null @@ -1,6 +0,0 @@ -maintainer "Opscode" -maintainer_email "do_not_reply@opscode.com" -license "Apache 2.0" -description "Installs/Configures attribute_settings" -long_description IO.read(File.join(File.dirname(__FILE__), 'README.rdoc')) -version "0.1" diff --git a/features/data/cookbooks/attribute_settings_normal/recipes/.default.rb.swo b/features/data/cookbooks/attribute_settings_normal/recipes/.default.rb.swo Binary files differdeleted file mode 100644 index 369e8d73ce..0000000000 --- a/features/data/cookbooks/attribute_settings_normal/recipes/.default.rb.swo +++ /dev/null diff --git a/features/data/cookbooks/attribute_settings_normal/recipes/.default_in_recipe.rb.swo b/features/data/cookbooks/attribute_settings_normal/recipes/.default_in_recipe.rb.swo Binary files differdeleted file mode 100644 index 5804d58505..0000000000 --- a/features/data/cookbooks/attribute_settings_normal/recipes/.default_in_recipe.rb.swo +++ /dev/null diff --git a/features/data/cookbooks/attribute_settings_normal/recipes/default.rb b/features/data/cookbooks/attribute_settings_normal/recipes/default.rb deleted file mode 100644 index 23aa2e1c51..0000000000 --- a/features/data/cookbooks/attribute_settings_normal/recipes/default.rb +++ /dev/null @@ -1,21 +0,0 @@ -# -# Cookbook Name:: attribute_settings -# Recipe:: default -# -# Copyright 2009, Opscode -# -# 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. -# - -execute "echo #{node[:attribute_priority_was]} > #{node[:tmpdir]}/attribute_setting.txt" - diff --git a/features/data/cookbooks/attribute_settings_normal/recipes/normal_in_recipe.rb b/features/data/cookbooks/attribute_settings_normal/recipes/normal_in_recipe.rb deleted file mode 100644 index 5badb699dc..0000000000 --- a/features/data/cookbooks/attribute_settings_normal/recipes/normal_in_recipe.rb +++ /dev/null @@ -1,25 +0,0 @@ -# -# Cookbook Name:: attribute_settings -# Recipe:: default -# -# Copyright 2009, Opscode -# -# 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. -# - -node.normal[:attribute_priority_was] = "came from recipe[attribute_settings_normal::normal_in_recipe]" - -execute "echo #{node[:attribute_priority_was]} > #{node[:tmpdir]}/attribute_setting.txt" - - - diff --git a/features/data/cookbooks/attribute_settings_override/README.rdoc b/features/data/cookbooks/attribute_settings_override/README.rdoc deleted file mode 100644 index 8d774805b9..0000000000 --- a/features/data/cookbooks/attribute_settings_override/README.rdoc +++ /dev/null @@ -1,8 +0,0 @@ -= DESCRIPTION: - -= REQUIREMENTS: - -= ATTRIBUTES: - -= USAGE: - diff --git a/features/data/cookbooks/attribute_settings_override/attributes/default.rb b/features/data/cookbooks/attribute_settings_override/attributes/default.rb deleted file mode 100644 index a0caa1b4b8..0000000000 --- a/features/data/cookbooks/attribute_settings_override/attributes/default.rb +++ /dev/null @@ -1,2 +0,0 @@ -override[:attribute_priority_was] = "came from recipe[attribute_settings_override] override attributes" - diff --git a/features/data/cookbooks/attribute_settings_override/default.rb b/features/data/cookbooks/attribute_settings_override/default.rb deleted file mode 100644 index 9ad0bdd8c6..0000000000 --- a/features/data/cookbooks/attribute_settings_override/default.rb +++ /dev/null @@ -1 +0,0 @@ -default[:attribute_priority_was] = 0 diff --git a/features/data/cookbooks/attribute_settings_override/metadata.rb b/features/data/cookbooks/attribute_settings_override/metadata.rb deleted file mode 100644 index ed2938fa6d..0000000000 --- a/features/data/cookbooks/attribute_settings_override/metadata.rb +++ /dev/null @@ -1,6 +0,0 @@ -maintainer "Opscode" -maintainer_email "do_not_reply@opscode.com" -license "Apache 2.0" -description "Installs/Configures attribute_settings" -long_description IO.read(File.join(File.dirname(__FILE__), 'README.rdoc')) -version "0.1" diff --git a/features/data/cookbooks/attribute_settings_override/recipes/default.rb b/features/data/cookbooks/attribute_settings_override/recipes/default.rb deleted file mode 100644 index 23aa2e1c51..0000000000 --- a/features/data/cookbooks/attribute_settings_override/recipes/default.rb +++ /dev/null @@ -1,21 +0,0 @@ -# -# Cookbook Name:: attribute_settings -# Recipe:: default -# -# Copyright 2009, Opscode -# -# 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. -# - -execute "echo #{node[:attribute_priority_was]} > #{node[:tmpdir]}/attribute_setting.txt" - diff --git a/features/data/cookbooks/attribute_settings_override/recipes/normal_in_recipe.rb b/features/data/cookbooks/attribute_settings_override/recipes/normal_in_recipe.rb deleted file mode 100644 index 6e7807f073..0000000000 --- a/features/data/cookbooks/attribute_settings_override/recipes/normal_in_recipe.rb +++ /dev/null @@ -1,25 +0,0 @@ -# -# Cookbook Name:: attribute_settings -# Recipe:: default -# -# Copyright 2009, Opscode -# -# 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. -# - -node.override[:attribute_priority_was] = 5 - -execute "echo #{node[:attribute_priority_was]} > #{node[:tmpdir]}/attribute_setting.txt" - - - diff --git a/features/data/cookbooks/attribute_settings_override/recipes/override_in_recipe.rb b/features/data/cookbooks/attribute_settings_override/recipes/override_in_recipe.rb deleted file mode 100644 index 88a28dce0e..0000000000 --- a/features/data/cookbooks/attribute_settings_override/recipes/override_in_recipe.rb +++ /dev/null @@ -1,21 +0,0 @@ -# Copyright (c) 2009, 2011 Opscode, Inc. -# -# 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. -# - -node.override[:attribute_priority_was] = "came from recipe[attribute_settings_override::override_in_recipe]" - -execute "echo #{node[:attribute_priority_was]} > #{node[:tmpdir]}/attribute_setting.txt" - - - diff --git a/features/data/cookbooks/delayed_notifications/recipes/bad_syntax_notifies.rb b/features/data/cookbooks/delayed_notifications/recipes/bad_syntax_notifies.rb deleted file mode 100644 index 5136e3aa64..0000000000 --- a/features/data/cookbooks/delayed_notifications/recipes/bad_syntax_notifies.rb +++ /dev/null @@ -1,14 +0,0 @@ - -# Should never be executed, see comment below -execute("echo should-not-execute") - -execute("echo foo") do - # refers to the resource below but the syntax is wrong - # expected behavior is for the reference to be resolved later - # and the notification to work correctly - notifies(:create, /file\[.*notified_file\.txt\]/) #regex isn't a valid argument here -end - -file "#{node[:tmpdir]}/notified_file.txt" do - action :nothing -end diff --git a/features/data/cookbooks/delayed_notifications/recipes/default.rb b/features/data/cookbooks/delayed_notifications/recipes/default.rb deleted file mode 100644 index 70d0071bc5..0000000000 --- a/features/data/cookbooks/delayed_notifications/recipes/default.rb +++ /dev/null @@ -1,18 +0,0 @@ -# -# Cookbook Name:: delayed_notifications -# Recipe:: default -# -# Copyright 2009, Opscode -# -# 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. -# diff --git a/features/data/cookbooks/delayed_notifications/recipes/forward_references.rb b/features/data/cookbooks/delayed_notifications/recipes/forward_references.rb deleted file mode 100644 index 14d82eef0c..0000000000 --- a/features/data/cookbooks/delayed_notifications/recipes/forward_references.rb +++ /dev/null @@ -1,10 +0,0 @@ -execute("echo foo") do - # refers to the resource below, which isn't defined yet. - # expected behavior is for the reference to be resolved later - # and the notification to work correctly - notifies(:create, "file[#{node[:tmpdir]}/notified_file.txt]") -end - -file "#{node[:tmpdir]}/notified_file.txt" do - action :nothing -end diff --git a/features/data/cookbooks/delayed_notifications/recipes/invalid_forward_reference.rb b/features/data/cookbooks/delayed_notifications/recipes/invalid_forward_reference.rb deleted file mode 100644 index d636611dc0..0000000000 --- a/features/data/cookbooks/delayed_notifications/recipes/invalid_forward_reference.rb +++ /dev/null @@ -1,16 +0,0 @@ - -# Should never be executed, see comment below -execute("echo should-not-execute") - -execute("echo foo") do - # refers to the resource below, but there is an intentional typo - # expected behavior is for the reference to be resolved *before* - # Chef starts converging resources, so that the above execute - # resource is never called. - # Also, the error message should be helpful. - notifies(:create, "file[#{node[:tmpdir]}/notified_file.txt]") -end - -file "#{node[:tmpdir]}/not-notified_file.txt" do - action :nothing -end diff --git a/features/data/cookbooks/delayed_notifications/recipes/notify_a_resource_from_a_single_source.rb b/features/data/cookbooks/delayed_notifications/recipes/notify_a_resource_from_a_single_source.rb deleted file mode 100644 index 9ab2a9a6fe..0000000000 --- a/features/data/cookbooks/delayed_notifications/recipes/notify_a_resource_from_a_single_source.rb +++ /dev/null @@ -1,26 +0,0 @@ -# -# Cookbook Name:: delayed_notifications -# Recipe:: notify_a_resource_from_a_single_source -# -# Copyright 2009, Opscode -# -# 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. -# - -file "#{node[:tmpdir]}/notified_file.txt" do - action :nothing -end - -execute "echo foo" do - notifies :create, resources("file[#{node[:tmpdir]}/notified_file.txt]"), :delayed -end diff --git a/features/data/cookbooks/delayed_notifications/recipes/notify_a_resource_from_multiple_sources.rb b/features/data/cookbooks/delayed_notifications/recipes/notify_a_resource_from_multiple_sources.rb deleted file mode 100644 index 74fc68a0f3..0000000000 --- a/features/data/cookbooks/delayed_notifications/recipes/notify_a_resource_from_multiple_sources.rb +++ /dev/null @@ -1,31 +0,0 @@ -# -# Cookbook Name:: delayed_notifications -# Recipe:: notify_a_resource_from_multiple_sources -# -# Copyright 2009, Opscode -# -# 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. -# - -execute "bob dylan" do - command "echo 'bob dylan' >> #{node[:tmpdir]}/notified_file.txt" - action :nothing -end - -execute "echo foo" do - notifies :run, resources("execute[bob dylan]"), :delayed -end - -execute "echo bar" do - notifies :run, resources("execute[bob dylan]"), :delayed -end diff --git a/features/data/cookbooks/delayed_notifications/recipes/notify_different_resources_for_different_actions.rb b/features/data/cookbooks/delayed_notifications/recipes/notify_different_resources_for_different_actions.rb deleted file mode 100644 index 3180bbe4c2..0000000000 --- a/features/data/cookbooks/delayed_notifications/recipes/notify_different_resources_for_different_actions.rb +++ /dev/null @@ -1,31 +0,0 @@ -# -# Cookbook Name:: delayed_notifications -# Recipe:: notify_different_resources_for_different_actions -# -# Copyright 2009, Opscode -# -# 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. -# - -file "#{node[:tmpdir]}/notified_file_2.txt" do - action :nothing -end - -file "#{node[:tmpdir]}/notified_file_3.txt" do - action :nothing -end - -execute "echo foo" do - notifies([{resources("file[#{node[:tmpdir]}/notified_file_2.txt]") => [:create, :delayed]}, - {resources("file[#{node[:tmpdir]}/notified_file_3.txt]") => [:create, :delayed]}]) -end diff --git a/features/data/cookbooks/deploy/recipes/callbacks.rb b/features/data/cookbooks/deploy/recipes/callbacks.rb deleted file mode 100644 index 7d19c90446..0000000000 --- a/features/data/cookbooks/deploy/recipes/callbacks.rb +++ /dev/null @@ -1,78 +0,0 @@ -# -# Cookbook Name:: deploy -# Recipe:: default -# -# Copyright 2009, Opscode -# -# 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. -# - -%w{ log pids system config sqlite deploy}.each do |dir| - directory "#{node[:tmpdir]}/deploy/shared/#{dir}" do - recursive true - mode "0775" - end -end - - -template "#{node[:tmpdir]}/deploy/shared/config/database.yml" do - source "database.yml.erb" - mode "0664" -end - -template "#{node[:tmpdir]}/deploy/shared/config/app_config.yml" do - source "app_config.yml.erb" - mode "0664" -end - -template "#{node[:tmpdir]}/deploy/shared/deploy/before_migrate.rb" do - source "sneaky_before_migrate_hook.rb.erb" - mode "0644" -end - -template "#{node[:tmpdir]}/deploy/shared/deploy/before_symlink.rb" do - source "sneaky_before_symlink_hook.rb.erb" - mode "0644" -end - -template "#{node[:tmpdir]}/deploy/shared/deploy/before_restart.rb" do - source "sneaky_before_restart_hook.rb.erb" - mode "0644" -end - -template "#{node[:tmpdir]}/deploy/shared/deploy/after_restart.rb" do - source "sneaky_after_restart_hook.rb.erb" - mode "0644" -end - -file "#{node[:tmpdir]}/deploy/shared/sqlite/production.sqlite3" do - mode "0664" -end - -deploy "#{node[:tmpdir]}/deploy" do - repo "#{node[:tmpdir]}/gitrepo/myapp/" - environment "RAILS_ENV" => "production" - revision "HEAD" - action :deploy - migration_command "rake db:migrate --trace" - migrate true - restart_command "touch tmp/restart.txt" - create_dirs_before_symlink %w{tmp public config deploy} - symlink_before_migrate "config/database.yml" => "config/database.yml" - - symlinks "system" => "public/system", "pids" => "tmp/pids", "log" => "log", - "deploy/before_migrate.rb" => "deploy/before_migrate.rb", - "deploy/before_symlink.rb" => "deploy/before_symlink.rb", - "deploy/before_restart.rb" => "deploy/before_restart.rb", - "deploy/after_restart.rb" => "deploy/after_restart.rb" -end diff --git a/features/data/cookbooks/deploy/recipes/default.rb b/features/data/cookbooks/deploy/recipes/default.rb deleted file mode 100644 index 39ff3fd040..0000000000 --- a/features/data/cookbooks/deploy/recipes/default.rb +++ /dev/null @@ -1,51 +0,0 @@ -# -# Cookbook Name:: deploy -# Recipe:: default -# -# Copyright 2009, Opscode -# -# 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. -# - -%w{ log pids system config sqlite}.each do |dir| - directory "#{node[:tmpdir]}/deploy/shared/#{dir}" do - recursive true - mode "0775" - end -end - - -template "#{node[:tmpdir]}/deploy/shared/config/database.yml" do - source "database.yml.erb" - mode "0664" -end - -template "#{node[:tmpdir]}/deploy/shared/config/app_config.yml" do - source "app_config.yml.erb" - mode "0664" -end - -file "#{node[:tmpdir]}/deploy/shared/sqlite/production.sqlite3" do - mode "0664" -end - -deploy "#{node[:tmpdir]}/deploy" do - repo "#{node[:tmpdir]}/gitrepo/myapp/" - environment "RAILS_ENV" => "production" - revision "HEAD" - action :deploy - migration_command "rake db:migrate --trace" - migrate true - restart_command "touch tmp/restart.txt" -end - diff --git a/features/data/cookbooks/deploy/recipes/deploy_commit1.rb b/features/data/cookbooks/deploy/recipes/deploy_commit1.rb deleted file mode 100644 index f2b28a8874..0000000000 --- a/features/data/cookbooks/deploy/recipes/deploy_commit1.rb +++ /dev/null @@ -1,25 +0,0 @@ -# -# Cookbook Name:: deploy -# Recipe:: deploy_commit1 -# -# Copyright 2010, Opscode -# -# 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. -# - -deploy "deploy" do - deploy_to "#{node[:tmpdir]}/deploy" - repo "#{node[:tmpdir]}/test_git_repo" - revision "commit1" - action :deploy -end diff --git a/features/data/cookbooks/deploy/recipes/deploy_commit2.rb b/features/data/cookbooks/deploy/recipes/deploy_commit2.rb deleted file mode 100644 index 87231bb272..0000000000 --- a/features/data/cookbooks/deploy/recipes/deploy_commit2.rb +++ /dev/null @@ -1,25 +0,0 @@ -# -# Cookbook Name:: deploy -# Recipe:: deploy_commit2 -# -# Copyright 2010, Opscode -# -# 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. -# - -deploy "deploy" do - deploy_to "#{node[:tmpdir]}/deploy" - repo "#{node[:tmpdir]}/test_git_repo" - revision "commit2" - action :deploy -end diff --git a/features/data/cookbooks/deploy/recipes/embedded_recipe_callbacks.rb b/features/data/cookbooks/deploy/recipes/embedded_recipe_callbacks.rb deleted file mode 100644 index 56804eaf50..0000000000 --- a/features/data/cookbooks/deploy/recipes/embedded_recipe_callbacks.rb +++ /dev/null @@ -1,70 +0,0 @@ -# -# Cookbook Name:: deploy -# Recipe:: embedded_recipe_callbacks -# -# Copyright 2009, Daniel DeLeo -# -# 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. -# - -%w{ log pids system config sqlite deploy}.each do |dir| - directory "#{node[:tmpdir]}/deploy/shared/#{dir}" do - recursive true - mode "0775" - end -end - - -template "#{node[:tmpdir]}/deploy/shared/config/database.yml" do - source "database.yml.erb" - mode "0664" -end - -file "#{node[:tmpdir]}/deploy/shared/sqlite/production.sqlite3" do - mode "0664" -end - -timestamped_deploy "#{node[:tmpdir]}/deploy" do - repo "#{node[:tmpdir]}/gitrepo/myapp/" - environment "RAILS_ENV" => "production" - revision "HEAD" - action :deploy - migration_command "rake db:migrate --trace" - migrate true - - # Callback awesomeness: - before_migrate do - current_release = release_path - - directory "#{current_release}/deploy" do - mode "0755" - end - - # creates a callback for before_symlink - template "#{current_release}/deploy/before_symlink_callback.rb" do - source "embedded_recipe_before_symlink.rb.erb" - mode "0644" - end - - end - - before_symlink "deploy/before_symlink_callback.rb" - - restart do - current_release = release_path - file "#{release_path}/tmp/restart.txt" do - mode "0644" - end - end - -end diff --git a/features/data/cookbooks/deploy/recipes/revision_deploy.rb b/features/data/cookbooks/deploy/recipes/revision_deploy.rb deleted file mode 100644 index 666d70df2f..0000000000 --- a/features/data/cookbooks/deploy/recipes/revision_deploy.rb +++ /dev/null @@ -1,51 +0,0 @@ -# -# Cookbook Name:: deploy -# Recipe:: default -# -# Copyright 2009, Opscode -# -# 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. -# - -%w{ log pids system config sqlite}.each do |dir| - directory "#{node[:tmpdir]}/deploy/shared/#{dir}" do - recursive true - mode "0775" - end -end - - -template "#{node[:tmpdir]}/deploy/shared/config/database.yml" do - source "database.yml.erb" - mode "0664" -end - -template "#{node[:tmpdir]}/deploy/shared/config/app_config.yml" do - source "app_config.yml.erb" - mode "0664" -end - -file "#{node[:tmpdir]}/deploy/shared/sqlite/production.sqlite3" do - mode "0664" -end - -deploy_revision "#{node[:tmpdir]}/deploy" do - repo "#{node[:tmpdir]}/gitrepo/myapp/" - environment "RAILS_ENV" => "production" - revision "HEAD" - action :deploy - migration_command "rake db:migrate --trace" - migrate true - restart_command "touch tmp/restart.txt" -end - diff --git a/features/data/cookbooks/deploy/recipes/revision_rollback.rb b/features/data/cookbooks/deploy/recipes/revision_rollback.rb deleted file mode 100644 index faa39c2f42..0000000000 --- a/features/data/cookbooks/deploy/recipes/revision_rollback.rb +++ /dev/null @@ -1,28 +0,0 @@ -# -# Cookbook Name:: deploy -# Recipe:: default -# -# Copyright 2009, Opscode -# -# 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. -# - -deploy_revision "#{node[:tmpdir]}/deploy" do - repo "#{node[:tmpdir]}/gitrepo/myapp/" - environment "RAILS_ENV" => "production" - revision "HEAD" - action :rollback - migration_command "rake db:migrate --trace" - migrate true - restart_command "touch tmp/restart.txt" -end diff --git a/features/data/cookbooks/deploy/recipes/rollback_commit2.rb b/features/data/cookbooks/deploy/recipes/rollback_commit2.rb deleted file mode 100644 index 08720964b8..0000000000 --- a/features/data/cookbooks/deploy/recipes/rollback_commit2.rb +++ /dev/null @@ -1,24 +0,0 @@ -# -# Cookbook Name:: deploy -# Recipe:: rollback_commit2 -# -# Copyright 2010, Opscode -# -# 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. -# - -deploy "deploy" do - deploy_to "#{node[:tmpdir]}/deploy" - repo "#{node[:tmpdir]}/test_git_repo" - action :rollback -end diff --git a/features/data/cookbooks/deploy/templates/default/app_config.yml.erb b/features/data/cookbooks/deploy/templates/default/app_config.yml.erb deleted file mode 100644 index 40bb98ee93..0000000000 --- a/features/data/cookbooks/deploy/templates/default/app_config.yml.erb +++ /dev/null @@ -1,23 +0,0 @@ ---- -default: &default - name: masquerade - host: localhost:3000 - use_ssl: false - time_zone: Berlin - email: info@your.domain.com - session: - session_key: openidserver_session_id - secret: replacethiswithyourowntopsecretsessionsecretsothatnoonewillknowit - mailer: - address: localhost - domain: your.domain.com - from: info@your.domain.com - -development: - <<: *default - -test: - <<: *default - -production: - <<: *default diff --git a/features/data/cookbooks/deploy/templates/default/database.yml.erb b/features/data/cookbooks/deploy/templates/default/database.yml.erb deleted file mode 100644 index 1793d95f55..0000000000 --- a/features/data/cookbooks/deploy/templates/default/database.yml.erb +++ /dev/null @@ -1,18 +0,0 @@ -development: - adapter: sqlite3 - database: dev.sqlite3 - encoding: utf8 - -test: - adapter: sqlite3 - host: localhost - database: masquerade_test - username: masquerade - password: - encoding: utf8 - -production: - adapter: sqlite3 - host: localhost - database: db/production.sqlite3 - encoding: utf8
\ No newline at end of file diff --git a/features/data/cookbooks/deploy/templates/default/embedded_recipe_before_symlink.rb.erb b/features/data/cookbooks/deploy/templates/default/embedded_recipe_before_symlink.rb.erb deleted file mode 100644 index 8b489f15ac..0000000000 --- a/features/data/cookbooks/deploy/templates/default/embedded_recipe_before_symlink.rb.erb +++ /dev/null @@ -1,4 +0,0 @@ -current_release = release_path -file "#{current_release}/app/before_symlink_was_here.txt" do - mode "0644" -end
\ No newline at end of file diff --git a/features/data/cookbooks/deploy/templates/default/sneaky_after_restart_hook.rb.erb b/features/data/cookbooks/deploy/templates/default/sneaky_after_restart_hook.rb.erb deleted file mode 100644 index 90f93f4183..0000000000 --- a/features/data/cookbooks/deploy/templates/default/sneaky_after_restart_hook.rb.erb +++ /dev/null @@ -1,4 +0,0 @@ -hook_name = "after_restart" -::File.open(@release_path + "/app/#{hook_name}", "a+") do |fd| - fd.puts( {:hook_name => hook_name, :env => @configuration[:environment]}.to_json ) -end
\ No newline at end of file diff --git a/features/data/cookbooks/deploy/templates/default/sneaky_before_migrate_hook.rb.erb b/features/data/cookbooks/deploy/templates/default/sneaky_before_migrate_hook.rb.erb deleted file mode 100644 index 59a251e48d..0000000000 --- a/features/data/cookbooks/deploy/templates/default/sneaky_before_migrate_hook.rb.erb +++ /dev/null @@ -1,2 +0,0 @@ -# NOOP -# This file isn't symlinked in yet when its callback would be run.
\ No newline at end of file diff --git a/features/data/cookbooks/deploy/templates/default/sneaky_before_restart_hook.rb.erb b/features/data/cookbooks/deploy/templates/default/sneaky_before_restart_hook.rb.erb deleted file mode 100644 index d514674d4e..0000000000 --- a/features/data/cookbooks/deploy/templates/default/sneaky_before_restart_hook.rb.erb +++ /dev/null @@ -1,4 +0,0 @@ -hook_name = "before_restart" -::File.open(@release_path + "/app/#{hook_name}", "a+") do |fd| - fd.puts( {:hook_name => hook_name, :env => @configuration[:environment]}.to_json ) -end
\ No newline at end of file diff --git a/features/data/cookbooks/deploy/templates/default/sneaky_before_symlink_hook.rb.erb b/features/data/cookbooks/deploy/templates/default/sneaky_before_symlink_hook.rb.erb deleted file mode 100644 index de5fd98645..0000000000 --- a/features/data/cookbooks/deploy/templates/default/sneaky_before_symlink_hook.rb.erb +++ /dev/null @@ -1,2 +0,0 @@ -# NOOP -# This file isn't symlinked to the correct path when its callback fires
\ No newline at end of file diff --git a/features/data/cookbooks/directory_provider/recipes/create.rb b/features/data/cookbooks/directory_provider/recipes/create.rb deleted file mode 100644 index 7cc7f4ce84..0000000000 --- a/features/data/cookbooks/directory_provider/recipes/create.rb +++ /dev/null @@ -1,25 +0,0 @@ -# -# Cookbook Name:: directory_provider -# Recipe:: create -# -# Copyright 2009, Opscode -# -# 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. -# - -directory "#{node[:tmpdir]}/isis" do - mode "755" - owner "nobody" - action :create -end - diff --git a/features/data/cookbooks/directory_provider/recipes/default.rb b/features/data/cookbooks/directory_provider/recipes/default.rb deleted file mode 100644 index 41f6776dfc..0000000000 --- a/features/data/cookbooks/directory_provider/recipes/default.rb +++ /dev/null @@ -1,18 +0,0 @@ -# -# Cookbook Name:: directory_provider -# Recipe:: default -# -# Copyright 2009, Opscode -# -# 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. -# diff --git a/features/data/cookbooks/directory_provider/recipes/delete.rb b/features/data/cookbooks/directory_provider/recipes/delete.rb deleted file mode 100644 index f9a81e8e2c..0000000000 --- a/features/data/cookbooks/directory_provider/recipes/delete.rb +++ /dev/null @@ -1,29 +0,0 @@ -# -# Cookbook Name:: directory_provider -# Recipe:: delete -# -# Copyright 2009, Opscode -# -# 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. -# - -r = directory "#{node[:tmpdir]}/particles" do - action :nothing -end -r.run_action(:create) - -directory "#{node[:tmpdir]}/particles" do - action :delete -end - - diff --git a/features/data/cookbooks/directory_provider/recipes/delete_nonexistent.rb b/features/data/cookbooks/directory_provider/recipes/delete_nonexistent.rb deleted file mode 100644 index ed89bfe3d0..0000000000 --- a/features/data/cookbooks/directory_provider/recipes/delete_nonexistent.rb +++ /dev/null @@ -1,23 +0,0 @@ -# -# Cookbook Name:: directory_ -# Recipe:: delete_nonexistent -# -# Copyright 2009, Opscode -# -# 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. -# - -directory "#{node[:tmpdir]}/particles" do - action :delete -end - diff --git a/features/data/cookbooks/directory_provider/recipes/owner_update.rb b/features/data/cookbooks/directory_provider/recipes/owner_update.rb deleted file mode 100644 index 7cfb0618f5..0000000000 --- a/features/data/cookbooks/directory_provider/recipes/owner_update.rb +++ /dev/null @@ -1,31 +0,0 @@ -# -# Cookbook Name:: directory_provider -# Recipe:: create -# -# Copyright 2009, Opscode -# -# 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. -# - -directory "#{node[:tmpdir]}/isis" do - mode "755" - owner "nobody" - action :create -end - -directory "#{node[:tmpdir]}/isis" do - mode "755" - owner "root" - action :create -end - diff --git a/features/data/cookbooks/directory_provider/recipes/set_the_accessibility_of_a_created_directory.rb b/features/data/cookbooks/directory_provider/recipes/set_the_accessibility_of_a_created_directory.rb deleted file mode 100644 index 913a11a62b..0000000000 --- a/features/data/cookbooks/directory_provider/recipes/set_the_accessibility_of_a_created_directory.rb +++ /dev/null @@ -1,55 +0,0 @@ -# -# Cookbook Name:: directory_provider -# Recipe:: set_the_accesiibility_of_a_created_directory -# -# Copyright 2009, Opscode -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this directory 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. -# - -directory "#{node[:tmpdir]}/octal0644" do - mode 0644 - action :create -end - -directory "#{node[:tmpdir]}/octal2644" do - mode 02644 - action :create -end - -directory "#{node[:tmpdir]}/decimal644" do - mode 644 - action :create -end - -directory "#{node[:tmpdir]}/decimal2644" do - mode 2644 - action :create -end - -directory "#{node[:tmpdir]}/string644" do - mode "644" - action :create -end - -directory "#{node[:tmpdir]}/string0644" do - mode "0644" - action :create -end - -directory "#{node[:tmpdir]}/string2644" do - mode "2644" - action :create -end - - diff --git a/features/data/cookbooks/execute_commands/metadata.rb b/features/data/cookbooks/execute_commands/metadata.rb deleted file mode 100644 index 591168fae2..0000000000 --- a/features/data/cookbooks/execute_commands/metadata.rb +++ /dev/null @@ -1,5 +0,0 @@ - -version "1.0" -maintainer "opscode" -maintainer_email "donotreply@opscode.com" -long_description "excercise the execute provider" diff --git a/features/data/cookbooks/execute_commands/recipes/4k.rb b/features/data/cookbooks/execute_commands/recipes/4k.rb deleted file mode 100644 index bc810bd979..0000000000 --- a/features/data/cookbooks/execute_commands/recipes/4k.rb +++ /dev/null @@ -1,25 +0,0 @@ -# -# Author:: Adam Jacob (<adam@opscode.com>) -# Copyright:: Copyright (c) 2008 Opscode, Inc. -# 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. -# - -execute "create-4k-file" do - command "dd if=/dev/random of=#{node[:tmpdir]}/execute-4k.txt bs=1024 count=5" -end - -execute "read-4k-file" do - command "cat #{node[:tmpdir]}/execute-4k.txt" -end diff --git a/features/data/cookbooks/execute_commands/recipes/debug.rb b/features/data/cookbooks/execute_commands/recipes/debug.rb deleted file mode 100644 index 5b76380508..0000000000 --- a/features/data/cookbooks/execute_commands/recipes/debug.rb +++ /dev/null @@ -1,22 +0,0 @@ -# -# Author:: Adam Jacob (<adam@opscode.com>) -# Copyright:: Copyright (c) 2008 Opscode, Inc. -# 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. -# - -execute "debug-log" do - command "ruby -e 'puts \"whats up\"; STDERR.puts \"doc!\"'" -end - diff --git a/features/data/cookbooks/execute_commands/recipes/default.rb b/features/data/cookbooks/execute_commands/recipes/default.rb deleted file mode 100644 index 6a6f98361f..0000000000 --- a/features/data/cookbooks/execute_commands/recipes/default.rb +++ /dev/null @@ -1,22 +0,0 @@ -# -# Cookbook Name:: execute_commands -# Recipe:: default -# -# Copyright 2009, Opscode -# -# 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. -# - -execute "create-mastodon" do - command "echo wewt > #{node[:tmpdir]}/mastodon_rocks" -end diff --git a/features/data/cookbooks/execute_commands/recipes/umask.rb b/features/data/cookbooks/execute_commands/recipes/umask.rb deleted file mode 100644 index 7343c07eed..0000000000 --- a/features/data/cookbooks/execute_commands/recipes/umask.rb +++ /dev/null @@ -1,23 +0,0 @@ -# -# Cookbook Name:: execute_commands -# Recipe:: umask -# -# Copyright 2009, Opscode -# -# 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. -# - -execute "create-mastodon" do - umask '777' - command "echo wewt > /mastodon_rocks_umask" -end diff --git a/features/data/cookbooks/integration_setup/attributes/integration.rb b/features/data/cookbooks/integration_setup/attributes/integration.rb deleted file mode 100644 index c9da6119dc..0000000000 --- a/features/data/cookbooks/integration_setup/attributes/integration.rb +++ /dev/null @@ -1,25 +0,0 @@ -# -# Cookbook Name:: integration_setup -# Recipe:: default -# -# Copyright 2009, Opscode -# -# 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. -# - -require 'tmpdir' - -int(Mash.new) -int[:tmpdir] = File.join(Dir.tmpdir, "chef_integration") - -tmpdir int[:tmpdir] diff --git a/features/data/cookbooks/integration_setup/recipes/default.rb b/features/data/cookbooks/integration_setup/recipes/default.rb deleted file mode 100644 index e89bbc3b1d..0000000000 --- a/features/data/cookbooks/integration_setup/recipes/default.rb +++ /dev/null @@ -1,24 +0,0 @@ -# -# Cookbook Name:: integration_setup -# Recipe:: default -# -# Copyright 2009, Opscode -# -# 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. -# - -directory node[:int][:tmpdir] do - mode "1777" - action :create -end - diff --git a/features/data/cookbooks/lwrp/providers/default.rb b/features/data/cookbooks/lwrp/providers/default.rb deleted file mode 100644 index f66e2914f6..0000000000 --- a/features/data/cookbooks/lwrp/providers/default.rb +++ /dev/null @@ -1,9 +0,0 @@ -action :print_message do - puts new_resource.message -end - -action :touch_file do - file "#{node[:tmpdir]}/#{new_resource.filename}" do - action :create - end -end diff --git a/features/data/cookbooks/lwrp/providers/lwp_non_default.rb b/features/data/cookbooks/lwrp/providers/lwp_non_default.rb deleted file mode 100644 index f51dcae369..0000000000 --- a/features/data/cookbooks/lwrp/providers/lwp_non_default.rb +++ /dev/null @@ -1,3 +0,0 @@ -action :print_message do - puts new_resource.message -end diff --git a/features/data/cookbooks/lwrp/providers/lwp_overridden_load_current_resource.rb b/features/data/cookbooks/lwrp/providers/lwp_overridden_load_current_resource.rb deleted file mode 100644 index 58689150ee..0000000000 --- a/features/data/cookbooks/lwrp/providers/lwp_overridden_load_current_resource.rb +++ /dev/null @@ -1,8 +0,0 @@ -def load_current_resource - puts "Overridden load_current_resource" -end - -action :print_message do - puts new_resource.message -end - diff --git a/features/data/cookbooks/lwrp/providers/provider_is_omitted.rb b/features/data/cookbooks/lwrp/providers/provider_is_omitted.rb deleted file mode 100644 index 8c512e0f1e..0000000000 --- a/features/data/cookbooks/lwrp/providers/provider_is_omitted.rb +++ /dev/null @@ -1,3 +0,0 @@ -action :print_classes do - puts "P=#{self.class}, R=#{new_resource.class}" -end diff --git a/features/data/cookbooks/lwrp/recipes/default_everything.rb b/features/data/cookbooks/lwrp/recipes/default_everything.rb deleted file mode 100644 index 9125f0f90e..0000000000 --- a/features/data/cookbooks/lwrp/recipes/default_everything.rb +++ /dev/null @@ -1,4 +0,0 @@ -lwrp :default do - message "Default everything" - action :print_message -end diff --git a/features/data/cookbooks/lwrp/recipes/non_default_provider.rb b/features/data/cookbooks/lwrp/recipes/non_default_provider.rb deleted file mode 100644 index 019f3aa9ab..0000000000 --- a/features/data/cookbooks/lwrp/recipes/non_default_provider.rb +++ /dev/null @@ -1,6 +0,0 @@ -lwrp :non_default_provider do - message "Non-default provider" - action :print_message - - provider :lwrp_lwp_non_default -end diff --git a/features/data/cookbooks/lwrp/recipes/non_default_resource.rb b/features/data/cookbooks/lwrp/recipes/non_default_resource.rb deleted file mode 100644 index 8df71ca218..0000000000 --- a/features/data/cookbooks/lwrp/recipes/non_default_resource.rb +++ /dev/null @@ -1,6 +0,0 @@ -lwrp_lwr_non_default :non_default_lwr do - message "Non-default resource" - action :print_message - - provider Chef::Provider::Lwrp -end diff --git a/features/data/cookbooks/lwrp/recipes/overridden_provider_load_current_resource.rb b/features/data/cookbooks/lwrp/recipes/overridden_provider_load_current_resource.rb deleted file mode 100644 index 0b525aa541..0000000000 --- a/features/data/cookbooks/lwrp/recipes/overridden_provider_load_current_resource.rb +++ /dev/null @@ -1,6 +0,0 @@ -lwrp :overridden_provider_load_current_resource do - message "meep meep" - action :print_message - - provider Chef::Provider::LwrpLwpOverriddenLoadCurrentResource -end diff --git a/features/data/cookbooks/lwrp/recipes/overridden_resource_initialize.rb b/features/data/cookbooks/lwrp/recipes/overridden_resource_initialize.rb deleted file mode 100644 index 6982ce35fa..0000000000 --- a/features/data/cookbooks/lwrp/recipes/overridden_resource_initialize.rb +++ /dev/null @@ -1,6 +0,0 @@ -lwrp_lwr_overridden_initialize :overridden_resource_initialize do - message "meep meep" - action :print_message - - provider Chef::Provider::Lwrp -end diff --git a/features/data/cookbooks/lwrp/recipes/provider_invokes_resource.rb b/features/data/cookbooks/lwrp/recipes/provider_invokes_resource.rb deleted file mode 100644 index c2e94aa064..0000000000 --- a/features/data/cookbooks/lwrp/recipes/provider_invokes_resource.rb +++ /dev/null @@ -1,6 +0,0 @@ -lwrp :lwrp_provider_invokes_resource do - filename "lwrp_touch_file.txt" - action :touch_file - - provider :lwrp -end diff --git a/features/data/cookbooks/lwrp/recipes/provider_is_a_class.rb b/features/data/cookbooks/lwrp/recipes/provider_is_a_class.rb deleted file mode 100644 index efdda31b0e..0000000000 --- a/features/data/cookbooks/lwrp/recipes/provider_is_a_class.rb +++ /dev/null @@ -1,6 +0,0 @@ -lwrp :provider_is_a_class do - message "Provider is a class" - action :print_message - - provider Chef::Provider::Lwrp -end diff --git a/features/data/cookbooks/lwrp/recipes/provider_is_a_string.rb b/features/data/cookbooks/lwrp/recipes/provider_is_a_string.rb deleted file mode 100644 index 78f333bcd4..0000000000 --- a/features/data/cookbooks/lwrp/recipes/provider_is_a_string.rb +++ /dev/null @@ -1,6 +0,0 @@ -lwrp :provider_is_a_string do - message "Provider is a string" - action :print_message - - provider "lwrp" -end diff --git a/features/data/cookbooks/lwrp/recipes/provider_is_a_symbol.rb b/features/data/cookbooks/lwrp/recipes/provider_is_a_symbol.rb deleted file mode 100644 index 2ca9963fd5..0000000000 --- a/features/data/cookbooks/lwrp/recipes/provider_is_a_symbol.rb +++ /dev/null @@ -1,6 +0,0 @@ -lwrp :provider_is_a_symbol do - message "Provider is a symbol" - action :print_message - - provider :lwrp -end diff --git a/features/data/cookbooks/lwrp/recipes/provider_is_omitted.rb b/features/data/cookbooks/lwrp/recipes/provider_is_omitted.rb deleted file mode 100644 index 89a15b385e..0000000000 --- a/features/data/cookbooks/lwrp/recipes/provider_is_omitted.rb +++ /dev/null @@ -1,3 +0,0 @@ -lwrp_provider_is_omitted :provider_is_omitted do - action :print_classes -end diff --git a/features/data/cookbooks/lwrp/resources/default.rb b/features/data/cookbooks/lwrp/resources/default.rb deleted file mode 100644 index 00be531184..0000000000 --- a/features/data/cookbooks/lwrp/resources/default.rb +++ /dev/null @@ -1,4 +0,0 @@ -actions :print_message, :touch_file - -attribute :message, :kind_of => String -attribute :filename, :kind_of => String diff --git a/features/data/cookbooks/lwrp/resources/lwr_non_default.rb b/features/data/cookbooks/lwrp/resources/lwr_non_default.rb deleted file mode 100644 index c29654eba3..0000000000 --- a/features/data/cookbooks/lwrp/resources/lwr_non_default.rb +++ /dev/null @@ -1,3 +0,0 @@ -actions :print_message - -attribute :message, :kind_of => String diff --git a/features/data/cookbooks/lwrp/resources/lwr_overridden_initialize.rb b/features/data/cookbooks/lwrp/resources/lwr_overridden_initialize.rb deleted file mode 100644 index 635ba237d5..0000000000 --- a/features/data/cookbooks/lwrp/resources/lwr_overridden_initialize.rb +++ /dev/null @@ -1,8 +0,0 @@ -def initialize(name, run_context=nil) - super - puts "Overridden initialize" -end - -actions :print_message - -attribute :message, :kind_of => String diff --git a/features/data/cookbooks/lwrp/resources/provider_is_omitted.rb b/features/data/cookbooks/lwrp/resources/provider_is_omitted.rb deleted file mode 100644 index 564537e6bf..0000000000 --- a/features/data/cookbooks/lwrp/resources/provider_is_omitted.rb +++ /dev/null @@ -1 +0,0 @@ -actions :print_classes diff --git a/features/data/cookbooks/manage_files/recipes/create_a_file.rb b/features/data/cookbooks/manage_files/recipes/create_a_file.rb deleted file mode 100644 index ae64c9a583..0000000000 --- a/features/data/cookbooks/manage_files/recipes/create_a_file.rb +++ /dev/null @@ -1,22 +0,0 @@ -# -# Cookbook Name:: files -# Recipe:: default -# -# Copyright 2009, Opscode -# -# 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. -# - -file "#{node[:tmpdir]}/create_a_file.txt" do - action :create -end diff --git a/features/data/cookbooks/manage_files/recipes/default.rb b/features/data/cookbooks/manage_files/recipes/default.rb deleted file mode 100644 index 8b9f7ab0cf..0000000000 --- a/features/data/cookbooks/manage_files/recipes/default.rb +++ /dev/null @@ -1,19 +0,0 @@ -# -# Cookbook Name:: files -# Recipe:: default -# -# Copyright 2009, Opscode -# -# 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. -# - diff --git a/features/data/cookbooks/manage_files/recipes/delete_a_file.rb b/features/data/cookbooks/manage_files/recipes/delete_a_file.rb deleted file mode 100644 index 85c5fec84f..0000000000 --- a/features/data/cookbooks/manage_files/recipes/delete_a_file.rb +++ /dev/null @@ -1,24 +0,0 @@ -# -# Cookbook Name:: files -# Recipe:: default -# -# Copyright 2009, Opscode -# -# 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. -# - -include_recipe 'manage_files::create_a_file' - -file "#{node[:tmpdir]}/create_a_file.txt" do - action :delete -end diff --git a/features/data/cookbooks/manage_files/recipes/delete_a_file_that_does_not_already_exist.rb b/features/data/cookbooks/manage_files/recipes/delete_a_file_that_does_not_already_exist.rb deleted file mode 100644 index 5121bc67fa..0000000000 --- a/features/data/cookbooks/manage_files/recipes/delete_a_file_that_does_not_already_exist.rb +++ /dev/null @@ -1,22 +0,0 @@ -# -# Cookbook Name:: files -# Recipe:: default -# -# Copyright 2009, Opscode -# -# 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. -# - -file "#{node[:tmpdir]}/create_a_file.txt" do - action :delete -end diff --git a/features/data/cookbooks/manage_files/recipes/manage_file_contents.rb b/features/data/cookbooks/manage_files/recipes/manage_file_contents.rb deleted file mode 100644 index 0eccce0b5b..0000000000 --- a/features/data/cookbooks/manage_files/recipes/manage_file_contents.rb +++ /dev/null @@ -1,23 +0,0 @@ -# -# Cookbook Name:: files -# Recipe:: default -# -# Copyright 2009, Opscode -# -# 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. -# - -file "#{node[:tmpdir]}/aqua_teen.txt" do - content "I am using the e-photo plugin, you pop it on your back and go" - action :create -end diff --git a/features/data/cookbooks/manage_files/recipes/set_the_accessibility_of_a_created_file.rb b/features/data/cookbooks/manage_files/recipes/set_the_accessibility_of_a_created_file.rb deleted file mode 100644 index a4aac8ddfa..0000000000 --- a/features/data/cookbooks/manage_files/recipes/set_the_accessibility_of_a_created_file.rb +++ /dev/null @@ -1,79 +0,0 @@ -# -# Cookbook Name:: files -# Recipe:: default -# -# Copyright 2009, Opscode -# -# 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. -# - -file "#{node[:tmpdir]}/octal0111.txt" do - owner 'nobody' - mode 0111 - action :create -end - -file "#{node[:tmpdir]}/octal0644.txt" do - owner 'nobody' - mode 0644 - action :create -end - -file "#{node[:tmpdir]}/octal2644.txt" do - owner 'nobody' - mode 02644 - action :create -end - -file "#{node[:tmpdir]}/decimal73.txt" do - owner 'nobody' - mode 73 - action :create -end - -file "#{node[:tmpdir]}/decimal644.txt" do - owner 'nobody' - mode 644 - action :create -end - -file "#{node[:tmpdir]}/decimal2644.txt" do - owner 'nobody' - mode 2644 - action :create -end - -file "#{node[:tmpdir]}/string111.txt" do - owner 'nobody' - mode "111" - action :create -end - -file "#{node[:tmpdir]}/string644.txt" do - owner 'nobody' - mode "644" - action :create -end - -file "#{node[:tmpdir]}/string0644.txt" do - owner 'nobody' - mode "0644" - action :create -end - -file "#{node[:tmpdir]}/string2644.txt" do - owner 'nobody' - mode "2644" - action :create -end - diff --git a/features/data/cookbooks/manage_files/recipes/set_the_owner_of_a_created_file.rb b/features/data/cookbooks/manage_files/recipes/set_the_owner_of_a_created_file.rb deleted file mode 100644 index f57c78650f..0000000000 --- a/features/data/cookbooks/manage_files/recipes/set_the_owner_of_a_created_file.rb +++ /dev/null @@ -1,23 +0,0 @@ -# -# Cookbook Name:: files -# Recipe:: default -# -# Copyright 2009, Opscode -# -# 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. -# - -file "#{node[:tmpdir]}/create_a_file.txt" do - owner 'nobody' - action :create -end diff --git a/features/data/cookbooks/manage_files/recipes/touch_a_file.rb b/features/data/cookbooks/manage_files/recipes/touch_a_file.rb deleted file mode 100644 index 86c971c9ac..0000000000 --- a/features/data/cookbooks/manage_files/recipes/touch_a_file.rb +++ /dev/null @@ -1,22 +0,0 @@ -# -# Cookbook Name:: files -# Recipe:: default -# -# Copyright 2009, Opscode -# -# 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. -# - -file "#{node[:tmpdir]}/touch_test.txt" do - action :touch -end diff --git a/features/data/cookbooks/metadata/metadata.rb b/features/data/cookbooks/metadata/metadata.rb deleted file mode 100644 index 9c6923a1d2..0000000000 --- a/features/data/cookbooks/metadata/metadata.rb +++ /dev/null @@ -1,17 +0,0 @@ - -version "1.0" -maintainer "Bobo T. Clown" -maintainer_email "bobo@example.com" -long_description "I have a long arm!" -supports :ubuntu, "> 8.04" - -#depends "bobo", "= 1.0" -#depends "bobotclown", "= 1.1" -#recommends "snark", "< 3.0" -#suggests "kindness", "> 2.0" -#conflicts "hatred" -# -#depends "foo(:bar, :baz)" -#provides "foo(:bar, :baz)" -#replaces "snarkitron" - diff --git a/features/data/cookbooks/metadata/recipes/default.rb b/features/data/cookbooks/metadata/recipes/default.rb deleted file mode 100644 index 541b504f0b..0000000000 --- a/features/data/cookbooks/metadata/recipes/default.rb +++ /dev/null @@ -1,18 +0,0 @@ -# -# Cookbook Name:: metadata -# Recipe:: default -# -# Copyright 2009, Opscode -# -# 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. -# diff --git a/features/data/cookbooks/no_attributes/README.rdoc b/features/data/cookbooks/no_attributes/README.rdoc deleted file mode 100644 index 8d774805b9..0000000000 --- a/features/data/cookbooks/no_attributes/README.rdoc +++ /dev/null @@ -1,8 +0,0 @@ -= DESCRIPTION: - -= REQUIREMENTS: - -= ATTRIBUTES: - -= USAGE: - diff --git a/features/data/cookbooks/no_attributes/metadata.rb b/features/data/cookbooks/no_attributes/metadata.rb deleted file mode 100644 index ed2938fa6d..0000000000 --- a/features/data/cookbooks/no_attributes/metadata.rb +++ /dev/null @@ -1,6 +0,0 @@ -maintainer "Opscode" -maintainer_email "do_not_reply@opscode.com" -license "Apache 2.0" -description "Installs/Configures attribute_settings" -long_description IO.read(File.join(File.dirname(__FILE__), 'README.rdoc')) -version "0.1" diff --git a/features/data/cookbooks/no_attributes/recipes/default.rb b/features/data/cookbooks/no_attributes/recipes/default.rb deleted file mode 100644 index 58c7aeb4f7..0000000000 --- a/features/data/cookbooks/no_attributes/recipes/default.rb +++ /dev/null @@ -1,21 +0,0 @@ -# -# Cookbook Name:: attribute_settings -# Recipe:: default -# -# Copyright 2009, Opscode -# -# 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. -# - -execute "echo snakes#{node[:attribute_priority_was]} > #{node[:tmpdir]}/attribute_setting.txt" - diff --git a/features/data/cookbooks/node_cookbook_sync/README.rdoc b/features/data/cookbooks/node_cookbook_sync/README.rdoc deleted file mode 100644 index 8d774805b9..0000000000 --- a/features/data/cookbooks/node_cookbook_sync/README.rdoc +++ /dev/null @@ -1,8 +0,0 @@ -= DESCRIPTION: - -= REQUIREMENTS: - -= ATTRIBUTES: - -= USAGE: - diff --git a/features/data/cookbooks/node_cookbook_sync/attributes/attr_file.rb b/features/data/cookbooks/node_cookbook_sync/attributes/attr_file.rb deleted file mode 100644 index e69de29bb2..0000000000 --- a/features/data/cookbooks/node_cookbook_sync/attributes/attr_file.rb +++ /dev/null diff --git a/features/data/cookbooks/node_cookbook_sync/definitions/def_file.rb b/features/data/cookbooks/node_cookbook_sync/definitions/def_file.rb deleted file mode 100644 index e69de29bb2..0000000000 --- a/features/data/cookbooks/node_cookbook_sync/definitions/def_file.rb +++ /dev/null diff --git a/features/data/cookbooks/node_cookbook_sync/libraries/lib_file.rb b/features/data/cookbooks/node_cookbook_sync/libraries/lib_file.rb deleted file mode 100644 index e69de29bb2..0000000000 --- a/features/data/cookbooks/node_cookbook_sync/libraries/lib_file.rb +++ /dev/null diff --git a/features/data/cookbooks/node_cookbook_sync/metadata.rb b/features/data/cookbooks/node_cookbook_sync/metadata.rb deleted file mode 100644 index 850a993fbb..0000000000 --- a/features/data/cookbooks/node_cookbook_sync/metadata.rb +++ /dev/null @@ -1,6 +0,0 @@ -maintainer "Opscode" -maintainer_email "do_not_reply@opscode.com" -license "Apache 2.0" -description "Installs/Configures node_cookbook_sync" -long_description IO.read(File.join(File.dirname(__FILE__), 'README.rdoc')) -version "0.1" diff --git a/features/data/cookbooks/node_cookbook_sync/recipes/default.rb b/features/data/cookbooks/node_cookbook_sync/recipes/default.rb deleted file mode 100644 index 7912164bf3..0000000000 --- a/features/data/cookbooks/node_cookbook_sync/recipes/default.rb +++ /dev/null @@ -1,18 +0,0 @@ -# -# Cookbook Name:: node_cookbook_sync -# Recipe:: default -# -# Copyright 2009, Opscode -# -# 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. -# diff --git a/features/data/cookbooks/packages/recipes/default.rb b/features/data/cookbooks/packages/recipes/default.rb deleted file mode 100644 index e69de29bb2..0000000000 --- a/features/data/cookbooks/packages/recipes/default.rb +++ /dev/null diff --git a/features/data/cookbooks/packages/recipes/gem_package.rb b/features/data/cookbooks/packages/recipes/gem_package.rb deleted file mode 100644 index b6bddffa8d..0000000000 --- a/features/data/cookbooks/packages/recipes/gem_package.rb +++ /dev/null @@ -1,26 +0,0 @@ -# -# Cookbook Name:: packages -# Recipe:: gem_package -# -# Copyright 2009, Daniel DeLeo -# -# 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. -# - -directory "#{node[:tmpdir]}/installed-gems/" - -gem_package "chef-integration-test" do - source "http://localhost:8000" - version "0.1.0" - options "-i #{node[:tmpdir]}/installed-gems/" -end diff --git a/features/data/cookbooks/packages/recipes/install_apt_package.rb b/features/data/cookbooks/packages/recipes/install_apt_package.rb deleted file mode 100644 index 26db5b83fc..0000000000 --- a/features/data/cookbooks/packages/recipes/install_apt_package.rb +++ /dev/null @@ -1,3 +0,0 @@ -package("chef-integration-test") do - options("--force-yes") -end
\ No newline at end of file diff --git a/features/data/cookbooks/packages/recipes/install_dpkg_package.rb b/features/data/cookbooks/packages/recipes/install_dpkg_package.rb deleted file mode 100644 index f24b3f9814..0000000000 --- a/features/data/cookbooks/packages/recipes/install_dpkg_package.rb +++ /dev/null @@ -1,4 +0,0 @@ -dpkg_package("chef-integration-test") do - source("#{File.join(node[:tmpdir], 'chef-integration-test_1.0-1_amd64.deb')}") -end - diff --git a/features/data/cookbooks/packages/recipes/install_gem_noshell.rb b/features/data/cookbooks/packages/recipes/install_gem_noshell.rb deleted file mode 100644 index 27a0c7d2a4..0000000000 --- a/features/data/cookbooks/packages/recipes/install_gem_noshell.rb +++ /dev/null @@ -1,26 +0,0 @@ -# -# Cookbook Name:: packages -# Recipe:: gem_package -# -# Copyright 2009, Daniel DeLeo -# -# 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. -# - -directory "#{node[:tmpdir]}/installed-gems/" - -gem_package "chef-integration-test" do - source "http://localhost:8000" - version "0.1.0" - options :install_dir => "#{node[:tmpdir]}/installed-gems/" -end diff --git a/features/data/cookbooks/packages/recipes/install_gem_package_twice.rb b/features/data/cookbooks/packages/recipes/install_gem_package_twice.rb deleted file mode 100644 index b6bddffa8d..0000000000 --- a/features/data/cookbooks/packages/recipes/install_gem_package_twice.rb +++ /dev/null @@ -1,26 +0,0 @@ -# -# Cookbook Name:: packages -# Recipe:: gem_package -# -# Copyright 2009, Daniel DeLeo -# -# 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. -# - -directory "#{node[:tmpdir]}/installed-gems/" - -gem_package "chef-integration-test" do - source "http://localhost:8000" - version "0.1.0" - options "-i #{node[:tmpdir]}/installed-gems/" -end diff --git a/features/data/cookbooks/packages/recipes/macports_install_bad_package.rb b/features/data/cookbooks/packages/recipes/macports_install_bad_package.rb deleted file mode 100644 index 40ac646761..0000000000 --- a/features/data/cookbooks/packages/recipes/macports_install_bad_package.rb +++ /dev/null @@ -1,3 +0,0 @@ -package "fdsafdsa" do - action :install -end diff --git a/features/data/cookbooks/packages/recipes/macports_install_yydecode.rb b/features/data/cookbooks/packages/recipes/macports_install_yydecode.rb deleted file mode 100644 index 7c2475db37..0000000000 --- a/features/data/cookbooks/packages/recipes/macports_install_yydecode.rb +++ /dev/null @@ -1,3 +0,0 @@ -package "yydecode" do - action :install -end diff --git a/features/data/cookbooks/packages/recipes/macports_purge_yydecode.rb b/features/data/cookbooks/packages/recipes/macports_purge_yydecode.rb deleted file mode 100644 index e7ad245dfb..0000000000 --- a/features/data/cookbooks/packages/recipes/macports_purge_yydecode.rb +++ /dev/null @@ -1,3 +0,0 @@ -package "yydecode" do - action :purge -end diff --git a/features/data/cookbooks/packages/recipes/macports_remove_yydecode.rb b/features/data/cookbooks/packages/recipes/macports_remove_yydecode.rb deleted file mode 100644 index da1acca7ec..0000000000 --- a/features/data/cookbooks/packages/recipes/macports_remove_yydecode.rb +++ /dev/null @@ -1,3 +0,0 @@ -package "yydecode" do - action :remove -end diff --git a/features/data/cookbooks/packages/recipes/macports_upgrade_yydecode.rb b/features/data/cookbooks/packages/recipes/macports_upgrade_yydecode.rb deleted file mode 100644 index 3d008abdec..0000000000 --- a/features/data/cookbooks/packages/recipes/macports_upgrade_yydecode.rb +++ /dev/null @@ -1,7 +0,0 @@ -package "yydecode" do - action :remove -end - -package "yydecode" do - action :upgrade -end diff --git a/features/data/cookbooks/packages/recipes/manually_upgrade_gem_package.rb b/features/data/cookbooks/packages/recipes/manually_upgrade_gem_package.rb deleted file mode 100644 index db1de3fcbc..0000000000 --- a/features/data/cookbooks/packages/recipes/manually_upgrade_gem_package.rb +++ /dev/null @@ -1,32 +0,0 @@ -# -# Cookbook Name:: packages -# Recipe:: gem_package -# -# Copyright 2009, Daniel DeLeo -# -# 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. -# - -directory "#{node[:tmpdir]}/installed-gems/" - -gem_package "chef-integration-test" do - source "http://localhost:8000" - version "0.1.0" - options "-i #{node[:tmpdir]}/installed-gems/" -end - -gem_package "chef-integration-test" do - source "http://localhost:8000" - options "-i #{node[:tmpdir]}/installed-gems/" - version "0.1.1" -end diff --git a/features/data/cookbooks/packages/recipes/upgrade_gem_noshell.rb b/features/data/cookbooks/packages/recipes/upgrade_gem_noshell.rb deleted file mode 100644 index c009f38fcd..0000000000 --- a/features/data/cookbooks/packages/recipes/upgrade_gem_noshell.rb +++ /dev/null @@ -1,33 +0,0 @@ -# -# Cookbook Name:: packages -# Recipe:: gem_package -# -# Copyright 2009, Daniel DeLeo -# -# 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. -# - -directory "#{node[:tmpdir]}/installed-gems/" - -gem_package "chef-integration-test" do - source "http://localhost:8000" - version "0.1.0" - options :install_dir => "#{node[:tmpdir]}/installed-gems/" -end - -gem_package "chef-integration-test-upgrade" do - package_name 'chef-integration-test' - source "http://localhost:8000" - options :install_dir => "#{node[:tmpdir]}/installed-gems/" - action :upgrade -end diff --git a/features/data/cookbooks/packages/recipes/upgrade_gem_package.rb b/features/data/cookbooks/packages/recipes/upgrade_gem_package.rb deleted file mode 100644 index 636d8b771b..0000000000 --- a/features/data/cookbooks/packages/recipes/upgrade_gem_package.rb +++ /dev/null @@ -1,33 +0,0 @@ -# -# Cookbook Name:: packages -# Recipe:: gem_package -# -# Copyright 2009, Daniel DeLeo -# -# 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. -# - -directory "#{node[:tmpdir]}/installed-gems/" - -gem_package "chef-integration-test" do - source "http://localhost:8000" - version "0.1.0" - options "-i #{node[:tmpdir]}/installed-gems/" -end - -gem_package "chef-integration-test-upgrade" do - package_name 'chef-integration-test' - source "http://localhost:8000" - options "-i #{node[:tmpdir]}/installed-gems/" - action :upgrade -end diff --git a/features/data/cookbooks/recipe_include/README.rdoc b/features/data/cookbooks/recipe_include/README.rdoc deleted file mode 100644 index 8d774805b9..0000000000 --- a/features/data/cookbooks/recipe_include/README.rdoc +++ /dev/null @@ -1,8 +0,0 @@ -= DESCRIPTION: - -= REQUIREMENTS: - -= ATTRIBUTES: - -= USAGE: - diff --git a/features/data/cookbooks/recipe_include/metadata.rb b/features/data/cookbooks/recipe_include/metadata.rb deleted file mode 100644 index 07c1801d28..0000000000 --- a/features/data/cookbooks/recipe_include/metadata.rb +++ /dev/null @@ -1,6 +0,0 @@ -maintainer "Opscode" -maintainer_email "do_not_reply@opscode.com" -license "Apache 2.0" -description "Installs/Configures recipe_include" -long_description IO.read(File.join(File.dirname(__FILE__), 'README.rdoc')) -version "0.1" diff --git a/features/data/cookbooks/recipe_include/recipes/default.rb b/features/data/cookbooks/recipe_include/recipes/default.rb deleted file mode 100644 index f05c067f4b..0000000000 --- a/features/data/cookbooks/recipe_include/recipes/default.rb +++ /dev/null @@ -1,21 +0,0 @@ -# -# Cookbook Name:: attribute_include -# Recipe:: default -# -# Copyright 2009, Opscode -# -# 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. -# - -include_recipe "recipe_include::second" - diff --git a/features/data/cookbooks/recipe_include/recipes/second.rb b/features/data/cookbooks/recipe_include/recipes/second.rb deleted file mode 100644 index f6dbe99d2f..0000000000 --- a/features/data/cookbooks/recipe_include/recipes/second.rb +++ /dev/null @@ -1,23 +0,0 @@ -# -# Cookbook Name:: recipe_include -# Recipe:: second -# -# Copyright 2009, Opscode -# -# 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. -# - -execute "append to #{node[:tmpdir]}/fire_once" do - command "echo mars_volta >> #{node[:tmpdir]}/fire_once" -end - diff --git a/features/data/cookbooks/roles/recipes/default.rb b/features/data/cookbooks/roles/recipes/default.rb deleted file mode 100644 index aeedd4fe2b..0000000000 --- a/features/data/cookbooks/roles/recipes/default.rb +++ /dev/null @@ -1,26 +0,0 @@ -# -# Cookbook Name:: roles -# Recipe:: default -# -# Copyright 2009, Opscode -# -# 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. -# - -Chef::Log.debug(node.override.inspect) -Chef::Log.debug(node.default.inspect) -execute "echo #{node.reason} > #{File.join(node.tmpdir, "role_test_reason.txt")}" -execute "echo #{node.ossining} > #{File.join(node.tmpdir, "role_test_ossining.txt")}" -execute "echo #{node["languages"]["ruby"]["version"]} > #{File.join(node.tmpdir, "role_test_ruby_version.txt")}" - - diff --git a/features/data/cookbooks/roles/recipes/env_test.rb b/features/data/cookbooks/roles/recipes/env_test.rb deleted file mode 100644 index 65b4c1b894..0000000000 --- a/features/data/cookbooks/roles/recipes/env_test.rb +++ /dev/null @@ -1,25 +0,0 @@ -# -# Cookbook Name:: roles -# Recipe:: env_test -# -# Copyright 2009, Opscode -# -# 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. -# - -Chef::Log.debug(node.override.inspect) -Chef::Log.debug(node.default.inspect) -execute "echo #{node.reason} > #{File.join(node.tmpdir, "role_env_test_reason.txt")}" -execute "echo #{node.ossining} > #{File.join(node.tmpdir, "role_env_test_ossining.txt")}" -execute "echo #{node["languages"]["ruby"]["version"]} > #{File.join(node.tmpdir, "role_env_test_ruby_version.txt")}" - diff --git a/features/data/cookbooks/run_interval/recipes/default.rb b/features/data/cookbooks/run_interval/recipes/default.rb deleted file mode 100644 index d0e6c30d15..0000000000 --- a/features/data/cookbooks/run_interval/recipes/default.rb +++ /dev/null @@ -1,27 +0,0 @@ -# -# Cookbook Name:: run_interval -# Recipe:: default -# -# Copyright 2009, 2010, Opscode -# -# 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. -# - -# Force chef-client to exit once this cookbook has been applied twice. -# The test depends on chef having run twice, so this number is tied to -# run_interval.feature! - -$run_interval_global ||= 2 - -$run_interval_global -= 1 -exit(2) if $run_interval_global == 0 diff --git a/features/data/cookbooks/scm/metadata.rb b/features/data/cookbooks/scm/metadata.rb deleted file mode 100644 index b9961a7123..0000000000 --- a/features/data/cookbooks/scm/metadata.rb +++ /dev/null @@ -1,9 +0,0 @@ -version "1.0" -maintainer "Ohai the Cat" -maintainer_email "ohai@cat.example.com" -description "SCM tests" -license 'Apache v2.0' -long_description "SCM integration/acceptance test recipes" - -recipe "scm::git", "git awesome" -recipe "scm::git-remotes", "git awesome repos" diff --git a/features/data/cookbooks/scm/recipes/git.rb b/features/data/cookbooks/scm/recipes/git.rb deleted file mode 100644 index a36f929e8e..0000000000 --- a/features/data/cookbooks/scm/recipes/git.rb +++ /dev/null @@ -1,25 +0,0 @@ -# -# Cookbook Name:: scm -# Recipe:: git -# -# Copyright 2009, Opscode -# -# 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. -# -# If the features are not being run from a git clone, you're out of luck. -git "the chef repo" do - repository "#{node[:tmpdir]}/test_git_repo" - reference "HEAD" - destination "#{node[:tmpdir]}/gitchef" - action :sync -end diff --git a/features/data/cookbooks/search/attributes/search_attrs.rb b/features/data/cookbooks/search/attributes/search_attrs.rb deleted file mode 100644 index 2593b3065e..0000000000 --- a/features/data/cookbooks/search/attributes/search_attrs.rb +++ /dev/null @@ -1 +0,0 @@ -search_files([ "search_one.txt", "search_two.txt" ]) diff --git a/features/data/cookbooks/search/recipes/default.rb b/features/data/cookbooks/search/recipes/default.rb deleted file mode 100644 index 01a72f416e..0000000000 --- a/features/data/cookbooks/search/recipes/default.rb +++ /dev/null @@ -1,18 +0,0 @@ -# -# Cookbook Name:: search -# Recipe:: default -# -# Copyright 2009, Opscode -# -# 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. -# diff --git a/features/data/cookbooks/search/recipes/search_data.rb b/features/data/cookbooks/search/recipes/search_data.rb deleted file mode 100644 index 6deefed9b3..0000000000 --- a/features/data/cookbooks/search/recipes/search_data.rb +++ /dev/null @@ -1,28 +0,0 @@ -# -# Cookbook Name:: search -# Recipe:: default -# -# Copyright 2009, Opscode -# -# 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. -# - -# We have to sleep at least 10 seconds to confirm that the data has made it -# into the index. We can only rely on this because we are in a test environment -# in real-land Chef, the index is only eventually consistent.. and may take a -# variable amount of time. -sleep 10 -search(:users, "*:*") do |entry| - file "#{node[:tmpdir]}/#{entry["id"]}" -end - diff --git a/features/data/cookbooks/search/recipes/search_data_manual.rb b/features/data/cookbooks/search/recipes/search_data_manual.rb deleted file mode 100644 index af7b4e5f16..0000000000 --- a/features/data/cookbooks/search/recipes/search_data_manual.rb +++ /dev/null @@ -1,33 +0,0 @@ -# -# Cookbook Name:: search -# Recipe:: default -# -# Copyright 2009, Opscode -# -# 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. -# - -# We have to sleep at least 10 seconds to confirm that the data has made it -# into the index. We can only rely on this because we are in a test environment -# in real-land Chef, the index is only eventually consistent.. and may take a -# variable amount of time. - - -sleep 10 -objects, start, total = search(:users, "*:*", nil, 0, 10) - -objects.each do |entry| - file "#{node[:tmpdir]}/#{entry["id"]}" -end - - diff --git a/features/data/cookbooks/search/recipes/search_data_noblock.rb b/features/data/cookbooks/search/recipes/search_data_noblock.rb deleted file mode 100644 index b96c4688c2..0000000000 --- a/features/data/cookbooks/search/recipes/search_data_noblock.rb +++ /dev/null @@ -1,32 +0,0 @@ -# -# Cookbook Name:: search -# Recipe:: default -# -# Copyright 2009, Opscode -# -# 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. -# - -# We have to sleep at least 10 seconds to confirm that the data has made it -# into the index. We can only rely on this because we are in a test environment -# in real-land Chef, the index is only eventually consistent.. and may take a -# variable amount of time. - - -sleep 10 -objects = search(:users, "*:*") - -objects.each do |entry| - file "#{node[:tmpdir]}/#{entry["id"]}" -end - diff --git a/features/data/cookbooks/show_cookbook/README.rdoc b/features/data/cookbooks/show_cookbook/README.rdoc deleted file mode 100644 index 8d774805b9..0000000000 --- a/features/data/cookbooks/show_cookbook/README.rdoc +++ /dev/null @@ -1,8 +0,0 @@ -= DESCRIPTION: - -= REQUIREMENTS: - -= ATTRIBUTES: - -= USAGE: - diff --git a/features/data/cookbooks/show_cookbook/attributes/attr_file.rb b/features/data/cookbooks/show_cookbook/attributes/attr_file.rb deleted file mode 100644 index e69de29bb2..0000000000 --- a/features/data/cookbooks/show_cookbook/attributes/attr_file.rb +++ /dev/null diff --git a/features/data/cookbooks/show_cookbook/definitions/def_file.rb b/features/data/cookbooks/show_cookbook/definitions/def_file.rb deleted file mode 100644 index e69de29bb2..0000000000 --- a/features/data/cookbooks/show_cookbook/definitions/def_file.rb +++ /dev/null diff --git a/features/data/cookbooks/show_cookbook/files/default/prime_time.txt b/features/data/cookbooks/show_cookbook/files/default/prime_time.txt deleted file mode 100644 index e69de29bb2..0000000000 --- a/features/data/cookbooks/show_cookbook/files/default/prime_time.txt +++ /dev/null diff --git a/features/data/cookbooks/show_cookbook/files/host-latte/prime_time.txt b/features/data/cookbooks/show_cookbook/files/host-latte/prime_time.txt deleted file mode 100644 index e69de29bb2..0000000000 --- a/features/data/cookbooks/show_cookbook/files/host-latte/prime_time.txt +++ /dev/null diff --git a/features/data/cookbooks/show_cookbook/files/mac_os_x-10.5/prime_time.txt b/features/data/cookbooks/show_cookbook/files/mac_os_x-10.5/prime_time.txt deleted file mode 100644 index e69de29bb2..0000000000 --- a/features/data/cookbooks/show_cookbook/files/mac_os_x-10.5/prime_time.txt +++ /dev/null diff --git a/features/data/cookbooks/show_cookbook/files/mac_os_x/prime_time.txt b/features/data/cookbooks/show_cookbook/files/mac_os_x/prime_time.txt deleted file mode 100644 index e69de29bb2..0000000000 --- a/features/data/cookbooks/show_cookbook/files/mac_os_x/prime_time.txt +++ /dev/null diff --git a/features/data/cookbooks/show_cookbook/libraries/lib_file.rb b/features/data/cookbooks/show_cookbook/libraries/lib_file.rb deleted file mode 100644 index e69de29bb2..0000000000 --- a/features/data/cookbooks/show_cookbook/libraries/lib_file.rb +++ /dev/null diff --git a/features/data/cookbooks/show_cookbook/metadata.rb b/features/data/cookbooks/show_cookbook/metadata.rb deleted file mode 100644 index 6f06805f62..0000000000 --- a/features/data/cookbooks/show_cookbook/metadata.rb +++ /dev/null @@ -1,6 +0,0 @@ -maintainer "Opscode" -maintainer_email "do_not_reply@opscode.com" -license "Apache 2.0" -description "Installs/Configures show_cookbook" -long_description IO.read(File.join(File.dirname(__FILE__), 'README.rdoc')) -version "1.0" diff --git a/features/data/cookbooks/show_cookbook/recipes/default.rb b/features/data/cookbooks/show_cookbook/recipes/default.rb deleted file mode 100644 index 6f972192cb..0000000000 --- a/features/data/cookbooks/show_cookbook/recipes/default.rb +++ /dev/null @@ -1,18 +0,0 @@ -# -# Cookbook Name:: show_cookbook -# Recipe:: default -# -# Copyright 2009, Opscode -# -# 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. -# diff --git a/features/data/cookbooks/show_cookbook/templates/default/prime_time.txt.erb b/features/data/cookbooks/show_cookbook/templates/default/prime_time.txt.erb deleted file mode 100644 index e69de29bb2..0000000000 --- a/features/data/cookbooks/show_cookbook/templates/default/prime_time.txt.erb +++ /dev/null diff --git a/features/data/cookbooks/show_cookbook/templates/host-latte/prime_time.txt.erb b/features/data/cookbooks/show_cookbook/templates/host-latte/prime_time.txt.erb deleted file mode 100644 index e69de29bb2..0000000000 --- a/features/data/cookbooks/show_cookbook/templates/host-latte/prime_time.txt.erb +++ /dev/null diff --git a/features/data/cookbooks/show_cookbook/templates/mac_os_x-10.5/prime_time.txt.erb b/features/data/cookbooks/show_cookbook/templates/mac_os_x-10.5/prime_time.txt.erb deleted file mode 100644 index e69de29bb2..0000000000 --- a/features/data/cookbooks/show_cookbook/templates/mac_os_x-10.5/prime_time.txt.erb +++ /dev/null diff --git a/features/data/cookbooks/show_cookbook/templates/mac_os_x/prime_time.txt.erb b/features/data/cookbooks/show_cookbook/templates/mac_os_x/prime_time.txt.erb deleted file mode 100644 index e69de29bb2..0000000000 --- a/features/data/cookbooks/show_cookbook/templates/mac_os_x/prime_time.txt.erb +++ /dev/null diff --git a/features/data/cookbooks/sync_library_original/README.rdoc b/features/data/cookbooks/sync_library_original/README.rdoc deleted file mode 100644 index 8d774805b9..0000000000 --- a/features/data/cookbooks/sync_library_original/README.rdoc +++ /dev/null @@ -1,8 +0,0 @@ -= DESCRIPTION: - -= REQUIREMENTS: - -= ATTRIBUTES: - -= USAGE: - diff --git a/features/data/cookbooks/sync_library_original/libraries/sync_library.rb b/features/data/cookbooks/sync_library_original/libraries/sync_library.rb deleted file mode 100644 index 659529670b..0000000000 --- a/features/data/cookbooks/sync_library_original/libraries/sync_library.rb +++ /dev/null @@ -1,27 +0,0 @@ - -require 'chef/index_queue/amqp_client' -$sync_library_go_count ||= 0 -module SyncLibrary - - def go - Chef::Log.info('First generation library') - - # Publish the first run - $sync_library_go_count += 1 - if $sync_library_go_count < 2 - amqp = Chef::IndexQueue::AmqpClient.instance - queue = amqp.amqp_client.queue('sync_library_test') - queue.publish("first run complete") - - # Wait until the message is consumed / the sync_library cookbook is updated - mcount = 1 - while mcount > 0 - Chef::Log.info("Sleeping while message is being consumed") - sleep 1 - mcount = queue.message_count - end - end - - end - -end
\ No newline at end of file diff --git a/features/data/cookbooks/sync_library_original/metadata.rb b/features/data/cookbooks/sync_library_original/metadata.rb deleted file mode 100644 index 0191f053a1..0000000000 --- a/features/data/cookbooks/sync_library_original/metadata.rb +++ /dev/null @@ -1,6 +0,0 @@ -maintainer "Opscode" -maintainer_email "do_not_reply@opscode.com" -license "Apache 2.0" -description "Installs/Configures sync_library" -long_description IO.read(File.join(File.dirname(__FILE__), 'README.rdoc')) -version "0.1" diff --git a/features/data/cookbooks/sync_library_original/recipes/default.rb b/features/data/cookbooks/sync_library_original/recipes/default.rb deleted file mode 100644 index bb77f98632..0000000000 --- a/features/data/cookbooks/sync_library_original/recipes/default.rb +++ /dev/null @@ -1,30 +0,0 @@ -# -# Cookbook Name:: attribute_settings -# Recipe:: default -# -# Copyright 2009, Opscode -# -# 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. -# - -class Chef::Recipe - include SyncLibrary -end - -# Run the library code -go - -$sync_library_global ||= 2 -$sync_library_global -= 1 -exit(2) if $sync_library_global == 0 - diff --git a/features/data/cookbooks/sync_library_updated/libraries/sync_library.rb b/features/data/cookbooks/sync_library_updated/libraries/sync_library.rb deleted file mode 100644 index 4a28bec485..0000000000 --- a/features/data/cookbooks/sync_library_updated/libraries/sync_library.rb +++ /dev/null @@ -1,8 +0,0 @@ - -module SyncLibrary - - def go - Chef::Log.info('Second generation library') - end - -end
\ No newline at end of file diff --git a/features/data/cookbooks/synchronize/recipes/default.rb b/features/data/cookbooks/synchronize/recipes/default.rb deleted file mode 100644 index b2c4976dc3..0000000000 --- a/features/data/cookbooks/synchronize/recipes/default.rb +++ /dev/null @@ -1,18 +0,0 @@ -# -# Cookbook Name:: synchronize -# Recipe:: default -# -# Copyright 2009, Opscode -# -# 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. -# diff --git a/features/data/cookbooks/synchronize_deps/metadata.json b/features/data/cookbooks/synchronize_deps/metadata.json deleted file mode 100644 index 146f154d6e..0000000000 --- a/features/data/cookbooks/synchronize_deps/metadata.json +++ /dev/null @@ -1,30 +0,0 @@ -{ - "name": "synchronize_deps", - "description": "A fabulous new cookbook", - "long_description": "", - "maintainer": "Your Name", - "maintainer_email": "youremail@example.com", - "license": "Apache v2.0", - "platforms": { - }, - "dependencies": { - "synchronize": ">= 0.0.0" - }, - "recommendations": { - }, - "suggestions": { - }, - "conflicting": { - }, - "providing": { - }, - "replacing": { - }, - "attributes": { - }, - "groupings": { - }, - "recipes": { - }, - "version": "0.0.0" - }
\ No newline at end of file diff --git a/features/data/cookbooks/synchronize_deps/metadata.rb b/features/data/cookbooks/synchronize_deps/metadata.rb deleted file mode 100644 index b5b344c0bb..0000000000 --- a/features/data/cookbooks/synchronize_deps/metadata.rb +++ /dev/null @@ -1 +0,0 @@ -depends 'synchronize' diff --git a/features/data/cookbooks/synchronize_deps/recipes/default.rb b/features/data/cookbooks/synchronize_deps/recipes/default.rb deleted file mode 100644 index 007931b4c6..0000000000 --- a/features/data/cookbooks/synchronize_deps/recipes/default.rb +++ /dev/null @@ -1,18 +0,0 @@ -# -# Cookbook Name:: synchronize_deps -# Recipe:: default -# -# Copyright 2009, Opscode -# -# 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. -# diff --git a/features/data/cookbooks/template/README.rdoc b/features/data/cookbooks/template/README.rdoc deleted file mode 100644 index 3de2ec7a3c..0000000000 --- a/features/data/cookbooks/template/README.rdoc +++ /dev/null @@ -1,8 +0,0 @@ -= DESCRIPTION: - -= REQUIREMENTS: - -= ATTRIBUTES: - -= USAGE: - diff --git a/features/data/cookbooks/template/metadata.rb b/features/data/cookbooks/template/metadata.rb deleted file mode 100644 index ab4ed48e17..0000000000 --- a/features/data/cookbooks/template/metadata.rb +++ /dev/null @@ -1,6 +0,0 @@ -maintainer "Opscode" -maintainer_email "do_not_reply@opscode.com" -license "Apache 2.0" -description "Installs/Configures template" -long_description IO.read(File.join(File.dirname(__FILE__), 'README.rdoc')) -version "0.1" diff --git a/features/data/cookbooks/template/recipes/default.rb b/features/data/cookbooks/template/recipes/default.rb deleted file mode 100644 index bf251cec57..0000000000 --- a/features/data/cookbooks/template/recipes/default.rb +++ /dev/null @@ -1,26 +0,0 @@ -# -# Cookbook Name:: template -# Recipe:: default -# -# Copyright 2009, Opscode -# -# 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. -# - -node.set[:markov][:test] = { "value" => "sauce" } - -template "#{node[:tmpdir]}/template.txt" do - source "template.txt.erb" - variables node[:markov][:test] -end - diff --git a/features/data/cookbooks/template/recipes/interval.rb b/features/data/cookbooks/template/recipes/interval.rb deleted file mode 100644 index b7ff81984f..0000000000 --- a/features/data/cookbooks/template/recipes/interval.rb +++ /dev/null @@ -1,37 +0,0 @@ -# -# Cookbook Name:: template -# Recipe:: default -# -# Copyright 2009, Opscode -# -# 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. -# - -# can no longer set chef to run repeatedly in the foreground -# without some hackery like this: -Chef::Config[:interval] = 1 - -$run_count ||= %w{one two} -exit!(108) if $run_count.empty? - -Chef::Log.info("run count: #{$run_count}") - -vars = {:value => $run_count.shift} - -Chef::Log.error(:vars => vars.inspect, :RUN_COUNT => $run_count.inspect) - -template "#{node[:tmpdir]}/template.txt" do - source "template.txt.erb" - variables(vars) -end - diff --git a/features/data/cookbooks/template/recipes/render_node_attrs.rb b/features/data/cookbooks/template/recipes/render_node_attrs.rb deleted file mode 100644 index 336fb1c805..0000000000 --- a/features/data/cookbooks/template/recipes/render_node_attrs.rb +++ /dev/null @@ -1,26 +0,0 @@ -# -# Cookbook Name:: template -# Recipe:: default -# -# Copyright 2009, Opscode -# -# 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. -# - -node.set[:bawt] = "is fujins bot" -node.set[:botsnack] = "cheers!" - -template "#{node[:tmpdir]}/node.txt" do - source "node.txt.erb" -end - diff --git a/features/data/cookbooks/template/templates/default/node.txt.erb b/features/data/cookbooks/template/templates/default/node.txt.erb deleted file mode 100644 index 6c854288a7..0000000000 --- a/features/data/cookbooks/template/templates/default/node.txt.erb +++ /dev/null @@ -1,3 +0,0 @@ -bawt <%= node[:bawt] %> -!botsnack -<%= @node[:botsnack] %>
\ No newline at end of file diff --git a/features/data/cookbooks/template/templates/default/template.txt.erb b/features/data/cookbooks/template/templates/default/template.txt.erb deleted file mode 100644 index d568b87b40..0000000000 --- a/features/data/cookbooks/template/templates/default/template.txt.erb +++ /dev/null @@ -1 +0,0 @@ -<%= @value %> diff --git a/features/data/cookbooks/transfer_remote_directories/files/default/transfer_directory_feature/bar.txt b/features/data/cookbooks/transfer_remote_directories/files/default/transfer_directory_feature/bar.txt deleted file mode 100644 index 3567f3874e..0000000000 --- a/features/data/cookbooks/transfer_remote_directories/files/default/transfer_directory_feature/bar.txt +++ /dev/null @@ -1 +0,0 @@ -Space Manoeuvres stage 1
\ No newline at end of file diff --git a/features/data/cookbooks/transfer_remote_directories/files/default/transfer_directory_feature/baz.txt b/features/data/cookbooks/transfer_remote_directories/files/default/transfer_directory_feature/baz.txt deleted file mode 100644 index 63c03878e1..0000000000 --- a/features/data/cookbooks/transfer_remote_directories/files/default/transfer_directory_feature/baz.txt +++ /dev/null @@ -1 +0,0 @@ -micromega
\ No newline at end of file diff --git a/features/data/cookbooks/transfer_remote_directories/files/default/transfer_directory_feature/foo.txt b/features/data/cookbooks/transfer_remote_directories/files/default/transfer_directory_feature/foo.txt deleted file mode 100644 index c964b2828b..0000000000 --- a/features/data/cookbooks/transfer_remote_directories/files/default/transfer_directory_feature/foo.txt +++ /dev/null @@ -1 +0,0 @@ -tyrantanic
\ No newline at end of file diff --git a/features/data/cookbooks/transfer_remote_directories/recipes/transfer_directory.rb b/features/data/cookbooks/transfer_remote_directories/recipes/transfer_directory.rb deleted file mode 100644 index ce9163bc15..0000000000 --- a/features/data/cookbooks/transfer_remote_directories/recipes/transfer_directory.rb +++ /dev/null @@ -1,29 +0,0 @@ -# -# Cookbook Name:: transfer_remote_directories -# Recipe:: transfer_directory -# -# Copyright 2009, Daniel DeLeo -# -# 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. -# - -remote_directory "#{node[:tmpdir]}/transfer_directory" do - source "transfer_directory_feature" - files_backup 10 - files_owner "root" - files_group "staff" - files_mode "0644" - owner "nobody" - group "nogroup" - mode "0755" -end diff --git a/features/data/cookbooks/transfer_remote_files/files/default/transfer_a_file_from_a_cookbook.txt b/features/data/cookbooks/transfer_remote_files/files/default/transfer_a_file_from_a_cookbook.txt deleted file mode 100644 index 9fb38fab62..0000000000 --- a/features/data/cookbooks/transfer_remote_files/files/default/transfer_a_file_from_a_cookbook.txt +++ /dev/null @@ -1 +0,0 @@ -easy like sunday morning diff --git a/features/data/cookbooks/transfer_remote_files/metadata.json b/features/data/cookbooks/transfer_remote_files/metadata.json deleted file mode 100644 index 382d0e36b4..0000000000 --- a/features/data/cookbooks/transfer_remote_files/metadata.json +++ /dev/null @@ -1,30 +0,0 @@ -{ - "name": "transfer_remote_files", - "description": "A fabulous new cookbook", - "long_description": "", - "maintainer": "Your Name", - "maintainer_email": "youremail@example.com", - "license": "Apache v2.0", - "platforms": { - }, - "dependencies": { - "transfer_remote_files_definition": ">= 0.0.0" - }, - "recommendations": { - }, - "suggestions": { - }, - "conflicting": { - }, - "providing": { - }, - "replacing": { - }, - "attributes": { - }, - "groupings": { - }, - "recipes": { - }, - "version": "0.0.0" - }
\ No newline at end of file diff --git a/features/data/cookbooks/transfer_remote_files/metadata.rb b/features/data/cookbooks/transfer_remote_files/metadata.rb deleted file mode 100644 index 7c61151538..0000000000 --- a/features/data/cookbooks/transfer_remote_files/metadata.rb +++ /dev/null @@ -1 +0,0 @@ -depends "transfer_remote_files_definition" diff --git a/features/data/cookbooks/transfer_remote_files/recipes/change_remote_file_perms_trickery.rb b/features/data/cookbooks/transfer_remote_files/recipes/change_remote_file_perms_trickery.rb deleted file mode 100644 index 64ce440cc5..0000000000 --- a/features/data/cookbooks/transfer_remote_files/recipes/change_remote_file_perms_trickery.rb +++ /dev/null @@ -1,33 +0,0 @@ -# -# Cookbook Name:: change_remote_file_perms_trickery -# Recipe:: default -# -# Copyright 2009, Opscode -# -# 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. -# - -# The "trickery" comes from the fact that chef waits until all Resources are defined before actually - -r = remote_file "#{node[:tmpdir]}/transfer_a_file_from_a_cookbook.txt" do - source "transfer_a_file_from_a_cookbook.txt" - mode 0600 - action :nothing -end -# This creates the file out-of-band () -r.run_action(:create) - -remote_file "#{node[:tmpdir]}/transfer_a_file_from_a_cookbook.txt" do - source "transfer_a_file_from_a_cookbook.txt" - mode 0644 -end diff --git a/features/data/cookbooks/transfer_remote_files/recipes/default.rb b/features/data/cookbooks/transfer_remote_files/recipes/default.rb deleted file mode 100644 index 8bba761657..0000000000 --- a/features/data/cookbooks/transfer_remote_files/recipes/default.rb +++ /dev/null @@ -1,18 +0,0 @@ -# -# Cookbook Name:: transfer_remote_files -# Recipe:: default -# -# Copyright 2009, Opscode -# -# 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. -# diff --git a/features/data/cookbooks/transfer_remote_files/recipes/should_prefer_the_file_for_this_specific_host.rb b/features/data/cookbooks/transfer_remote_files/recipes/should_prefer_the_file_for_this_specific_host.rb deleted file mode 100644 index a89ea4c9af..0000000000 --- a/features/data/cookbooks/transfer_remote_files/recipes/should_prefer_the_file_for_this_specific_host.rb +++ /dev/null @@ -1,22 +0,0 @@ -# -# Cookbook Name:: transfer_remote_files -# Recipe:: default -# -# Copyright 2009, Opscode -# -# 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. -# - -remote_file "#{node[:tmpdir]}/host_specific.txt" do - source "host_specific.txt" -end diff --git a/features/data/cookbooks/transfer_remote_files/recipes/transfer_a_file_from_a_cookbook.rb b/features/data/cookbooks/transfer_remote_files/recipes/transfer_a_file_from_a_cookbook.rb deleted file mode 100644 index ccc984e6d0..0000000000 --- a/features/data/cookbooks/transfer_remote_files/recipes/transfer_a_file_from_a_cookbook.rb +++ /dev/null @@ -1,22 +0,0 @@ -# -# Cookbook Name:: transfer_remote_files -# Recipe:: default -# -# Copyright 2009, Opscode -# -# 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. -# - -remote_file "#{node[:tmpdir]}/transfer_a_file_from_a_cookbook.txt" do - source "transfer_a_file_from_a_cookbook.txt" -end diff --git a/features/data/cookbooks/transfer_remote_files/recipes/transfer_a_file_from_a_specific_cookbook.rb b/features/data/cookbooks/transfer_remote_files/recipes/transfer_a_file_from_a_specific_cookbook.rb deleted file mode 100644 index 1d2159f853..0000000000 --- a/features/data/cookbooks/transfer_remote_files/recipes/transfer_a_file_from_a_specific_cookbook.rb +++ /dev/null @@ -1,20 +0,0 @@ -# -# Cookbook Name:: transfer_remote_files -# Recipe:: default -# -# Copyright 2009, Opscode -# -# 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. -# - -transfer_cookbook "from_definition.txt" diff --git a/features/data/cookbooks/transfer_remote_files/recipes/transfer_a_non-existent_file_from_a_cookbook.rb b/features/data/cookbooks/transfer_remote_files/recipes/transfer_a_non-existent_file_from_a_cookbook.rb deleted file mode 100644 index 17cd8d24c8..0000000000 --- a/features/data/cookbooks/transfer_remote_files/recipes/transfer_a_non-existent_file_from_a_cookbook.rb +++ /dev/null @@ -1,22 +0,0 @@ -# -# Cookbook Name:: transfer_remote_files -# Recipe:: default -# -# Copyright 2009, Opscode -# -# 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. -# - -remote_file "#{node[:tmpdir]}/transfer_a_non-existent_file_from_a_cookbook.txt" do - source "transfer_a_non-existent_file_from_a_cookbook.txt" -end diff --git a/features/data/cookbooks/transfer_remote_files_definition/definitions/transfer.rb b/features/data/cookbooks/transfer_remote_files_definition/definitions/transfer.rb deleted file mode 100644 index 6784c2e765..0000000000 --- a/features/data/cookbooks/transfer_remote_files_definition/definitions/transfer.rb +++ /dev/null @@ -1,6 +0,0 @@ -define :transfer_cookbook do - remote_file "#{node[:tmpdir]}/#{params[:name]}" do - source "easy.txt" - cookbook "transfer_remote_files_definition" - end -end
\ No newline at end of file diff --git a/features/data/cookbooks/transfer_remote_files_definition/files/default/easy.txt b/features/data/cookbooks/transfer_remote_files_definition/files/default/easy.txt deleted file mode 100644 index ba56156ef3..0000000000 --- a/features/data/cookbooks/transfer_remote_files_definition/files/default/easy.txt +++ /dev/null @@ -1 +0,0 @@ -easy like saturday morning
\ No newline at end of file diff --git a/features/data/cookbooks/transfer_some_cookbook_files/files/default/should_be_transferred.txt b/features/data/cookbooks/transfer_some_cookbook_files/files/default/should_be_transferred.txt deleted file mode 100644 index 5d01a3a2ba..0000000000 --- a/features/data/cookbooks/transfer_some_cookbook_files/files/default/should_be_transferred.txt +++ /dev/null @@ -1,3 +0,0 @@ -This file should be transferred, since it's referred to in a "cookbook_file" directive in the -default recipe. - diff --git a/features/data/cookbooks/transfer_some_cookbook_files/files/default/should_not_be_transferred.txt b/features/data/cookbooks/transfer_some_cookbook_files/files/default/should_not_be_transferred.txt deleted file mode 100644 index eb8929c6e3..0000000000 --- a/features/data/cookbooks/transfer_some_cookbook_files/files/default/should_not_be_transferred.txt +++ /dev/null @@ -1,2 +0,0 @@ -This file should NOT be transferred, since it's not referred to in the default recipe. - diff --git a/features/data/cookbooks/transfer_some_cookbook_files/recipes/default.rb b/features/data/cookbooks/transfer_some_cookbook_files/recipes/default.rb deleted file mode 100644 index f6ceaaf5be..0000000000 --- a/features/data/cookbooks/transfer_some_cookbook_files/recipes/default.rb +++ /dev/null @@ -1,26 +0,0 @@ -# -# Cookbook Name:: transfer_some_cookbook_files -# Recipe:: default -# -# Copyright 2009, Opscode -# -# 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. -# - -cookbook_file "#{node[:tmpdir]}/should_be_transferred.txt" do - source "should_be_transferred.txt" -end - -template "#{node[:tmpdir]}/template_should_be_transferred.txt" do - source "should_be_transferred.erb" -end diff --git a/features/data/cookbooks/transfer_some_cookbook_files/templates/default/should_be_transferred.erb b/features/data/cookbooks/transfer_some_cookbook_files/templates/default/should_be_transferred.erb deleted file mode 100644 index e551ee9379..0000000000 --- a/features/data/cookbooks/transfer_some_cookbook_files/templates/default/should_be_transferred.erb +++ /dev/null @@ -1,2 +0,0 @@ -Should be transferred, as it's referred to in the default recipe. -<%= node[:fqdn] %> diff --git a/features/data/cookbooks/transfer_some_cookbook_files/templates/default/should_not_be_transferred.erb b/features/data/cookbooks/transfer_some_cookbook_files/templates/default/should_not_be_transferred.erb deleted file mode 100644 index 3e8c34637f..0000000000 --- a/features/data/cookbooks/transfer_some_cookbook_files/templates/default/should_not_be_transferred.erb +++ /dev/null @@ -1,3 +0,0 @@ -Should NOT be transferred, as it's not referred to in the default recipe. -<%= node[:fqdn] %> - diff --git a/features/data/cookbooks/version_deps/metadata.rb b/features/data/cookbooks/version_deps/metadata.rb deleted file mode 100644 index f8a8be821c..0000000000 --- a/features/data/cookbooks/version_deps/metadata.rb +++ /dev/null @@ -1 +0,0 @@ -depends "versions", "= 0.1.0" diff --git a/features/data/cookbooks/version_deps/recipes/default.rb b/features/data/cookbooks/version_deps/recipes/default.rb deleted file mode 100644 index 96be727c43..0000000000 --- a/features/data/cookbooks/version_deps/recipes/default.rb +++ /dev/null @@ -1 +0,0 @@ -include_recipe "versions" diff --git a/features/data/cookbooks/versions/metadata.rb b/features/data/cookbooks/versions/metadata.rb deleted file mode 100644 index e5200c3336..0000000000 --- a/features/data/cookbooks/versions/metadata.rb +++ /dev/null @@ -1,5 +0,0 @@ -version "0.1.0" -maintainer "Bobo T. Clown" -maintainer_email "bobo@example.com" -long_description "Can haz versions?" - diff --git a/features/data/cookbooks/versions/recipes/default.rb b/features/data/cookbooks/versions/recipes/default.rb deleted file mode 100644 index ea319bf0fa..0000000000 --- a/features/data/cookbooks/versions/recipes/default.rb +++ /dev/null @@ -1,5 +0,0 @@ -file "#{node[:tmpdir]}/thundercats_are_go.txt" do - content "1" - action :create -end - diff --git a/features/data/cookbooks_not_uploaded_at_feature_start/dep_test_a_1.0.0/metadata.json b/features/data/cookbooks_not_uploaded_at_feature_start/dep_test_a_1.0.0/metadata.json deleted file mode 100644 index 5c2dab5366..0000000000 --- a/features/data/cookbooks_not_uploaded_at_feature_start/dep_test_a_1.0.0/metadata.json +++ /dev/null @@ -1,31 +0,0 @@ -{ - "recommendations": { - }, - "description": "Tests cookbook versioning in environments", - "suggestions": { - }, - "attributes": { - }, - "platforms": { - }, - "long_description": "", - "conflicting": { - }, - "dependencies": { - "dep_test_b": "< 2.0.0", - "dep_test_c": "< 2.0.0" - }, - "version": "1.0.0", - "providing": { - }, - "maintainer": "Opscode", - "recipes": { - }, - "replacing": { - }, - "license": "Apache 2.0", - "name": "dep_test_a", - "maintainer_email": "do_not_reply@opscode.com", - "groupings": { - } -}
\ No newline at end of file diff --git a/features/data/cookbooks_not_uploaded_at_feature_start/dep_test_a_1.0.0/metadata.rb b/features/data/cookbooks_not_uploaded_at_feature_start/dep_test_a_1.0.0/metadata.rb deleted file mode 100644 index 667c04b9bd..0000000000 --- a/features/data/cookbooks_not_uploaded_at_feature_start/dep_test_a_1.0.0/metadata.rb +++ /dev/null @@ -1,8 +0,0 @@ -name "dep_test_a" -maintainer "Opscode" -maintainer_email "do_not_reply@opscode.com" -license "Apache 2.0" -description "Tests cookbook versioning in environments" -version "1.0.0" -depends "dep_test_b", "< 2.0.0" -depends "dep_test_c", "< 2.0.0"
\ No newline at end of file diff --git a/features/data/cookbooks_not_uploaded_at_feature_start/dep_test_a_1.0.0/recipes/default.rb b/features/data/cookbooks_not_uploaded_at_feature_start/dep_test_a_1.0.0/recipes/default.rb deleted file mode 100644 index dc2a253959..0000000000 --- a/features/data/cookbooks_not_uploaded_at_feature_start/dep_test_a_1.0.0/recipes/default.rb +++ /dev/null @@ -1,18 +0,0 @@ -# -# Cookbook Name:: template -# Recipe:: default -# -# Copyright 2010, Opscode, Inc. -# -# 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. -# diff --git a/features/data/cookbooks_not_uploaded_at_feature_start/dep_test_a_2.0.0/metadata.json b/features/data/cookbooks_not_uploaded_at_feature_start/dep_test_a_2.0.0/metadata.json deleted file mode 100644 index 62eba94b04..0000000000 --- a/features/data/cookbooks_not_uploaded_at_feature_start/dep_test_a_2.0.0/metadata.json +++ /dev/null @@ -1,29 +0,0 @@ -{ - "recommendations": { - }, - "description": "Tests cookbook versioning in environments", - "suggestions": { - }, - "attributes": { - }, - "platforms": { - }, - "long_description": "", - "conflicting": { - }, - "dependencies": { - }, - "version": "2.0.0", - "providing": { - }, - "maintainer": "Opscode", - "recipes": { - }, - "replacing": { - }, - "license": "Apache 2.0", - "name": "dep_test_a", - "maintainer_email": "do_not_reply@opscode.com", - "groupings": { - } -}
\ No newline at end of file diff --git a/features/data/cookbooks_not_uploaded_at_feature_start/dep_test_a_2.0.0/metadata.rb b/features/data/cookbooks_not_uploaded_at_feature_start/dep_test_a_2.0.0/metadata.rb deleted file mode 100644 index 78d8b0b9c6..0000000000 --- a/features/data/cookbooks_not_uploaded_at_feature_start/dep_test_a_2.0.0/metadata.rb +++ /dev/null @@ -1,6 +0,0 @@ -name "dep_test_a" -maintainer "Opscode" -maintainer_email "do_not_reply@opscode.com" -license "Apache 2.0" -description "Tests cookbook versioning in environments" -version "2.0.0"
\ No newline at end of file diff --git a/features/data/cookbooks_not_uploaded_at_feature_start/dep_test_a_2.0.0/recipes/default.rb b/features/data/cookbooks_not_uploaded_at_feature_start/dep_test_a_2.0.0/recipes/default.rb deleted file mode 100644 index dc2a253959..0000000000 --- a/features/data/cookbooks_not_uploaded_at_feature_start/dep_test_a_2.0.0/recipes/default.rb +++ /dev/null @@ -1,18 +0,0 @@ -# -# Cookbook Name:: template -# Recipe:: default -# -# Copyright 2010, Opscode, Inc. -# -# 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. -# diff --git a/features/data/cookbooks_not_uploaded_at_feature_start/dep_test_a_3.0.0/metadata.json b/features/data/cookbooks_not_uploaded_at_feature_start/dep_test_a_3.0.0/metadata.json deleted file mode 100644 index 60991b83ee..0000000000 --- a/features/data/cookbooks_not_uploaded_at_feature_start/dep_test_a_3.0.0/metadata.json +++ /dev/null @@ -1,30 +0,0 @@ -{ - "recommendations": { - }, - "description": "Tests cookbook versioning in environments", - "suggestions": { - }, - "attributes": { - }, - "platforms": { - }, - "long_description": "", - "conflicting": { - }, - "dependencies": { - "dep_test_b": "= 3.0.0" - }, - "version": "3.0.0", - "providing": { - }, - "maintainer": "Opscode", - "recipes": { - }, - "replacing": { - }, - "license": "Apache 2.0", - "name": "dep_test_a", - "maintainer_email": "do_not_reply@opscode.com", - "groupings": { - } -}
\ No newline at end of file diff --git a/features/data/cookbooks_not_uploaded_at_feature_start/dep_test_a_3.0.0/metadata.rb b/features/data/cookbooks_not_uploaded_at_feature_start/dep_test_a_3.0.0/metadata.rb deleted file mode 100644 index 1b75897c50..0000000000 --- a/features/data/cookbooks_not_uploaded_at_feature_start/dep_test_a_3.0.0/metadata.rb +++ /dev/null @@ -1,7 +0,0 @@ -name "dep_test_a" -maintainer "Opscode" -maintainer_email "do_not_reply@opscode.com" -license "Apache 2.0" -description "Tests cookbook versioning in environments" -version "3.0.0" -depends "dep_test_b", "= 3.0.0"
\ No newline at end of file diff --git a/features/data/cookbooks_not_uploaded_at_feature_start/dep_test_a_3.0.0/recipes/default.rb b/features/data/cookbooks_not_uploaded_at_feature_start/dep_test_a_3.0.0/recipes/default.rb deleted file mode 100644 index dc2a253959..0000000000 --- a/features/data/cookbooks_not_uploaded_at_feature_start/dep_test_a_3.0.0/recipes/default.rb +++ /dev/null @@ -1,18 +0,0 @@ -# -# Cookbook Name:: template -# Recipe:: default -# -# Copyright 2010, Opscode, Inc. -# -# 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. -# diff --git a/features/data/cookbooks_not_uploaded_at_feature_start/dep_test_b_1.0.0/metadata.json b/features/data/cookbooks_not_uploaded_at_feature_start/dep_test_b_1.0.0/metadata.json deleted file mode 100644 index 4bccc932c4..0000000000 --- a/features/data/cookbooks_not_uploaded_at_feature_start/dep_test_b_1.0.0/metadata.json +++ /dev/null @@ -1,31 +0,0 @@ -{ - "recommendations": { - }, - "description": "Tests cookbook versioning in environments", - "suggestions": { - }, - "attributes": { - }, - "platforms": { - }, - "long_description": "", - "conflicting": { - }, - "dependencies": { - "dep_test_a": "< 2.0.0", - "dep_test_c": "< 2.0.0" - }, - "version": "1.0.0", - "providing": { - }, - "maintainer": "Opscode", - "recipes": { - }, - "replacing": { - }, - "license": "Apache 2.0", - "name": "dep_test_b", - "maintainer_email": "do_not_reply@opscode.com", - "groupings": { - } -}
\ No newline at end of file diff --git a/features/data/cookbooks_not_uploaded_at_feature_start/dep_test_b_1.0.0/metadata.rb b/features/data/cookbooks_not_uploaded_at_feature_start/dep_test_b_1.0.0/metadata.rb deleted file mode 100644 index a4a4fd2c5e..0000000000 --- a/features/data/cookbooks_not_uploaded_at_feature_start/dep_test_b_1.0.0/metadata.rb +++ /dev/null @@ -1,8 +0,0 @@ -name "dep_test_b" -maintainer "Opscode" -maintainer_email "do_not_reply@opscode.com" -license "Apache 2.0" -description "Tests cookbook versioning in environments" -version "1.0.0" -depends "dep_test_a", "< 2.0.0" -depends "dep_test_c", "< 2.0.0"
\ No newline at end of file diff --git a/features/data/cookbooks_not_uploaded_at_feature_start/dep_test_b_1.0.0/recipes/default.rb b/features/data/cookbooks_not_uploaded_at_feature_start/dep_test_b_1.0.0/recipes/default.rb deleted file mode 100644 index dc2a253959..0000000000 --- a/features/data/cookbooks_not_uploaded_at_feature_start/dep_test_b_1.0.0/recipes/default.rb +++ /dev/null @@ -1,18 +0,0 @@ -# -# Cookbook Name:: template -# Recipe:: default -# -# Copyright 2010, Opscode, Inc. -# -# 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. -# diff --git a/features/data/cookbooks_not_uploaded_at_feature_start/dep_test_b_2.0.0/metadata.json b/features/data/cookbooks_not_uploaded_at_feature_start/dep_test_b_2.0.0/metadata.json deleted file mode 100644 index 47ca16638e..0000000000 --- a/features/data/cookbooks_not_uploaded_at_feature_start/dep_test_b_2.0.0/metadata.json +++ /dev/null @@ -1,31 +0,0 @@ -{ - "recommendations": { - }, - "description": "Tests cookbook versioning in environments", - "suggestions": { - }, - "attributes": { - }, - "platforms": { - }, - "long_description": "", - "conflicting": { - }, - "dependencies": { - "dep_test_a": "= 1.0.0", - "dep_test_c": "< 3.0.0" - }, - "version": "2.0.0", - "providing": { - }, - "maintainer": "Opscode", - "recipes": { - }, - "replacing": { - }, - "license": "Apache 2.0", - "name": "dep_test_b", - "maintainer_email": "do_not_reply@opscode.com", - "groupings": { - } -}
\ No newline at end of file diff --git a/features/data/cookbooks_not_uploaded_at_feature_start/dep_test_b_2.0.0/metadata.rb b/features/data/cookbooks_not_uploaded_at_feature_start/dep_test_b_2.0.0/metadata.rb deleted file mode 100644 index 8bfd38bbb8..0000000000 --- a/features/data/cookbooks_not_uploaded_at_feature_start/dep_test_b_2.0.0/metadata.rb +++ /dev/null @@ -1,8 +0,0 @@ -name "dep_test_b" -maintainer "Opscode" -maintainer_email "do_not_reply@opscode.com" -license "Apache 2.0" -description "Tests cookbook versioning in environments" -version "2.0.0" -depends "dep_test_a", "= 1.0.0" -depends "dep_test_c", "< 3.0.0"
\ No newline at end of file diff --git a/features/data/cookbooks_not_uploaded_at_feature_start/dep_test_b_2.0.0/recipes/default.rb b/features/data/cookbooks_not_uploaded_at_feature_start/dep_test_b_2.0.0/recipes/default.rb deleted file mode 100644 index dc2a253959..0000000000 --- a/features/data/cookbooks_not_uploaded_at_feature_start/dep_test_b_2.0.0/recipes/default.rb +++ /dev/null @@ -1,18 +0,0 @@ -# -# Cookbook Name:: template -# Recipe:: default -# -# Copyright 2010, Opscode, Inc. -# -# 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. -# diff --git a/features/data/cookbooks_not_uploaded_at_feature_start/dep_test_b_3.0.0/metadata.json b/features/data/cookbooks_not_uploaded_at_feature_start/dep_test_b_3.0.0/metadata.json deleted file mode 100644 index 2bc8f3228a..0000000000 --- a/features/data/cookbooks_not_uploaded_at_feature_start/dep_test_b_3.0.0/metadata.json +++ /dev/null @@ -1,30 +0,0 @@ -{ - "recommendations": { - }, - "description": "Tests cookbook versioning in environments", - "suggestions": { - }, - "attributes": { - }, - "platforms": { - }, - "long_description": "", - "conflicting": { - }, - "dependencies": { - "dep_test_c": "= 4.0.0" - }, - "version": "3.0.0", - "providing": { - }, - "maintainer": "Opscode", - "recipes": { - }, - "replacing": { - }, - "license": "Apache 2.0", - "name": "dep_test_b", - "maintainer_email": "do_not_reply@opscode.com", - "groupings": { - } -}
\ No newline at end of file diff --git a/features/data/cookbooks_not_uploaded_at_feature_start/dep_test_b_3.0.0/metadata.rb b/features/data/cookbooks_not_uploaded_at_feature_start/dep_test_b_3.0.0/metadata.rb deleted file mode 100644 index 6b9bda8f3f..0000000000 --- a/features/data/cookbooks_not_uploaded_at_feature_start/dep_test_b_3.0.0/metadata.rb +++ /dev/null @@ -1,7 +0,0 @@ -name "dep_test_b" -maintainer "Opscode" -maintainer_email "do_not_reply@opscode.com" -license "Apache 2.0" -description "Tests cookbook versioning in environments" -version "3.0.0" -depends "dep_test_c", "= 4.0.0"
\ No newline at end of file diff --git a/features/data/cookbooks_not_uploaded_at_feature_start/dep_test_b_3.0.0/recipes/default.rb b/features/data/cookbooks_not_uploaded_at_feature_start/dep_test_b_3.0.0/recipes/default.rb deleted file mode 100644 index dc2a253959..0000000000 --- a/features/data/cookbooks_not_uploaded_at_feature_start/dep_test_b_3.0.0/recipes/default.rb +++ /dev/null @@ -1,18 +0,0 @@ -# -# Cookbook Name:: template -# Recipe:: default -# -# Copyright 2010, Opscode, Inc. -# -# 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. -# diff --git a/features/data/cookbooks_not_uploaded_at_feature_start/dep_test_c_1.0.0/metadata.json b/features/data/cookbooks_not_uploaded_at_feature_start/dep_test_c_1.0.0/metadata.json deleted file mode 100644 index b2377a1a20..0000000000 --- a/features/data/cookbooks_not_uploaded_at_feature_start/dep_test_c_1.0.0/metadata.json +++ /dev/null @@ -1,31 +0,0 @@ -{ - "recommendations": { - }, - "description": "Tests cookbook versioning in environments", - "suggestions": { - }, - "attributes": { - }, - "platforms": { - }, - "long_description": "", - "conflicting": { - }, - "dependencies": { - "dep_test_a": "< 2.0.0", - "dep_test_b": "< 2.0.0" - }, - "version": "1.0.0", - "providing": { - }, - "maintainer": "Opscode", - "recipes": { - }, - "replacing": { - }, - "license": "Apache 2.0", - "name": "dep_test_c", - "maintainer_email": "do_not_reply@opscode.com", - "groupings": { - } -}
\ No newline at end of file diff --git a/features/data/cookbooks_not_uploaded_at_feature_start/dep_test_c_1.0.0/metadata.rb b/features/data/cookbooks_not_uploaded_at_feature_start/dep_test_c_1.0.0/metadata.rb deleted file mode 100644 index 1c71ed4432..0000000000 --- a/features/data/cookbooks_not_uploaded_at_feature_start/dep_test_c_1.0.0/metadata.rb +++ /dev/null @@ -1,8 +0,0 @@ -name "dep_test_c" -maintainer "Opscode" -maintainer_email "do_not_reply@opscode.com" -license "Apache 2.0" -description "Tests cookbook versioning in environments" -version "1.0.0" -depends "dep_test_a", "< 2.0.0" -depends "dep_test_b", "< 2.0.0"
\ No newline at end of file diff --git a/features/data/cookbooks_not_uploaded_at_feature_start/dep_test_c_1.0.0/recipes/default.rb b/features/data/cookbooks_not_uploaded_at_feature_start/dep_test_c_1.0.0/recipes/default.rb deleted file mode 100644 index dc2a253959..0000000000 --- a/features/data/cookbooks_not_uploaded_at_feature_start/dep_test_c_1.0.0/recipes/default.rb +++ /dev/null @@ -1,18 +0,0 @@ -# -# Cookbook Name:: template -# Recipe:: default -# -# Copyright 2010, Opscode, Inc. -# -# 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. -# diff --git a/features/data/cookbooks_not_uploaded_at_feature_start/dep_test_c_2.0.0/metadata.json b/features/data/cookbooks_not_uploaded_at_feature_start/dep_test_c_2.0.0/metadata.json deleted file mode 100644 index f3b924b03a..0000000000 --- a/features/data/cookbooks_not_uploaded_at_feature_start/dep_test_c_2.0.0/metadata.json +++ /dev/null @@ -1,29 +0,0 @@ -{ - "recommendations": { - }, - "description": "Tests cookbook versioning in environments", - "suggestions": { - }, - "attributes": { - }, - "platforms": { - }, - "long_description": "", - "conflicting": { - }, - "dependencies": { - }, - "version": "2.0.0", - "providing": { - }, - "maintainer": "Opscode", - "recipes": { - }, - "replacing": { - }, - "license": "Apache 2.0", - "name": "dep_test_c", - "maintainer_email": "do_not_reply@opscode.com", - "groupings": { - } -}
\ No newline at end of file diff --git a/features/data/cookbooks_not_uploaded_at_feature_start/dep_test_c_2.0.0/metadata.rb b/features/data/cookbooks_not_uploaded_at_feature_start/dep_test_c_2.0.0/metadata.rb deleted file mode 100644 index 03c581e895..0000000000 --- a/features/data/cookbooks_not_uploaded_at_feature_start/dep_test_c_2.0.0/metadata.rb +++ /dev/null @@ -1,6 +0,0 @@ -name "dep_test_c" -maintainer "Opscode" -maintainer_email "do_not_reply@opscode.com" -license "Apache 2.0" -description "Tests cookbook versioning in environments" -version "2.0.0"
\ No newline at end of file diff --git a/features/data/cookbooks_not_uploaded_at_feature_start/dep_test_c_2.0.0/recipes/default.rb b/features/data/cookbooks_not_uploaded_at_feature_start/dep_test_c_2.0.0/recipes/default.rb deleted file mode 100644 index dc2a253959..0000000000 --- a/features/data/cookbooks_not_uploaded_at_feature_start/dep_test_c_2.0.0/recipes/default.rb +++ /dev/null @@ -1,18 +0,0 @@ -# -# Cookbook Name:: template -# Recipe:: default -# -# Copyright 2010, Opscode, Inc. -# -# 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. -# diff --git a/features/data/cookbooks_not_uploaded_at_feature_start/dep_test_c_3.0.0/metadata.json b/features/data/cookbooks_not_uploaded_at_feature_start/dep_test_c_3.0.0/metadata.json deleted file mode 100644 index 954c5cff03..0000000000 --- a/features/data/cookbooks_not_uploaded_at_feature_start/dep_test_c_3.0.0/metadata.json +++ /dev/null @@ -1,29 +0,0 @@ -{ - "recommendations": { - }, - "description": "Tests cookbook versioning in environments", - "suggestions": { - }, - "attributes": { - }, - "platforms": { - }, - "long_description": "", - "conflicting": { - }, - "dependencies": { - }, - "version": "3.0.0", - "providing": { - }, - "maintainer": "Opscode", - "recipes": { - }, - "replacing": { - }, - "license": "Apache 2.0", - "name": "dep_test_c", - "maintainer_email": "do_not_reply@opscode.com", - "groupings": { - } -}
\ No newline at end of file diff --git a/features/data/cookbooks_not_uploaded_at_feature_start/dep_test_c_3.0.0/metadata.rb b/features/data/cookbooks_not_uploaded_at_feature_start/dep_test_c_3.0.0/metadata.rb deleted file mode 100644 index 838753b7a4..0000000000 --- a/features/data/cookbooks_not_uploaded_at_feature_start/dep_test_c_3.0.0/metadata.rb +++ /dev/null @@ -1,6 +0,0 @@ -name "dep_test_c" -maintainer "Opscode" -maintainer_email "do_not_reply@opscode.com" -license "Apache 2.0" -description "Tests cookbook versioning in environments" -version "3.0.0"
\ No newline at end of file diff --git a/features/data/cookbooks_not_uploaded_at_feature_start/dep_test_c_3.0.0/recipes/default.rb b/features/data/cookbooks_not_uploaded_at_feature_start/dep_test_c_3.0.0/recipes/default.rb deleted file mode 100644 index dc2a253959..0000000000 --- a/features/data/cookbooks_not_uploaded_at_feature_start/dep_test_c_3.0.0/recipes/default.rb +++ /dev/null @@ -1,18 +0,0 @@ -# -# Cookbook Name:: template -# Recipe:: default -# -# Copyright 2010, Opscode, Inc. -# -# 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. -# diff --git a/features/data/cookbooks_not_uploaded_at_feature_start/test_cookbook/attributes/attr1.rb b/features/data/cookbooks_not_uploaded_at_feature_start/test_cookbook/attributes/attr1.rb deleted file mode 100644 index 6f8c07b814..0000000000 --- a/features/data/cookbooks_not_uploaded_at_feature_start/test_cookbook/attributes/attr1.rb +++ /dev/null @@ -1 +0,0 @@ -attr1 "attribute value 1" diff --git a/features/data/cookbooks_not_uploaded_at_feature_start/test_cookbook/attributes/attr2.rb b/features/data/cookbooks_not_uploaded_at_feature_start/test_cookbook/attributes/attr2.rb deleted file mode 100644 index 4b63880508..0000000000 --- a/features/data/cookbooks_not_uploaded_at_feature_start/test_cookbook/attributes/attr2.rb +++ /dev/null @@ -1 +0,0 @@ -attr2 "attribute value 2" diff --git a/features/data/cookbooks_not_uploaded_at_feature_start/test_cookbook/recipes/default.rb b/features/data/cookbooks_not_uploaded_at_feature_start/test_cookbook/recipes/default.rb deleted file mode 100644 index e0809f4e06..0000000000 --- a/features/data/cookbooks_not_uploaded_at_feature_start/test_cookbook/recipes/default.rb +++ /dev/null @@ -1,2 +0,0 @@ -# I don't do anything - diff --git a/features/data/cookbooks_not_uploaded_at_feature_start/testcookbook_invalid_empty_except_metadata/metadata.json b/features/data/cookbooks_not_uploaded_at_feature_start/testcookbook_invalid_empty_except_metadata/metadata.json deleted file mode 100644 index 5239e45a61..0000000000 --- a/features/data/cookbooks_not_uploaded_at_feature_start/testcookbook_invalid_empty_except_metadata/metadata.json +++ /dev/null @@ -1,38 +0,0 @@ -{ - "license": "Apache 2.0", - "replacing": { - - }, - "dependencies": { - - }, - "long_description": "= DESCRIPTION:\n\n= REQUIREMENTS:\n\n= ATTRIBUTES:\n\n= USAGE:\n\n", - "recipes": { - "default": "" - }, - "groupings": { - - }, - "recommendations": { - - }, - "description": "Description", - "platforms": { - - }, - "maintainer": "Opscode", - "version": "0.1.0", - "suggestions": { - - }, - "maintainer_email": "do_not_reply@opscode.com", - "conflicting": { - - }, - "name": "cookbook_invalid", - "attributes": { - - }, - "providing": { - } -} diff --git a/features/data/cookbooks_not_uploaded_at_feature_start/testcookbook_invalid_empty_except_metadata/metadata.rb b/features/data/cookbooks_not_uploaded_at_feature_start/testcookbook_invalid_empty_except_metadata/metadata.rb deleted file mode 100644 index 1cf603edbf..0000000000 --- a/features/data/cookbooks_not_uploaded_at_feature_start/testcookbook_invalid_empty_except_metadata/metadata.rb +++ /dev/null @@ -1,6 +0,0 @@ -maintainer "Opscode" -maintainer_email "do_not_reply@opscode.com" -license "Apache 2.0" -description "Description" -long_description "Long description" -version "0.1" diff --git a/features/data/cookbooks_not_uploaded_at_feature_start/testcookbook_invalid_nometadata/attributes/attributes.rb b/features/data/cookbooks_not_uploaded_at_feature_start/testcookbook_invalid_nometadata/attributes/attributes.rb deleted file mode 100644 index 2b811a5267..0000000000 --- a/features/data/cookbooks_not_uploaded_at_feature_start/testcookbook_invalid_nometadata/attributes/attributes.rb +++ /dev/null @@ -1 +0,0 @@ -attr "attribute value" diff --git a/features/data/cookbooks_not_uploaded_at_feature_start/testcookbook_invalid_nometadata/recipes/default.rb b/features/data/cookbooks_not_uploaded_at_feature_start/testcookbook_invalid_nometadata/recipes/default.rb deleted file mode 100644 index 98757496d7..0000000000 --- a/features/data/cookbooks_not_uploaded_at_feature_start/testcookbook_invalid_nometadata/recipes/default.rb +++ /dev/null @@ -1,2 +0,0 @@ -# Used for manage_cookbooks.feature - diff --git a/features/data/cookbooks_not_uploaded_at_feature_start/testcookbook_valid/attributes/attributes.rb b/features/data/cookbooks_not_uploaded_at_feature_start/testcookbook_valid/attributes/attributes.rb deleted file mode 100644 index 2b811a5267..0000000000 --- a/features/data/cookbooks_not_uploaded_at_feature_start/testcookbook_valid/attributes/attributes.rb +++ /dev/null @@ -1 +0,0 @@ -attr "attribute value" diff --git a/features/data/cookbooks_not_uploaded_at_feature_start/testcookbook_valid/metadata.json b/features/data/cookbooks_not_uploaded_at_feature_start/testcookbook_valid/metadata.json deleted file mode 100644 index 2ccfffccd0..0000000000 --- a/features/data/cookbooks_not_uploaded_at_feature_start/testcookbook_valid/metadata.json +++ /dev/null @@ -1,29 +0,0 @@ -{ - "name": "testcookbook_valid", - "description": "Description", - "long_description": "Long description", - "maintainer": "Opscode", - "maintainer_email": "do_not_reply@opscode.com", - "license": "Apache 2.0", - "platforms": { - }, - "dependencies": { - }, - "recommendations": { - }, - "suggestions": { - }, - "conflicting": { - }, - "providing": { - }, - "replacing": { - }, - "attributes": { - }, - "groupings": { - }, - "recipes": { - }, - "version": "0.1.0" -}
\ No newline at end of file diff --git a/features/data/cookbooks_not_uploaded_at_feature_start/testcookbook_valid/metadata.rb b/features/data/cookbooks_not_uploaded_at_feature_start/testcookbook_valid/metadata.rb deleted file mode 100644 index 1cf603edbf..0000000000 --- a/features/data/cookbooks_not_uploaded_at_feature_start/testcookbook_valid/metadata.rb +++ /dev/null @@ -1,6 +0,0 @@ -maintainer "Opscode" -maintainer_email "do_not_reply@opscode.com" -license "Apache 2.0" -description "Description" -long_description "Long description" -version "0.1" diff --git a/features/data/cookbooks_not_uploaded_at_feature_start/testcookbook_valid/recipes/default.rb b/features/data/cookbooks_not_uploaded_at_feature_start/testcookbook_valid/recipes/default.rb deleted file mode 100644 index 72ae379572..0000000000 --- a/features/data/cookbooks_not_uploaded_at_feature_start/testcookbook_valid/recipes/default.rb +++ /dev/null @@ -1,2 +0,0 @@ -# Used for manage_cookbooks.feature -# v0.1.0 diff --git a/features/data/cookbooks_not_uploaded_at_feature_start/testcookbook_valid_v0.1.0_with_different_dependencies/attributes/attributes.rb b/features/data/cookbooks_not_uploaded_at_feature_start/testcookbook_valid_v0.1.0_with_different_dependencies/attributes/attributes.rb deleted file mode 100644 index 2b811a5267..0000000000 --- a/features/data/cookbooks_not_uploaded_at_feature_start/testcookbook_valid_v0.1.0_with_different_dependencies/attributes/attributes.rb +++ /dev/null @@ -1 +0,0 @@ -attr "attribute value" diff --git a/features/data/cookbooks_not_uploaded_at_feature_start/testcookbook_valid_v0.1.0_with_different_dependencies/metadata.json b/features/data/cookbooks_not_uploaded_at_feature_start/testcookbook_valid_v0.1.0_with_different_dependencies/metadata.json deleted file mode 100644 index 6dd70de9da..0000000000 --- a/features/data/cookbooks_not_uploaded_at_feature_start/testcookbook_valid_v0.1.0_with_different_dependencies/metadata.json +++ /dev/null @@ -1,40 +0,0 @@ -{ - "license": "Apache 2.0", - "replacing": { - - }, - "dependencies": { - "aws": [ - - ] - }, - "long_description": "= DESCRIPTION:\n\n= REQUIREMENTS:\n\n= ATTRIBUTES:\n\n= USAGE:\n\n", - "recipes": { - "default": "" - }, - "groupings": { - - }, - "recommendations": { - - }, - "description": "Description", - "platforms": { - - }, - "maintainer": "Opscode", - "version": "0.1.0", - "suggestions": { - - }, - "maintainer_email": "do_not_reply@opscode.com", - "conflicting": { - - }, - "name": "testcookbook_valid", - "attributes": { - - }, - "providing": { - } -} diff --git a/features/data/cookbooks_not_uploaded_at_feature_start/testcookbook_valid_v0.1.0_with_different_dependencies/metadata.rb b/features/data/cookbooks_not_uploaded_at_feature_start/testcookbook_valid_v0.1.0_with_different_dependencies/metadata.rb deleted file mode 100644 index d3200e613c..0000000000 --- a/features/data/cookbooks_not_uploaded_at_feature_start/testcookbook_valid_v0.1.0_with_different_dependencies/metadata.rb +++ /dev/null @@ -1,7 +0,0 @@ -maintainer "Opscode" -maintainer_email "do_not_reply@opscode.com" -license "Apache 2.0" -description "Description" -long_description "Long description" -version "0.1" -depends "aws" diff --git a/features/data/cookbooks_not_uploaded_at_feature_start/testcookbook_valid_v0.1.0_with_different_dependencies/recipes/default.rb b/features/data/cookbooks_not_uploaded_at_feature_start/testcookbook_valid_v0.1.0_with_different_dependencies/recipes/default.rb deleted file mode 100644 index 72ae379572..0000000000 --- a/features/data/cookbooks_not_uploaded_at_feature_start/testcookbook_valid_v0.1.0_with_different_dependencies/recipes/default.rb +++ /dev/null @@ -1,2 +0,0 @@ -# Used for manage_cookbooks.feature -# v0.1.0 diff --git a/features/data/cookbooks_not_uploaded_at_feature_start/testcookbook_valid_v0.2.0/attributes/attributes.rb b/features/data/cookbooks_not_uploaded_at_feature_start/testcookbook_valid_v0.2.0/attributes/attributes.rb deleted file mode 100644 index e34884e2c0..0000000000 --- a/features/data/cookbooks_not_uploaded_at_feature_start/testcookbook_valid_v0.2.0/attributes/attributes.rb +++ /dev/null @@ -1 +0,0 @@ -attr "attribute value #2" diff --git a/features/data/cookbooks_not_uploaded_at_feature_start/testcookbook_valid_v0.2.0/metadata.json b/features/data/cookbooks_not_uploaded_at_feature_start/testcookbook_valid_v0.2.0/metadata.json deleted file mode 100644 index 93c7fdbf60..0000000000 --- a/features/data/cookbooks_not_uploaded_at_feature_start/testcookbook_valid_v0.2.0/metadata.json +++ /dev/null @@ -1,38 +0,0 @@ -{ - "license": "Apache 2.0", - "replacing": { - - }, - "dependencies": { - - }, - "long_description": "= DESCRIPTION:\n\n= REQUIREMENTS:\n\n= ATTRIBUTES:\n\n= USAGE:\n\n", - "recipes": { - "default": "" - }, - "groupings": { - - }, - "recommendations": { - - }, - "description": "Description", - "platforms": { - - }, - "maintainer": "Opscode", - "version": "0.2.0", - "suggestions": { - - }, - "maintainer_email": "do_not_reply@opscode.com", - "conflicting": { - - }, - "name": "testcookbook_valid", - "attributes": { - - }, - "providing": { - } -} diff --git a/features/data/cookbooks_not_uploaded_at_feature_start/testcookbook_valid_v0.2.0/metadata.rb b/features/data/cookbooks_not_uploaded_at_feature_start/testcookbook_valid_v0.2.0/metadata.rb deleted file mode 100644 index dfb9ad051b..0000000000 --- a/features/data/cookbooks_not_uploaded_at_feature_start/testcookbook_valid_v0.2.0/metadata.rb +++ /dev/null @@ -1,6 +0,0 @@ -maintainer "Opscode" -maintainer_email "do_not_reply@opscode.com" -license "Apache 2.0" -description "Description #2" -long_description "Long description #2" -version "0.2" diff --git a/features/data/cookbooks_not_uploaded_at_feature_start/testcookbook_valid_v0.2.0/recipes/default.rb b/features/data/cookbooks_not_uploaded_at_feature_start/testcookbook_valid_v0.2.0/recipes/default.rb deleted file mode 100644 index c7cfb3ad59..0000000000 --- a/features/data/cookbooks_not_uploaded_at_feature_start/testcookbook_valid_v0.2.0/recipes/default.rb +++ /dev/null @@ -1,2 +0,0 @@ -# Used for manage_cookbooks.feature -# v0.2.0 diff --git a/features/data/cookbooks_not_uploaded_at_feature_start/testcookbook_wrong_metadata/metadata.json b/features/data/cookbooks_not_uploaded_at_feature_start/testcookbook_wrong_metadata/metadata.json deleted file mode 100644 index 29f1b613f2..0000000000 --- a/features/data/cookbooks_not_uploaded_at_feature_start/testcookbook_wrong_metadata/metadata.json +++ /dev/null @@ -1,40 +0,0 @@ -{ - "license": "Apache 2.0", - "replacing": { - - }, - "dependencies": { - "no_such_cookbook": [ - - ] - }, - "long_description": "= DESCRIPTION:\n\n= REQUIREMENTS:\n\n= ATTRIBUTES:\n\n= USAGE:\n\n", - "recipes": { - "default": "" - }, - "groupings": { - - }, - "recommendations": { - - }, - "description": "Description", - "platforms": { - - }, - "maintainer": "Opscode", - "version": "0.1.0", - "suggestions": { - - }, - "maintainer_email": "do_not_reply@opscode.com", - "conflicting": { - - }, - "name": "testcookbook_valid", - "attributes": { - - }, - "providing": { - } -} diff --git a/features/data/cookbooks_not_uploaded_at_feature_start/testcookbook_wrong_metadata/recipes/default.rb b/features/data/cookbooks_not_uploaded_at_feature_start/testcookbook_wrong_metadata/recipes/default.rb deleted file mode 100644 index f434e53ed7..0000000000 --- a/features/data/cookbooks_not_uploaded_at_feature_start/testcookbook_wrong_metadata/recipes/default.rb +++ /dev/null @@ -1 +0,0 @@ -# tim should read some unix books
\ No newline at end of file diff --git a/features/data/cookbooks_not_uploaded_at_feature_start/version_test_0.1.0/metadata.json b/features/data/cookbooks_not_uploaded_at_feature_start/version_test_0.1.0/metadata.json deleted file mode 100644 index eae485e650..0000000000 --- a/features/data/cookbooks_not_uploaded_at_feature_start/version_test_0.1.0/metadata.json +++ /dev/null @@ -1,39 +0,0 @@ -{ - "version": "0.1.0", - "suggestions": { - - }, - "conflicting": { - - }, - "license": "Apache 2.0", - "providing": { - - }, - "maintainer": "Opscode", - "replacing": { - - }, - "platforms": { - - }, - "description": "Tests cookbook versioning in environments", - "recipes": { - - }, - "maintainer_email": "do_not_reply@opscode.com", - "name": "version_test", - "groupings": { - - }, - "attributes": { - - }, - "long_description": "", - "recommendations": { - - }, - "dependencies": { - - } -}
\ No newline at end of file diff --git a/features/data/cookbooks_not_uploaded_at_feature_start/version_test_0.1.0/metadata.rb b/features/data/cookbooks_not_uploaded_at_feature_start/version_test_0.1.0/metadata.rb deleted file mode 100644 index 4d461dd3cd..0000000000 --- a/features/data/cookbooks_not_uploaded_at_feature_start/version_test_0.1.0/metadata.rb +++ /dev/null @@ -1,6 +0,0 @@ -name "version_test" -maintainer "Opscode" -maintainer_email "do_not_reply@opscode.com" -license "Apache 2.0" -description "Tests cookbook versioning in environments" -version "0.1.0" diff --git a/features/data/cookbooks_not_uploaded_at_feature_start/version_test_0.1.0/recipes/default.rb b/features/data/cookbooks_not_uploaded_at_feature_start/version_test_0.1.0/recipes/default.rb deleted file mode 100644 index dc2a253959..0000000000 --- a/features/data/cookbooks_not_uploaded_at_feature_start/version_test_0.1.0/recipes/default.rb +++ /dev/null @@ -1,18 +0,0 @@ -# -# Cookbook Name:: template -# Recipe:: default -# -# Copyright 2010, Opscode, Inc. -# -# 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. -# diff --git a/features/data/cookbooks_not_uploaded_at_feature_start/version_test_0.1.1/metadata.json b/features/data/cookbooks_not_uploaded_at_feature_start/version_test_0.1.1/metadata.json deleted file mode 100644 index e472affefd..0000000000 --- a/features/data/cookbooks_not_uploaded_at_feature_start/version_test_0.1.1/metadata.json +++ /dev/null @@ -1,39 +0,0 @@ -{ - "version": "0.1.1", - "suggestions": { - - }, - "conflicting": { - - }, - "license": "Apache 2.0", - "providing": { - - }, - "maintainer": "Opscode", - "replacing": { - - }, - "platforms": { - - }, - "description": "Tests cookbook versioning in environments", - "recipes": { - - }, - "maintainer_email": "do_not_reply@opscode.com", - "name": "version_test", - "groupings": { - - }, - "attributes": { - - }, - "long_description": "", - "recommendations": { - - }, - "dependencies": { - - } -}
\ No newline at end of file diff --git a/features/data/cookbooks_not_uploaded_at_feature_start/version_test_0.1.1/metadata.rb b/features/data/cookbooks_not_uploaded_at_feature_start/version_test_0.1.1/metadata.rb deleted file mode 100644 index 7ac700dcff..0000000000 --- a/features/data/cookbooks_not_uploaded_at_feature_start/version_test_0.1.1/metadata.rb +++ /dev/null @@ -1,6 +0,0 @@ -name "version_test" -maintainer "Opscode" -maintainer_email "do_not_reply@opscode.com" -license "Apache 2.0" -description "Tests cookbook versioning in environments" -version "0.1.1" diff --git a/features/data/cookbooks_not_uploaded_at_feature_start/version_test_0.1.1/recipes/default.rb b/features/data/cookbooks_not_uploaded_at_feature_start/version_test_0.1.1/recipes/default.rb deleted file mode 100644 index dc2a253959..0000000000 --- a/features/data/cookbooks_not_uploaded_at_feature_start/version_test_0.1.1/recipes/default.rb +++ /dev/null @@ -1,18 +0,0 @@ -# -# Cookbook Name:: template -# Recipe:: default -# -# Copyright 2010, Opscode, Inc. -# -# 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. -# diff --git a/features/data/cookbooks_not_uploaded_at_feature_start/version_test_0.10.0/metadata.json b/features/data/cookbooks_not_uploaded_at_feature_start/version_test_0.10.0/metadata.json deleted file mode 100644 index cd048cf9c8..0000000000 --- a/features/data/cookbooks_not_uploaded_at_feature_start/version_test_0.10.0/metadata.json +++ /dev/null @@ -1,39 +0,0 @@ -{ - "version": "0.10.0", - "suggestions": { - - }, - "conflicting": { - - }, - "license": "Apache 2.0", - "providing": { - - }, - "maintainer": "Opscode", - "replacing": { - - }, - "platforms": { - - }, - "description": "Tests cookbook versioning in environments", - "recipes": { - - }, - "maintainer_email": "do_not_reply@opscode.com", - "name": "version_test", - "groupings": { - - }, - "attributes": { - - }, - "long_description": "", - "recommendations": { - - }, - "dependencies": { - - } -}
\ No newline at end of file diff --git a/features/data/cookbooks_not_uploaded_at_feature_start/version_test_0.10.0/metadata.rb b/features/data/cookbooks_not_uploaded_at_feature_start/version_test_0.10.0/metadata.rb deleted file mode 100644 index 8ef67b86f1..0000000000 --- a/features/data/cookbooks_not_uploaded_at_feature_start/version_test_0.10.0/metadata.rb +++ /dev/null @@ -1,6 +0,0 @@ -name "version_test" -maintainer "Opscode" -maintainer_email "do_not_reply@opscode.com" -license "Apache 2.0" -description "Tests cookbook versioning in environments" -version "0.10.0" diff --git a/features/data/cookbooks_not_uploaded_at_feature_start/version_test_0.10.0/recipes/default.rb b/features/data/cookbooks_not_uploaded_at_feature_start/version_test_0.10.0/recipes/default.rb deleted file mode 100644 index dc2a253959..0000000000 --- a/features/data/cookbooks_not_uploaded_at_feature_start/version_test_0.10.0/recipes/default.rb +++ /dev/null @@ -1,18 +0,0 @@ -# -# Cookbook Name:: template -# Recipe:: default -# -# Copyright 2010, Opscode, Inc. -# -# 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. -# diff --git a/features/data/cookbooks_not_uploaded_at_feature_start/version_test_0.2.0/metadata.json b/features/data/cookbooks_not_uploaded_at_feature_start/version_test_0.2.0/metadata.json deleted file mode 100644 index 887a1079cf..0000000000 --- a/features/data/cookbooks_not_uploaded_at_feature_start/version_test_0.2.0/metadata.json +++ /dev/null @@ -1,39 +0,0 @@ -{ - "version": "0.2.0", - "suggestions": { - - }, - "conflicting": { - - }, - "license": "Apache 2.0", - "providing": { - - }, - "maintainer": "Opscode", - "replacing": { - - }, - "platforms": { - - }, - "description": "Tests cookbook versioning in environments", - "recipes": { - - }, - "maintainer_email": "do_not_reply@opscode.com", - "name": "version_test", - "groupings": { - - }, - "attributes": { - - }, - "long_description": "", - "recommendations": { - - }, - "dependencies": { - - } -}
\ No newline at end of file diff --git a/features/data/cookbooks_not_uploaded_at_feature_start/version_test_0.2.0/metadata.rb b/features/data/cookbooks_not_uploaded_at_feature_start/version_test_0.2.0/metadata.rb deleted file mode 100644 index d0ecaaa746..0000000000 --- a/features/data/cookbooks_not_uploaded_at_feature_start/version_test_0.2.0/metadata.rb +++ /dev/null @@ -1,6 +0,0 @@ -name "version_test" -maintainer "Opscode" -maintainer_email "do_not_reply@opscode.com" -license "Apache 2.0" -description "Tests cookbook versioning in environments" -version "0.2.0" diff --git a/features/data/cookbooks_not_uploaded_at_feature_start/version_test_0.2.0/recipes/default.rb b/features/data/cookbooks_not_uploaded_at_feature_start/version_test_0.2.0/recipes/default.rb deleted file mode 100644 index dc2a253959..0000000000 --- a/features/data/cookbooks_not_uploaded_at_feature_start/version_test_0.2.0/recipes/default.rb +++ /dev/null @@ -1,18 +0,0 @@ -# -# Cookbook Name:: template -# Recipe:: default -# -# Copyright 2010, Opscode, Inc. -# -# 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. -# diff --git a/features/data/cookbooks_not_uploaded_at_feature_start/version_test_0.9.0/metadata.json b/features/data/cookbooks_not_uploaded_at_feature_start/version_test_0.9.0/metadata.json deleted file mode 100644 index 3fd425ab36..0000000000 --- a/features/data/cookbooks_not_uploaded_at_feature_start/version_test_0.9.0/metadata.json +++ /dev/null @@ -1,39 +0,0 @@ -{ - "version": "0.9.0", - "suggestions": { - - }, - "conflicting": { - - }, - "license": "Apache 2.0", - "providing": { - - }, - "maintainer": "Opscode", - "replacing": { - - }, - "platforms": { - - }, - "description": "Tests cookbook versioning in environments", - "recipes": { - - }, - "maintainer_email": "do_not_reply@opscode.com", - "name": "version_test", - "groupings": { - - }, - "attributes": { - - }, - "long_description": "", - "recommendations": { - - }, - "dependencies": { - - } -}
\ No newline at end of file diff --git a/features/data/cookbooks_not_uploaded_at_feature_start/version_test_0.9.0/metadata.rb b/features/data/cookbooks_not_uploaded_at_feature_start/version_test_0.9.0/metadata.rb deleted file mode 100644 index f9af3f5faf..0000000000 --- a/features/data/cookbooks_not_uploaded_at_feature_start/version_test_0.9.0/metadata.rb +++ /dev/null @@ -1,6 +0,0 @@ -name "version_test" -maintainer "Opscode" -maintainer_email "do_not_reply@opscode.com" -license "Apache 2.0" -description "Tests cookbook versioning in environments" -version "0.9.0" diff --git a/features/data/cookbooks_not_uploaded_at_feature_start/version_test_0.9.0/recipes/default.rb b/features/data/cookbooks_not_uploaded_at_feature_start/version_test_0.9.0/recipes/default.rb deleted file mode 100644 index dc2a253959..0000000000 --- a/features/data/cookbooks_not_uploaded_at_feature_start/version_test_0.9.0/recipes/default.rb +++ /dev/null @@ -1,18 +0,0 @@ -# -# Cookbook Name:: template -# Recipe:: default -# -# Copyright 2010, Opscode, Inc. -# -# 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. -# diff --git a/features/data/cookbooks_not_uploaded_at_feature_start/version_test_0.9.7/metadata.json b/features/data/cookbooks_not_uploaded_at_feature_start/version_test_0.9.7/metadata.json deleted file mode 100644 index a191fc8fa5..0000000000 --- a/features/data/cookbooks_not_uploaded_at_feature_start/version_test_0.9.7/metadata.json +++ /dev/null @@ -1,39 +0,0 @@ -{ - "version": "0.9.7", - "suggestions": { - - }, - "conflicting": { - - }, - "license": "Apache 2.0", - "providing": { - - }, - "maintainer": "Opscode", - "replacing": { - - }, - "platforms": { - - }, - "description": "Tests cookbook versioning in environments", - "recipes": { - - }, - "maintainer_email": "do_not_reply@opscode.com", - "name": "version_test", - "groupings": { - - }, - "attributes": { - - }, - "long_description": "", - "recommendations": { - - }, - "dependencies": { - - } -}
\ No newline at end of file diff --git a/features/data/cookbooks_not_uploaded_at_feature_start/version_test_0.9.7/metadata.rb b/features/data/cookbooks_not_uploaded_at_feature_start/version_test_0.9.7/metadata.rb deleted file mode 100644 index 2594aff33c..0000000000 --- a/features/data/cookbooks_not_uploaded_at_feature_start/version_test_0.9.7/metadata.rb +++ /dev/null @@ -1,6 +0,0 @@ -name "version_test" -maintainer "Opscode" -maintainer_email "do_not_reply@opscode.com" -license "Apache 2.0" -description "Tests cookbook versioning in environments" -version "0.9.7" diff --git a/features/data/cookbooks_not_uploaded_at_feature_start/version_test_0.9.7/recipes/default.rb b/features/data/cookbooks_not_uploaded_at_feature_start/version_test_0.9.7/recipes/default.rb deleted file mode 100644 index dc2a253959..0000000000 --- a/features/data/cookbooks_not_uploaded_at_feature_start/version_test_0.9.7/recipes/default.rb +++ /dev/null @@ -1,18 +0,0 @@ -# -# Cookbook Name:: template -# Recipe:: default -# -# Copyright 2010, Opscode, Inc. -# -# 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. -# diff --git a/features/data/cookbooks_not_uploaded_at_feature_start/version_updated/attributes/attributes.rb b/features/data/cookbooks_not_uploaded_at_feature_start/version_updated/attributes/attributes.rb deleted file mode 100644 index e34884e2c0..0000000000 --- a/features/data/cookbooks_not_uploaded_at_feature_start/version_updated/attributes/attributes.rb +++ /dev/null @@ -1 +0,0 @@ -attr "attribute value #2" diff --git a/features/data/cookbooks_not_uploaded_at_feature_start/version_updated/metadata.json b/features/data/cookbooks_not_uploaded_at_feature_start/version_updated/metadata.json deleted file mode 100644 index 6a82409f03..0000000000 --- a/features/data/cookbooks_not_uploaded_at_feature_start/version_updated/metadata.json +++ /dev/null @@ -1,38 +0,0 @@ -{ - "license": "Apache 2.0", - "replacing": { - - }, - "dependencies": { - - }, - "long_description": "= DESCRIPTION:\n\n= REQUIREMENTS:\n\n= ATTRIBUTES:\n\n= USAGE:\n\n", - "recipes": { - "default": "" - }, - "groupings": { - - }, - "recommendations": { - - }, - "description": "Description", - "platforms": { - - }, - "maintainer": "Opscode", - "version": "1.2.3", - "suggestions": { - - }, - "maintainer_email": "do_not_reply@opscode.com", - "conflicting": { - - }, - "name": "testcookbook_valid", - "attributes": { - - }, - "providing": { - } -} diff --git a/features/data/cookbooks_not_uploaded_at_feature_start/version_updated/metadata.rb b/features/data/cookbooks_not_uploaded_at_feature_start/version_updated/metadata.rb deleted file mode 100644 index cbdc562407..0000000000 --- a/features/data/cookbooks_not_uploaded_at_feature_start/version_updated/metadata.rb +++ /dev/null @@ -1,6 +0,0 @@ -maintainer "Opscode" -maintainer_email "do_not_reply@opscode.com" -license "Apache 2.0" -description "Description #2" -long_description "Long description #2" -version "2.0.0" diff --git a/features/data/cookbooks_not_uploaded_at_feature_start/version_updated/recipes/default.rb b/features/data/cookbooks_not_uploaded_at_feature_start/version_updated/recipes/default.rb deleted file mode 100644 index c7cfb3ad59..0000000000 --- a/features/data/cookbooks_not_uploaded_at_feature_start/version_updated/recipes/default.rb +++ /dev/null @@ -1,2 +0,0 @@ -# Used for manage_cookbooks.feature -# v0.2.0 diff --git a/features/data/cookbooks_not_uploaded_at_feature_start/versions/metadata.json b/features/data/cookbooks_not_uploaded_at_feature_start/versions/metadata.json deleted file mode 100644 index 480d510268..0000000000 --- a/features/data/cookbooks_not_uploaded_at_feature_start/versions/metadata.json +++ /dev/null @@ -1,38 +0,0 @@ -{ - "license": "Apache 2.0", - "replacing": { - - }, - "dependencies": { - - }, - "long_description": "= DESCRIPTION:\n\n= REQUIREMENTS:\n\n= ATTRIBUTES:\n\n= USAGE:\n\n", - "recipes": { - "default": "" - }, - "groupings": { - - }, - "recommendations": { - - }, - "description": "Description", - "platforms": { - - }, - "maintainer": "Opscode", - "version": "0.2.0", - "suggestions": { - - }, - "maintainer_email": "do_not_reply@opscode.com", - "conflicting": { - - }, - "name": "versions", - "attributes": { - - }, - "providing": { - } -} diff --git a/features/data/cookbooks_not_uploaded_at_feature_start/versions/metadata.rb b/features/data/cookbooks_not_uploaded_at_feature_start/versions/metadata.rb deleted file mode 100644 index 75b51ed4fb..0000000000 --- a/features/data/cookbooks_not_uploaded_at_feature_start/versions/metadata.rb +++ /dev/null @@ -1,5 +0,0 @@ -version "0.2.0" -maintainer "Bobo T. Clown" -maintainer_email "bobo@example.com" -long_description "Can haz versions?" - diff --git a/features/data/cookbooks_not_uploaded_at_feature_start/versions/recipes/default.rb b/features/data/cookbooks_not_uploaded_at_feature_start/versions/recipes/default.rb deleted file mode 100644 index 5ad34db7d6..0000000000 --- a/features/data/cookbooks_not_uploaded_at_feature_start/versions/recipes/default.rb +++ /dev/null @@ -1,5 +0,0 @@ -file "#{node[:tmpdir]}/thundercats_are_go.txt" do - content "2" - action :create -end - diff --git a/features/data/cookbooks_repo_with_bad_metadata_rb/testcookbook_good_metadata_rb/attributes/attributes.rb b/features/data/cookbooks_repo_with_bad_metadata_rb/testcookbook_good_metadata_rb/attributes/attributes.rb deleted file mode 100644 index 2b811a5267..0000000000 --- a/features/data/cookbooks_repo_with_bad_metadata_rb/testcookbook_good_metadata_rb/attributes/attributes.rb +++ /dev/null @@ -1 +0,0 @@ -attr "attribute value" diff --git a/features/data/cookbooks_repo_with_bad_metadata_rb/testcookbook_good_metadata_rb/metadata.rb b/features/data/cookbooks_repo_with_bad_metadata_rb/testcookbook_good_metadata_rb/metadata.rb deleted file mode 100644 index ab0ae34b7e..0000000000 --- a/features/data/cookbooks_repo_with_bad_metadata_rb/testcookbook_good_metadata_rb/metadata.rb +++ /dev/null @@ -1,8 +0,0 @@ -maintainer "Opscode" -maintainer_email "do_not_reply@opscode.com" -license "Apache 2.0" -description "Description" -long_description "Long description" -version "0.1" - - diff --git a/features/data/cookbooks_repo_with_bad_metadata_rb/testcookbook_good_metadata_rb/recipes/default.rb b/features/data/cookbooks_repo_with_bad_metadata_rb/testcookbook_good_metadata_rb/recipes/default.rb deleted file mode 100644 index 72ae379572..0000000000 --- a/features/data/cookbooks_repo_with_bad_metadata_rb/testcookbook_good_metadata_rb/recipes/default.rb +++ /dev/null @@ -1,2 +0,0 @@ -# Used for manage_cookbooks.feature -# v0.1.0 diff --git a/features/data/cookbooks_repo_with_bad_metadata_rb/testcookbook_wrong_metadata_rb/attributes/attributes.rb b/features/data/cookbooks_repo_with_bad_metadata_rb/testcookbook_wrong_metadata_rb/attributes/attributes.rb deleted file mode 100644 index 2b811a5267..0000000000 --- a/features/data/cookbooks_repo_with_bad_metadata_rb/testcookbook_wrong_metadata_rb/attributes/attributes.rb +++ /dev/null @@ -1 +0,0 @@ -attr "attribute value" diff --git a/features/data/cookbooks_repo_with_bad_metadata_rb/testcookbook_wrong_metadata_rb/metadata.rb b/features/data/cookbooks_repo_with_bad_metadata_rb/testcookbook_wrong_metadata_rb/metadata.rb deleted file mode 100644 index 794e09318d..0000000000 --- a/features/data/cookbooks_repo_with_bad_metadata_rb/testcookbook_wrong_metadata_rb/metadata.rb +++ /dev/null @@ -1,8 +0,0 @@ -maintainer "Opscode" -maintainer_email "do_not_reply@opscode.com" -license "Apache 2.0" -description "Description" -long_description "Long description" -version "0.1" - -this_is_incorrect_metadata_rb diff --git a/features/data/cookbooks_repo_with_bad_metadata_rb/testcookbook_wrong_metadata_rb/recipes/default.rb b/features/data/cookbooks_repo_with_bad_metadata_rb/testcookbook_wrong_metadata_rb/recipes/default.rb deleted file mode 100644 index 72ae379572..0000000000 --- a/features/data/cookbooks_repo_with_bad_metadata_rb/testcookbook_wrong_metadata_rb/recipes/default.rb +++ /dev/null @@ -1,2 +0,0 @@ -# Used for manage_cookbooks.feature -# v0.1.0 diff --git a/features/data/gems/Marshal.4.8 b/features/data/gems/Marshal.4.8 Binary files differdeleted file mode 100644 index 3f5b6872f8..0000000000 --- a/features/data/gems/Marshal.4.8 +++ /dev/null diff --git a/features/data/gems/Marshal.4.8.Z b/features/data/gems/Marshal.4.8.Z Binary files differdeleted file mode 100644 index 9ee0ba8aee..0000000000 --- a/features/data/gems/Marshal.4.8.Z +++ /dev/null diff --git a/features/data/gems/gems/chef-integration-test-0.1.0.gem b/features/data/gems/gems/chef-integration-test-0.1.0.gem Binary files differdeleted file mode 100644 index bcf1c77fe2..0000000000 --- a/features/data/gems/gems/chef-integration-test-0.1.0.gem +++ /dev/null diff --git a/features/data/gems/gems/chef-integration-test-0.1.1.gem b/features/data/gems/gems/chef-integration-test-0.1.1.gem Binary files differdeleted file mode 100644 index bd34220285..0000000000 --- a/features/data/gems/gems/chef-integration-test-0.1.1.gem +++ /dev/null diff --git a/features/data/gems/latest_specs.4.8 b/features/data/gems/latest_specs.4.8 Binary files differdeleted file mode 100644 index fe10265d99..0000000000 --- a/features/data/gems/latest_specs.4.8 +++ /dev/null diff --git a/features/data/gems/latest_specs.4.8.gz b/features/data/gems/latest_specs.4.8.gz Binary files differdeleted file mode 100644 index 02d6bcb528..0000000000 --- a/features/data/gems/latest_specs.4.8.gz +++ /dev/null diff --git a/features/data/gems/prerelease_specs.4.8 b/features/data/gems/prerelease_specs.4.8 Binary files differdeleted file mode 100644 index 0ba94359df..0000000000 --- a/features/data/gems/prerelease_specs.4.8 +++ /dev/null diff --git a/features/data/gems/prerelease_specs.4.8.gz b/features/data/gems/prerelease_specs.4.8.gz Binary files differdeleted file mode 100644 index 987b28dbf9..0000000000 --- a/features/data/gems/prerelease_specs.4.8.gz +++ /dev/null diff --git a/features/data/gems/quick/Marshal.4.8/chef-integration-test-0.1.0.gemspec.rz b/features/data/gems/quick/Marshal.4.8/chef-integration-test-0.1.0.gemspec.rz Binary files differdeleted file mode 100644 index 203f9a39b0..0000000000 --- a/features/data/gems/quick/Marshal.4.8/chef-integration-test-0.1.0.gemspec.rz +++ /dev/null diff --git a/features/data/gems/quick/Marshal.4.8/chef-integration-test-0.1.1.gemspec.rz b/features/data/gems/quick/Marshal.4.8/chef-integration-test-0.1.1.gemspec.rz Binary files differdeleted file mode 100644 index 5ef07d576d..0000000000 --- a/features/data/gems/quick/Marshal.4.8/chef-integration-test-0.1.1.gemspec.rz +++ /dev/null diff --git a/features/data/gems/quick/chef-integration-test-0.1.0.gemspec.rz b/features/data/gems/quick/chef-integration-test-0.1.0.gemspec.rz Binary files differdeleted file mode 100644 index abfcc829ae..0000000000 --- a/features/data/gems/quick/chef-integration-test-0.1.0.gemspec.rz +++ /dev/null diff --git a/features/data/gems/quick/chef-integration-test-0.1.1.gemspec.rz b/features/data/gems/quick/chef-integration-test-0.1.1.gemspec.rz Binary files differdeleted file mode 100644 index a02b12f3bd..0000000000 --- a/features/data/gems/quick/chef-integration-test-0.1.1.gemspec.rz +++ /dev/null diff --git a/features/data/gems/quick/index b/features/data/gems/quick/index deleted file mode 100644 index 90931e30e9..0000000000 --- a/features/data/gems/quick/index +++ /dev/null @@ -1,2 +0,0 @@ -chef-integration-test-0.1.0 -chef-integration-test-0.1.1 diff --git a/features/data/gems/quick/index.rz b/features/data/gems/quick/index.rz Binary files differdeleted file mode 100644 index f2d07ee0b8..0000000000 --- a/features/data/gems/quick/index.rz +++ /dev/null diff --git a/features/data/gems/quick/latest_index b/features/data/gems/quick/latest_index deleted file mode 100644 index abea5bbbc1..0000000000 --- a/features/data/gems/quick/latest_index +++ /dev/null @@ -1 +0,0 @@ -chef-integration-test-0.1.1 diff --git a/features/data/gems/quick/latest_index.rz b/features/data/gems/quick/latest_index.rz Binary files differdeleted file mode 100644 index 3bc19aca4a..0000000000 --- a/features/data/gems/quick/latest_index.rz +++ /dev/null diff --git a/features/data/gems/specs.4.8 b/features/data/gems/specs.4.8 Binary files differdeleted file mode 100644 index 97e0f76065..0000000000 --- a/features/data/gems/specs.4.8 +++ /dev/null diff --git a/features/data/gems/specs.4.8.gz b/features/data/gems/specs.4.8.gz Binary files differdeleted file mode 100644 index 64f83a2682..0000000000 --- a/features/data/gems/specs.4.8.gz +++ /dev/null diff --git a/features/data/gems/yaml b/features/data/gems/yaml deleted file mode 100644 index 07fd79149a..0000000000 --- a/features/data/gems/yaml +++ /dev/null @@ -1,122 +0,0 @@ ---- !ruby/object:Gem::SourceIndex -gems: - chef-integration-test-0.1.0: !ruby/object:Gem::Specification - name: chef-integration-test - version: !ruby/object:Gem::Version - prerelease: false - segments: - - 0 - - 1 - - 0 - version: 0.1.0 - platform: ruby - authors: - - Daniel DeLeo - autorequire: - bindir: bin - cert_chain: [] - - date: 2009-10-16 23:00:00 -07:00 - default_executable: - dependencies: [] - - description: A gem that's sole use is it existence; for integration testing chef's gem package support - email: dan@kallistec.com - executables: [] - - extensions: [] - - extra_rdoc_files: [] - - files: [] - - has_rdoc: true - homepage: http://wiki.opscode.com/display/opscode/Contributing - licenses: [] - - post_install_message: - rdoc_options: [] - - require_paths: - - lib - required_ruby_version: !ruby/object:Gem::Requirement - requirements: - - - ">=" - - !ruby/object:Gem::Version - version: "0" - version: - required_rubygems_version: !ruby/object:Gem::Requirement - requirements: - - - ">=" - - !ruby/object:Gem::Version - version: "0" - version: - requirements: [] - - rubyforge_project: - rubygems_version: 1.3.7 - signing_key: - specification_version: 3 - summary: A gem that's sole use is it existence; for integration testing chef's gem package support - test_files: [] - - chef-integration-test-0.1.1: !ruby/object:Gem::Specification - name: chef-integration-test - version: !ruby/object:Gem::Version - prerelease: false - segments: - - 0 - - 1 - - 1 - version: 0.1.1 - platform: ruby - authors: - - Daniel DeLeo - autorequire: - bindir: bin - cert_chain: [] - - date: 2009-10-16 23:00:00 -07:00 - default_executable: - dependencies: [] - - description: A gem that's sole use is it existence; for integration testing chef's gem package support - email: dan@kallistec.com - executables: [] - - extensions: [] - - extra_rdoc_files: [] - - files: [] - - has_rdoc: true - homepage: http://wiki.opscode.com/display/opscode/Contributing - licenses: [] - - post_install_message: - rdoc_options: [] - - require_paths: - - lib - required_ruby_version: !ruby/object:Gem::Requirement - requirements: - - - ">=" - - !ruby/object:Gem::Version - version: "0" - version: - required_rubygems_version: !ruby/object:Gem::Requirement - requirements: - - - ">=" - - !ruby/object:Gem::Version - version: "0" - version: - requirements: [] - - rubyforge_project: - rubygems_version: 1.3.7 - signing_key: - specification_version: 3 - summary: A gem that's sole use is it existence; for integration testing chef's gem package support - test_files: [] - diff --git a/features/data/gems/yaml.Z b/features/data/gems/yaml.Z Binary files differdeleted file mode 100644 index d7adf257e1..0000000000 --- a/features/data/gems/yaml.Z +++ /dev/null diff --git a/features/data/json_attribs/attribute_settings.json b/features/data/json_attribs/attribute_settings.json deleted file mode 100644 index effc4941e8..0000000000 --- a/features/data/json_attribs/attribute_settings.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "attribute_priority_was": "from_json_file" -}
\ No newline at end of file diff --git a/features/data/json_attribs/json_runlist_and_attrs.json b/features/data/json_attribs/json_runlist_and_attrs.json deleted file mode 100644 index 52d5eec123..0000000000 --- a/features/data/json_attribs/json_runlist_and_attrs.json +++ /dev/null @@ -1,4 +0,0 @@ -{ - "attribute_priority_was": "from_json_file", - "run_list": ["recipe[integration_setup]","recipe[no_attributes::default]"] -}
\ No newline at end of file diff --git a/features/data/myapp.bundle b/features/data/myapp.bundle Binary files differdeleted file mode 100644 index 5416cc8aec..0000000000 --- a/features/data/myapp.bundle +++ /dev/null diff --git a/features/data/node-load-test.rb b/features/data/node-load-test.rb deleted file mode 100755 index db2f56a30d..0000000000 --- a/features/data/node-load-test.rb +++ /dev/null @@ -1,84 +0,0 @@ -#!/usr/bin/ruby -# -# A simple load test - -$: << File.join(File.dirname(__FILE__), "..", "..", "chef", "lib") -$: << File.join(File.dirname(__FILE__), "..", "..", "chef-solr", "lib") - -require 'chef' -require 'chef/client' -require 'tmpdir' - -unless ARGV[0] && ARGV[1] && ARGV[2] - puts "USAGE: ./node-load-test.rb [nodes] [interval] [splay] (json_attribs)" - exit 10 -end - -Chef::Config.from_file("/etc/chef/client.rb") -json_attrs = Hash.new -if ARGV[3] - json_attrs = Chef::JSONCompat.from_json(IO.read(ARGV[3])) -end -Chef::Log.level = :info -processes = Array.new -STDOUT.sync = true -STDERR.sync = true - -Kernel.srand - -0.upto(ARGV[0].to_i) do |i| - cid = Process.fork - if cid - puts "Spawned #{cid}" - processes << cid - else - dir = File.join(Dir.tmpdir, "chef-#{i.to_s}") - Dir.mkdir(dir) unless File.exists?(dir) - Chef::Config[:file_store_path] = File.join(dir, "file_store") - Chef::Config[:file_cache_path] = File.join(dir, "cache") - Chef::Config[:client_key] = File.join(dir, "client.pem") - Chef::Config[:splay] = ARGV[2] - Chef::Config[:interval] = ARGV[1] - Chef::Config[:log_location] = File.join(dir, "client.log") - Chef::Config[:node_name] = "test#{i}" - Chef::Log.info("Starting test#{i}") - loop do - begin - c = Chef::Client.new - c.node_name = "test#{i}" - c.safe_name = "test#{i}" - c.json_attribs = json_attrs - c.run - - Chef::Log.info("Child #{i} is finished") - Chef::Log.info("Sleeping for #{Chef::Config[:interval]} interval seconds") - sleep Chef::Config[:interval].to_i - - splay = rand Chef::Config[:splay].to_i - Chef::Log.info("Splay sleep #{splay} seconds") - sleep splay - rescue - Chef::Log.info("Child #{i} died!") - Chef::Log.info("Sleeping for #{Chef::Config[:interval]} interval seconds") - sleep Chef::Config[:interval].to_i - retry - end - end - puts "Child #{i} is exiting!" - exit 0 - end -end - -Signal.trap("INT") do - processes.each do |pid| - Process.kill("INT", pid) - end - Process.waitall - puts "Killed all children - Exiting!" - exit 0 -end - -while(true) do - sleep 1 -end - diff --git a/features/data/node-simple.rb b/features/data/node-simple.rb deleted file mode 100755 index 5c9d7ac886..0000000000 --- a/features/data/node-simple.rb +++ /dev/null @@ -1,18 +0,0 @@ -#!/usr/bin/ruby -# -# A simple load test - -$: << File.join(File.dirname(__FILE__), "..", "..", "chef", "lib") -$: << File.join(File.dirname(__FILE__), "..", "..", "chef-solr", "lib") - -require 'chef' -require 'chef/client' - -client = Chef::Client.new -client.run_ohai -301.upto(1000) do |i| - client.node = nil - client.build_node("node#{i}", true) - puts "node#{i}" - client.node.cdb_save -end diff --git a/features/data/search-tests/do_knife_search_test.rb b/features/data/search-tests/do_knife_search_test.rb deleted file mode 100755 index f5f12b889c..0000000000 --- a/features/data/search-tests/do_knife_search_test.rb +++ /dev/null @@ -1,175 +0,0 @@ -#!/usr/bin/env ruby - -# node name -# chef config secret -# mixin recipe definition DSL core or chef mixin language -# OR -# Chef::Rest ob - -require 'uri' - -ALL_TESTS = [] - -class QueryTest - include Chef::Mixin::Language - - attr_reader :type, :query, :expected - - def initialize(type, query, expected) - @type = type - @query = query - @expected = Set.new(expected) - end - - def same_type?(q) - (@type.class == String && q.type.class == String) || - (@type == q.type) - end - - def and(q) - raise "types must match" unless same_type? q - QueryTest.new(@type, "(#{@query} AND #{q.query})", - @expected.intersection(q.expected)) - end - - def or(q) - raise "types must match" unless same_type? q - QueryTest.new(@type, "(#{@query} OR #{q.query})", - @expected.union(q.expected)) - end - - def show(s) - s.to_a.join(", ") - end - - def compare_results(results) - got = Set.new(results) - if @expected != got - puts "FAIL: #{@type} #{@query}" - puts "expected: #{show(@expected)}" - puts " got: #{show(got)}" - raise "search test failed" - else - puts "OK: (#{@expected.size}) #{@type} #{@query}" - end - true - end - - def execute - compare_results search(@type, @query).map { |o| o.name } - rescue Exception => e - puts "ERROR: query failed for #{@query}" - raise e - end -end - -def query(obj_type, query_string, expected_result) - q = QueryTest.new(obj_type, query_string, expected_result) - #q.execute - ALL_TESTS << q - q -end - -def random_bool_query(queries, n) - q_count = queries.size - ops = [:and, :or] - ans = queries[rand(q_count)] - n.times do |i| - ans = ans.send(ops[rand(2)], queries[rand(q_count)]) - end - ans.execute -end - -# Exact searches: -query :node, "tag:apples", ["a"] -query :node, "tag:apes", ["b", "c"] -query :node, "tag:not_a_tag_value", [] -query :node, 'run_list:recipe\[bravo\]', ["ab", "b"] -query :node, 'run_list:recipe\[zulu\]', [] -query :node, 'run_list:recipe\[alpha\]', ["a", "ab"] - -# data bag item searching -query "toys", 'colors:green', ["data_bag_item_toys_marbles"] -query "toys", 'colors:white', ["data_bag_item_toys_marbles"] -query "fruit", 'names:lemon', ["data_bag_item_fruit_citrus"] -query "toys", 'baseballs:4 OR colors:black', ["data_bag_item_toys_marbles", - "data_bag_item_toys_balls"] - -# basic client list search -# query :client, '*:*', ['ac', 'bc', 'cc'] - -# role search -query :role, 'name:pro*', ['prod'] -query :role, 'run_list:recipe\[base\]', ['prod', 'web'] -query :role, 'run_list:role\[monitoring\]', ['prod'] -query :role, 'key:456', ['web'] -query :role, 'key:[1 TO 5000]', ['web', 'prod'] - -# Negation: -query :node, '(run_list:recipe\[bravo\] NOT run_list:recipe\[alpha\])', ["b"] -query :node, "(tag:ap* NOT tag:apples)", ["b", "c"] - -# Prefix searches: - -query :node, "tag:a*", ["a", "ab", "b", "c"] -query :node, "tag:app*", ["a"] -query :node, "tag:ap*", ["a", "b", "c"] -query :node, "tag:zulu*", [] - - -# Range searches: - -query :node, 'value:[* TO *]', ["a", "b", "c"] -query :node, 'value:[1 TO 2]', ['a', 'b'] -query :node, 'value:[1 TO 3]', ['a', 'b', 'c'] -query :node, 'value:[2 TO *]', ['b', 'c'] -query :node, 'value:[* TO 2]', ['a', 'b'] -query :node, 'value:[* TO 5]', ['a', 'b', 'c'] -query :node, 'value:[5 TO *]', [] -# exclusive range -query :node, 'value:{1 TO 3}', ['b'] -# more negation tests -query :node, '(value:[1 TO 3] NOT value:[1 TO 2])', ['c'] - -# Quotes -query :node, 'multi_word:"foo bar baz"', ['a'] -query :node, 'multi_word:foo*', ['a', 'c'] - -# internal escaped quotes don't work, but prefix query for an escaped -# quote does -# query :node, 'quotes:"\"one\" \"two\" \"three\""', ['ab'] -# query :node, 'quotes:\"one\"*', ['ab'] -query :node, 'quotes:\"*', ['ab'] - -# nested keys -query :node, 'nested_b1_a2_a3:B1_A2_A3-a', ['a'] -query :node, 'nested_b1_a2_a3:B1_A2_A3-b', ['b'] -query :node, 'nested_b1_a2_a3:B1_A2_A3-c', ['c'] -query :node, 'nested_a1_b2_a3:A1_B2_A3-*', ['a', 'b', 'c'] - -# # nested expando (only w/ new stuff) -if Chef::Config["wildcard_in_key_tests"] - query :node, 'nested_b1_*_a3:B1_A2_A3-a', ['a'] - query :node, 'nested_b1_a2_*:B1_A2_A3-b', ['b'] - query :node, 'nested_b1_a2_a3:B1_A2_A3-c', ['c'] - query :node, 'nested_*_b2_a3:A1_B2_A3-*', ['a', 'b', 'c'] -end - - -ALL_TESTS.each do |q| - q.execute -end - -node_tests = ALL_TESTS.select { |x| x.type == :node } -role_tests = ALL_TESTS.select { |x| x.type == :role } -data_bag_tests = ALL_TESTS.select { |x| x.type.class == String } - -# AND/OR precedence -[node_tests, role_tests].each do |test_list| - 10.times do |i| - random_bool_query(test_list, 2) - random_bool_query(test_list, 3) - random_bool_query(test_list, 4) - end -end - diff --git a/features/data/search-tests/search-test-nodes.rb b/features/data/search-tests/search-test-nodes.rb deleted file mode 100644 index 653ce58400..0000000000 --- a/features/data/search-tests/search-test-nodes.rb +++ /dev/null @@ -1,174 +0,0 @@ -example_nodes = { - 'a' => Proc.new do - n = Chef::Node.new - n.name 'a' - n.run_list << "alpha" - n.tag "apples" - n.nested({:a1 => { - :a2 => {:a3 => "A1_A2_A3-a"}, - :b2 => {:a3 => "A1_B2_A3-a"} - }, - :b1 => { - :a2 => {:a3 => "B1_A2_A3-a"}, - :b2 => {:a3 => "B1_B2_A3-a"} - } - }) - n.value 1 - n.multi_word "foo bar baz" - n - end, - - 'b' => Proc.new do - n = Chef::Node.new - n.name 'b' - n.run_list << "bravo" - n.tag "apes" - n.nested({:a1 => { - :a2 => {:a3 => "A1_A2_A3-b"}, - :b2 => {:a3 => "A1_B2_A3-b"} - }, - :b1 => { - :a2 => {:a3 => "B1_A2_A3-b"}, - :b2 => {:a3 => "B1_B2_A3-b"} - } - }) - n.value 2 - n.multi_word "bar" - n - end, - - 'ab' => Proc.new do - n = Chef::Node.new - n.name 'ab' - n.run_list << "alpha" - n.run_list << "bravo" - n.tag "ack" - n.multi_word "bar foo" - n.quotes "\"one\" \"two\" \"three\"" - n - end, - - 'c' => Proc.new do - n = Chef::Node.new - n.name 'c' - n.run_list << "charlie" - n.tag "apes" - n.nested({:a1 => { - :a2 => {:a3 => "A1_A2_A3-c"}, - :b2 => {:a3 => "A1_B2_A3-c"} - }, - :b1 => { - :a2 => {:a3 => "B1_A2_A3-c"}, - :b2 => {:a3 => "B1_B2_A3-c"} - } - }) - n.value 3 - n.multi_word "foo" - n - end -} - -example_data_bags = { - 'toys' => Proc.new do - items = [] - bag = Chef::DataBag.new - bag.name "toys" - bag.save rescue nil - item = Chef::DataBagItem.new - item_data = { - "id" => "marbles", - "colors" => ["black", "white", "green", "red", "blue"] - } - item.data_bag "toys" - item.raw_data = item_data - item.save - items << item - - item = Chef::DataBagItem.new - item_data = { - "id" => "balls", - "baseballs" => 4, - "soccerballs" => 2, - "footballs" => 1 - } - item.data_bag "toys" - item.raw_data = item_data - item.save - items << item - items - end, - - 'fruit' => Proc.new do - items = [] - bag = Chef::DataBag.new - bag.name "fruit" - bag.save rescue nil - item = Chef::DataBagItem.new - item_data = { - "id" => "citrus", - "names" => ["orange", "lemon", "lime"] - } - item.data_bag "fruit" - item.raw_data = item_data - item.save - items << item - - item = Chef::DataBagItem.new - item_data = { - "id" => "tropical", - "names" => ["banana", "papaya", "mango"] - } - item.data_bag "fruit" - item.raw_data = item_data - item.save - items << item - items - end -} - -example_roles = { - 'prod' => - Proc.new do - r = Chef::Role.new - r.name "prod" - r.run_list << "base" - r.run_list << "role[monitoring]" - r.default_attributes["key"] = 123 - r.save - r - end, - 'web' => - Proc.new do - r = Chef::Role.new - r.name "web" - r.run_list << "base" - r.run_list << "nginx" - r.default_attributes["key"] = 456 - r.save - r - end - -} - -example_nodes.each do |name, nproc| - n = nproc.call - n.save - puts "saved node: #{name}" -end - -example_data_bags.each do |name, nproc| - items = nproc.call - puts "saved #{items.size} data bag items" -end - -%w(ac ab cc).each do |client_name| - client = Chef::ApiClient.new - client.name client_name - client.save - puts "saved client: #{client.name}" -end - -example_roles.each do |name, r| - a_role = r.call - puts "saved role: #{a_role.name}" -end diff --git a/features/data/test_git_repo.tar.gz b/features/data/test_git_repo.tar.gz Binary files differdeleted file mode 100644 index 8c34c11c10..0000000000 --- a/features/data/test_git_repo.tar.gz +++ /dev/null |