Skip to content

Commit afbcb0b

Browse files
committed
Allow ark to pull from http and files ending in .gz. Closes sous-chefs#172
1 parent 7889021 commit afbcb0b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

resources/ark.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
:owner,
3131
:url
3232

33-
attribute :url, :regex => /^(file|https?):\/\/.*(tar.gz|tgz|bin|zip)$/, :default => nil
33+
attribute :url, :regex => /^(file|http|https?):\/\/.*(gz|tar.gz|tgz|bin|zip)$/, :default => nil
3434
attribute :mirrorlist, :kind_of => Array, :default => nil
3535
attribute :checksum, :regex => /^[0-9a-f]{32}$|^[a-zA-Z0-9]{40,64}$/, :default => nil
3636
attribute :md5, :regex => /^[0-9a-f]{32}$|^[a-zA-Z0-9]{40,64}$/, :default => nil

0 commit comments

Comments
 (0)