From 3ffecf0a75e0c0bfcb5e878af1f05bb360dd649e Mon Sep 17 00:00:00 2001 From: Kartik Null Cating-Subramanian Date: Fri, 7 Aug 2015 13:31:51 -0400 Subject: Downcase module_path_name by default --- chef-config/lib/chef-config/package_task.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'chef-config') diff --git a/chef-config/lib/chef-config/package_task.rb b/chef-config/lib/chef-config/package_task.rb index 1073747a40..ab9bdaf0f5 100644 --- a/chef-config/lib/chef-config/package_task.rb +++ b/chef-config/lib/chef-config/package_task.rb @@ -40,10 +40,11 @@ module ChefConfig # This is the module name as it appears on the path "lib/module/". # e.g. for module_name "ChefDK", you'd want module_path_name to be "chef-dk". + # The default is module_name but lower-cased. attr_writer :module_path_name def module_path_name - @module_path_name || module_name + @module_path_name || module_name.downcase end # Path to a VERSION file with a single string that contains the package version. -- cgit v1.2.1