From 91b068cad4cb16961563d25db2d204167a2f9edd Mon Sep 17 00:00:00 2001 From: Ashley Penney Date: Wed, 16 Oct 2013 11:42:35 -0400 Subject: [PATCH] Fix description for PE3.1 In PE3.1 it parses the comment #Deprecated at the top of the parameters as if it's the class description. Move this so PE3.1 doesn't falsely claim mysql::server is now deprecated. --- manifests/server.pp | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/manifests/server.pp b/manifests/server.pp index 83761c6..a5d780d 100644 --- a/manifests/server.pp +++ b/manifests/server.pp @@ -1,9 +1,5 @@ # Class: mysql::server: See README.md for documentation. class mysql::server ( - #Deprecated. - $enabled = undef, - $manage_service = undef, - # $config_file = $mysql::params::config_file, $manage_config_file = $mysql::params::manage_config_file, $old_root_password = $mysql::params::old_root_password, @@ -18,7 +14,10 @@ class mysql::server ( $service_enabled = $mysql::params::server_service_enabled, $service_manage = $mysql::params::server_service_manage, $service_name = $mysql::params::server_service_name, - $service_provider = $mysql::params::server_service_provider + $service_provider = $mysql::params::server_service_provider, + # Deprecated parameters + $enabled = undef, + $manage_service = undef ) inherits mysql::params { # Deprecated parameters.