浏览代码

rename parameter "root" to "app_root"

Guilhem Lettron 11 年之前
父节点
当前提交
648a99aa0e
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      resources/default.rb

+ 1 - 1
resources/default.rb

@@ -33,7 +33,7 @@ actions :deploy, :force_deploy
 attribute :name, :kind_of => String, :name_attribute => true
 attribute :environment_name, :kind_of => String, :default => (node.chef_environment =~ /_default/ ? "production" : node.chef_environment)
 attribute :path, :kind_of => String
-attribute :root, :kind_of => String, :default => "/"
+attribute :app_root, :kind_of => String, :default => "/"
 attribute :owner, :kind_of => String
 attribute :group, :kind_of => String
 attribute :strategy, :kind_of => [String, Symbol], :default => :deploy_revision