Browse Source

[COOK-1820] - remove deprecations from metadata

jtimberman 7 years ago
parent
commit
a5106f6b2e
2 changed files with 20 additions and 16 deletions
  1. 1 16
      metadata.rb
  2. 19 0
      recipes/default.rb

+ 1 - 16
metadata.rb

@@ -5,19 +5,4 @@ license          "Apache 2.0"
 description      "Deploys and configures a variety of applications"
 long_description  IO.read(File.join(File.dirname(__FILE__), 'README.md'))
 version          "1.0.4"
-recipe           "application", "Loads application databags and selects recipes to use"
-recipe           "application::django", "Deploys a Django application specified in a data bag with the deploy_revision resource"
-recipe           "application::gunicorn", "Sets up the deployed Django application with Gunicorn as the web server"
-recipe           "application::java_webapp", "Deploys a Java web application WAR specified in a data bag with the remote_file resource"
-recipe           "application::mod_php_apache2", "Sets up a deployed PHP application as a mod_php virtual host in Apache2"
-recipe           "application::passenger_apache2", "Sets up a deployed Rails application as a Passenger virtual host in Apache2"
-recipe           "application::php", "Deploys a PHP application specified in a data bag with the deploy_revision resource"
-recipe           "application::rails", "Deploys a Rails application specified in a data bag with the deploy_revision resource"
-recipe           "application::tomcat", "Sets up the deployed Java application with Tomcat as the servlet container"
-recipe           "application::unicorn", "Sets up the deployed Rails application with Unicorn as the web server"
-
-%w{ runit unicorn apache2 passenger_apache2 tomcat python gunicorn php }.each do |cb|
-  depends cb
-end
-
-depends "python", ">= 1.0.6"
+recipe           "application", "Empty placeholder recipe, use the LWRPs, see README.md."

+ 19 - 0
recipes/default.rb

@@ -0,0 +1,19 @@
+#
+# Cookbook Name:: application
+# Recipe:: default
+#
+# Copyright:: 2012, Opscode, Inc <legal@opscode.com>
+#
+# 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.
+#
+# Empty placeholder recipe, use the LWRPs, see README.md.