Skip to content

Commit

Permalink
Merge pull request #97 from goodmanio/master
Browse files Browse the repository at this point in the history
Expose LWRP state attributes (`state_attrs`)
  • Loading branch information
carmstrong committed Dec 18, 2013
2 parents 616999d + 838396a commit f5ab2bd
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions resources/ark.rb
Expand Up @@ -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
Expand Down

0 comments on commit f5ab2bd

Please sign in to comment.