diff options
author | Bryan McLellan <btm@opscode.com> | 2013-05-23 08:42:55 -0700 |
---|---|---|
committer | Bryan McLellan <btm@opscode.com> | 2013-05-23 08:42:55 -0700 |
commit | c9f21f2ae307a7956d3a3b8777a52658e246d6b2 (patch) | |
tree | fde9853bd33d5e9d465f9ccfc30a09dd0f4dbadc /lib/chef/knife/cookbook_create.rb | |
parent | 84eb717b974d23f02fc677ed642fc00ee98bde62 (diff) | |
parent | 664ee74decc3b069269b4f079a3e7a86613b0af1 (diff) | |
download | chef-c9f21f2ae307a7956d3a3b8777a52658e246d6b2.tar.gz |
Merge branch 'master' into 11-stable
CHEF-1707
CHEF-2467
CHEF-2694
CHEF-3348
CHEF-3364
CHEF-3367
CHEF-3386
CHEF-3432
CHEF-3452
CHEF-3516
CHEF-3615
CHEF-3683
CHEF-3735
CHEF-3772
CHEF-3803
CHEF-3804
CHEF-3819
CHEF-3847
CHEF-3858
CHEF-3872
CHEF-3895
CHEF-3919
CHEF-3920
CHEF-3932
CHEF-3937
CHEF-3938
CHEF-3963
CHEF-3967
CHEF-3987
CHEF-4010
CHEF-4011
CHEF-4065
CHEF-4106
CHEF-4117
CHEF-4118
CHEF-4123
CHEF-4157
CHEF-4176
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. |