From 838396ad91c73335234aaf964192e41b136e5e43 Mon Sep 17 00:00:00 2001 From: Allen Goodman Date: Tue, 12 Nov 2013 11:09:31 -0800 Subject: [PATCH] Expose LWRP state attributes (`state_attrs`) --- resources/ark.rb | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/resources/ark.rb b/resources/ark.rb index 0318aa2d..9b3357e4 100644 --- a/resources/ark.rb +++ b/resources/ark.rb @@ -19,6 +19,16 @@ actions :install, :remove +state_attrs :alternatives_priority, + :app_home, + :app_home_mode, + :bin_cmds, + :checksum, + :default, + :mirrorlist, + :owner, + :url + attribute :url, :regex => /^(file|https?):\/\/.*(tar.gz|tgz|bin|zip)$/, :default => nil attribute :mirrorlist, :kind_of => Array, :default => nil attribute :checksum, :regex => /^[a-zA-Z0-9]{40,64}$/, :default => nil