diff options
author | Bryan McLellan <btm@opscode.com> | 2013-04-18 08:57:13 -0700 |
---|---|---|
committer | Bryan McLellan <btm@opscode.com> | 2013-04-18 08:57:13 -0700 |
commit | 856ff7c66ad2e3b7708fe473aa66eb9b271839ef (patch) | |
tree | 838a3a2984e3b78a98fc1cb1258fecc0492f527c | |
parent | 3cbb41c4f038e7ee93c2efd08544235ec5ae9ea1 (diff) | |
parent | abf52b154db3a73cf20665d2238c88b112580152 (diff) | |
download | chef-856ff7c66ad2e3b7708fe473aa66eb9b271839ef.tar.gz |
Merge branch 'CHEF-3348'
-rw-r--r-- | lib/chef/knife/cookbook_create.rb | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/lib/chef/knife/cookbook_create.rb b/lib/chef/knife/cookbook_create.rb index 1e6797e4e3..4e6b8d0c1f 100644 --- a/lib/chef/knife/cookbook_create.rb +++ b/lib/chef/knife/cookbook_create.rb @@ -185,13 +185,14 @@ EOH unless File.exists?(File.join(dir,cookbook_name,'CHANGELOG.md')) open(File.join(dir, cookbook_name, 'CHANGELOG.md'),'w') do |file| file.puts <<-EOH -# CHANGELOG for #{cookbook_name} +#{cookbook_name} CHANGELOG +#{'='*"#{cookbook_name} CHANGELOG".length} -This file is used to list changes made in each version of #{cookbook_name}. +This file is used to list changes made in each version of the #{cookbook_name} cookbook. -## 0.1.0: - -* Initial release of #{cookbook_name} +0.1.0 +----- +- [your_name] - Initial release of #{cookbook_name} - - - Check the [Markdown Syntax Guide](http://daringfireball.net/projects/markdown/syntax) for help with Markdown. |