Skip to content
This repository was archived by the owner on Jan 10, 2023. It is now read-only.

Commit 2064490

Browse files
committed
Merge pull request #59 from bflad/metadata_dependencies
Split metadata supports/depends, lock mysql ~> 5.0, fixes #55
2 parents 91ba364 + 366fb90 commit 2064490

File tree

1 file changed

+15
-6
lines changed

1 file changed

+15
-6
lines changed

metadata.rb

Lines changed: 15 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,19 @@
1515
recipe 'stash::service_init', 'Installs/configures Stash init service'
1616
recipe 'stash::tomcat_configuration', "Configures Stash's built-in Tomcat"
1717

18-
%w(amazon centos redhat scientific ubuntu).each do |os|
19-
supports os
20-
end
18+
supports 'amazon'
19+
supports 'centos'
20+
supports 'redhat'
21+
supports 'scientific'
22+
supports 'ubuntu'
2123

22-
%w(apache2 ark cron database git java mysql mysql_connector perl postgresql).each do |cb|
23-
depends cb
24-
end
24+
depends 'apache2'
25+
depends 'ark'
26+
depends 'cron'
27+
depends 'database'
28+
depends 'git'
29+
depends 'java'
30+
depends 'mysql', '~> 5.0'
31+
depends 'mysql_connector'
32+
depends 'perl'
33+
depends 'postgresql'

0 commit comments

Comments
 (0)