Switch ensure style for packages

This commit is contained in:
Kienan Stewart 2018-06-17 11:28:35 -04:00
parent c30e659ac3
commit 010ef08593
1 changed files with 2 additions and 2 deletions

View File

@ -52,7 +52,7 @@ class aegir::hostmaster (
ensure_packages( ensure_packages(
concat(['nginx'], $php), concat(['nginx'], $php),
{ {
'ensure' => 'present', 'ensure' => present,
'before' => Package['aegir'], 'before' => Package['aegir'],
} }
) )
@ -63,7 +63,7 @@ class aegir::hostmaster (
# Note: this may fail for some versions of Aegir: # Note: this may fail for some versions of Aegir:
# @see https://www.drupal.org/project/provision/issues/2979947 # @see https://www.drupal.org/project/provision/issues/2979947
package { 'aegir': package { 'aegir':
ensure => 'installed', ensure => present,
name => $package_name, name => $package_name,
responsefile => '/etc/dpkg/aegir.response', responsefile => '/etc/dpkg/aegir.response',
require => File['/var/lib/dpkg/aegir.response'], require => File['/var/lib/dpkg/aegir.response'],