diff options
Diffstat (limited to 'lib/chef/knife/cookbook_create.rb')
-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. |