diff --git a/.vagrant-puppet/modules/apache/manifests/init.pp b/.vagrant-puppet/modules/apache/manifests/init.pp index 917c7578f..b3465757f 100644 --- a/.vagrant-puppet/modules/apache/manifests/init.pp +++ b/.vagrant-puppet/modules/apache/manifests/init.pp @@ -24,7 +24,7 @@ class apache { } package { $apache: - ensure => installed, + ensure => latest, alias => 'apache', } diff --git a/.vagrant-puppet/modules/gcc/manifests/init.pp b/.vagrant-puppet/modules/gcc/manifests/init.pp index 63ab314e6..f11538e2d 100644 --- a/.vagrant-puppet/modules/gcc/manifests/init.pp +++ b/.vagrant-puppet/modules/gcc/manifests/init.pp @@ -8,6 +8,6 @@ # class gcc { package { 'gcc': - ensure => installed, + ensure => latest, } } diff --git a/.vagrant-puppet/modules/git/manifests/init.pp b/.vagrant-puppet/modules/git/manifests/init.pp index 08cb8635c..9143e9f69 100644 --- a/.vagrant-puppet/modules/git/manifests/init.pp +++ b/.vagrant-puppet/modules/git/manifests/init.pp @@ -8,6 +8,6 @@ # class git { package { 'git': - ensure => installed, + ensure => latest, } } diff --git a/.vagrant-puppet/modules/monitoring_plugins/manifests/init.pp b/.vagrant-puppet/modules/monitoring_plugins/manifests/init.pp index 23b9f19d4..64d080d11 100644 --- a/.vagrant-puppet/modules/monitoring_plugins/manifests/init.pp +++ b/.vagrant-puppet/modules/monitoring_plugins/manifests/init.pp @@ -3,7 +3,7 @@ class monitoring_plugins { # nagios plugins from epel package { 'nagios-plugins-all': - ensure => installed, + ensure => latest, require => Class['epel'] } } diff --git a/.vagrant-puppet/modules/mysql/manifests/init.pp b/.vagrant-puppet/modules/mysql/manifests/init.pp index b96b6ac5d..a235a540c 100644 --- a/.vagrant-puppet/modules/mysql/manifests/init.pp +++ b/.vagrant-puppet/modules/mysql/manifests/init.pp @@ -16,11 +16,10 @@ class mysql { Exec { path => '/usr/bin' } - package { - 'mysql': - ensure => installed; - 'mysql-server': - ensure => installed; + package { [ + 'mysql', 'mysql-server' + ]: + ensure => latest, } service { 'mysqld': diff --git a/.vagrant-puppet/modules/openldap/manifests/init.pp b/.vagrant-puppet/modules/openldap/manifests/init.pp index 187a5f57b..069c4a157 100644 --- a/.vagrant-puppet/modules/openldap/manifests/init.pp +++ b/.vagrant-puppet/modules/openldap/manifests/init.pp @@ -15,7 +15,7 @@ class openldap { package { ['openldap-servers', 'openldap-clients']: - ensure => installed + ensure => latest, } service { 'slapd': diff --git a/.vagrant-puppet/modules/pear/manifests/init.pp b/.vagrant-puppet/modules/pear/manifests/init.pp index 0c748f2bc..59f204457 100644 --- a/.vagrant-puppet/modules/pear/manifests/init.pp +++ b/.vagrant-puppet/modules/pear/manifests/init.pp @@ -21,7 +21,7 @@ class pear { include php package { 'php-pear': - ensure => installed, + ensure => latest, require => Class['php'] } diff --git a/.vagrant-puppet/modules/pgsql/manifests/init.pp b/.vagrant-puppet/modules/pgsql/manifests/init.pp index 36e12bb11..4b48cf895 100644 --- a/.vagrant-puppet/modules/pgsql/manifests/init.pp +++ b/.vagrant-puppet/modules/pgsql/manifests/init.pp @@ -17,11 +17,10 @@ class pgsql { Exec { path => '/sbin:/bin:/usr/bin' } - package { - 'postgresql': - ensure => installed; - 'postgresql-server': - ensure => installed; + package { [ + 'postgresql', 'postgresql-server' + ]: + ensure => latest, } exec { 'initdb': diff --git a/.vagrant-puppet/modules/php/manifests/init.pp b/.vagrant-puppet/modules/php/manifests/init.pp index efb0a9946..2c9c33619 100644 --- a/.vagrant-puppet/modules/php/manifests/init.pp +++ b/.vagrant-puppet/modules/php/manifests/init.pp @@ -19,7 +19,7 @@ class php { include apache package { 'php': - ensure => installed, + ensure => latest, require => Package['apache'], notify => Service['apache'] } diff --git a/.vagrant-puppet/modules/tar/manifests/init.pp b/.vagrant-puppet/modules/tar/manifests/init.pp index 518c53e0c..acf85eab1 100644 --- a/.vagrant-puppet/modules/tar/manifests/init.pp +++ b/.vagrant-puppet/modules/tar/manifests/init.pp @@ -8,6 +8,6 @@ # class tar { package { 'tar': - ensure => installed, + ensure => latest, } } diff --git a/.vagrant-puppet/modules/wget/manifests/init.pp b/.vagrant-puppet/modules/wget/manifests/init.pp index 560e10b2f..ad1efd399 100644 --- a/.vagrant-puppet/modules/wget/manifests/init.pp +++ b/.vagrant-puppet/modules/wget/manifests/init.pp @@ -15,6 +15,6 @@ class wget { package { 'wget': - ensure => installed, + ensure => latest, } }