Browse Source

Add deprecation warnings to recipes.

Andrea Campi 12 years ago
parent
commit
f4a82a6c7d

+ 2 - 0
recipes/django.rb

@@ -17,6 +17,8 @@
 # limitations under the License.
 #
 
+Chef::Log.warn "The application::django recipe is deprecated and will go away on Aug 1st. See the README for migration information."
+
 app = node.run_state[:current_app]
 
 include_recipe "python"

+ 2 - 0
recipes/gunicorn.rb

@@ -17,6 +17,8 @@
 # limitations under the License.
 #
 
+Chef::Log.warn "The application::gunicorn recipe is deprecated and will go away on Aug 1st. See the README for migration information."
+
 app = node.run_state[:current_app] 
 
 ve = resources(:python_virtualenv => app['id'])

+ 2 - 0
recipes/java_webapp.rb

@@ -17,6 +17,8 @@
 # limitations under the License.
 #
 
+Chef::Log.warn "The application::java_webapp recipe is deprecated and will go away on Aug 1st. See the README for migration information."
+
 app = node.run_state[:current_app]
 
 ###

+ 2 - 0
recipes/mod_php_apache2.rb

@@ -17,6 +17,8 @@
 # limitations under the License.
 #
 
+Chef::Log.warn "The application::mod_php_apache2 recipe is deprecated and will go away on Aug 1st. See the README for migration information."
+
 app = node.run_state[:current_app]
 
 node.default['apache']['listen_ports'] = [ "8080" ]

+ 2 - 0
recipes/passenger_apache2.rb

@@ -17,6 +17,8 @@
 # limitations under the License.
 #
 
+Chef::Log.warn "The application::passenger_apache2 recipe is deprecated and will go away on Aug 1st. See the README for migration information."
+
 app = node.run_state[:current_app] 
 
 include_recipe "apache2"

+ 2 - 0
recipes/php.rb

@@ -17,6 +17,8 @@
 # limitations under the License.
 #
 
+Chef::Log.warn "The application::php recipe is deprecated and will go away on Aug 1st. See the README for migration information."
+
 app = node.run_state[:current_app]
 
 include_recipe "php"

+ 2 - 0
recipes/rails.rb

@@ -17,6 +17,8 @@
 # limitations under the License.
 #
 
+Chef::Log.warn "The application::rails recipe is deprecated and will go away on Aug 1st. See the README for migration information."
+
 app = node.run_state[:current_app]
 
 # make the _default chef_environment look like the Rails production environment

+ 2 - 0
recipes/tomcat.rb

@@ -17,6 +17,8 @@
 # limitations under the License.
 #
 
+Chef::Log.warn "The application::tomcat recipe is deprecated and will go away on Aug 1st. See the README for migration information."
+
 app = node.run_state[:current_app]
 
 include_recipe "tomcat"

+ 2 - 0
recipes/unicorn.rb

@@ -17,6 +17,8 @@
 # limitations under the License.
 #
 
+Chef::Log.warn "The application::unicorn recipe is deprecated and will go away on Aug 1st. See the README for migration information."
+
 app = node.run_state[:current_app] 
 
 include_recipe "unicorn"