]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/apache/resources/site.rb
Fix new cookstyle warnings
[chef.git] / cookbooks / apache / resources / site.rb
index d5b67b45a280150ea809a5a749f08eb202641b27..f1016927cdd0f09d37a2726c9a8ba2374daad975 100644 (file)
@@ -1,8 +1,8 @@
 #
-# Cookbook Name:: apache
+# Cookbook:: apache
 # Resource:: apache_site
 #
-# Copyright 2013, OpenStreetMap Foundation
+# Copyright:: 2013, OpenStreetMap Foundation
 #
 # Licensed under the Apache License, Version 2.0 (the "License");
 # you may not use this file except in compliance with the License.
@@ -19,7 +19,7 @@
 
 default_action [:create, :enable]
 
-property :site, :kind_of => String, :name_attribute => true
+property :site, :kind_of => String, :name_property => true
 property :directory, :kind_of => String
 property :cookbook, :kind_of => String
 property :template, :kind_of => String, :required => true