From bda3d42becb7b61fcc58145397822708ebaaeeee Mon Sep 17 00:00:00 2001 From: vgolubev Date: Mon, 20 Apr 2015 14:55:10 +0200 Subject: [PATCH] Allow to configure releases and shared folder names via resource attributes --- resources/deploy.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/resources/deploy.rb b/resources/deploy.rb index f2f37c4..4f04f52 100644 --- a/resources/deploy.rb +++ b/resources/deploy.rb @@ -29,8 +29,8 @@ attribute :artifact_location, :kind_of => String attribute :artifact_checksum, :kind_of => String attribute :deploy_to, :kind_of => String, :required => true -attribute :shared_name, :kind_of => String, default => 'shared' -attribute :releases_name, :kind_of => String, default => 'releases' +attribute :shared_name, :kind_of => String, :default => 'shared' +attribute :releases_name, :kind_of => String, :default => 'releases' attribute :download_retries, :kind_of => Integer, :default => 1 attribute :version, :kind_of => String, :required => true attribute :owner, :kind_of => String, :required => true, :regex => Chef::Config[:user_valid_regex]