dust-deploy 0.13.15 → 0.13.16

Sign up to get free protection for your applications and to get access to all the features.
data/changelog.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Changelog
2
2
  =============
3
3
 
4
+ 0.13.16
5
+ ------------
6
+
7
+ - nginx also supports mulitple packages now
8
+
9
+ recipes:
10
+ nginx:
11
+ package: [ nginx-extras, php-fpm ]
12
+
13
+
4
14
  0.13.15
5
15
  ------------
6
16
 
@@ -4,8 +4,9 @@ class Nginx < Recipe
4
4
  # default package to install
5
5
  @config['package'] ||= 'nginx'
6
6
 
7
- # abort if nginx cannot be installed
8
- return unless @node.install_package(@config['package'])
7
+ @config['package'].to_array.each do |package|
8
+ return unless @node.install_package(package)
9
+ end
9
10
 
10
11
  @node.deploy_file("#{@template_path}/nginx.conf", '/etc/nginx/nginx.conf', :binding => binding)
11
12
 
data/lib/dust/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Dust
2
- VERSION = "0.13.15"
2
+ VERSION = "0.13.16"
3
3
  end
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 13
8
- - 15
9
- version: 0.13.15
8
+ - 16
9
+ version: 0.13.16
10
10
  platform: ruby
11
11
  authors:
12
12
  - kris kechagia