From 760b466aa9e0ab17bd7caa5b4c5582fbb632fcf6 Mon Sep 17 00:00:00 2001 From: Kenyon Ralph Date: Thu, 10 Mar 2022 22:12:05 -0800 Subject: [PATCH] set ensure => installed for packages instead of present This allows for compatibility with stdlib v8 due to https://github.com/puppetlabs/puppetlabs-stdlib/pull/1196. --- manifests/client/debian.pp | 2 +- manifests/client/redhat.pp | 4 ++-- manifests/server/debian.pp | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/manifests/client/debian.pp b/manifests/client/debian.pp index 6b582d8..44c420b 100644 --- a/manifests/client/debian.pp +++ b/manifests/client/debian.pp @@ -4,7 +4,7 @@ include ::nfs::params package { ['nfs-common', $nfs::params::portmap_package]: - ensure => present, + ensure => installed, } service {$::nfs::params::statd_service: diff --git a/manifests/client/redhat.pp b/manifests/client/redhat.pp index 509c746..4af19cd 100644 --- a/manifests/client/redhat.pp +++ b/manifests/client/redhat.pp @@ -37,7 +37,7 @@ # common items for all versions $nfsclient_requirement = [Package['nfs-client'], Package['nfs-utils']] package { 'nfs-utils': - ensure => present, + ensure => installed, } service { 'nfslock': @@ -54,7 +54,7 @@ } } package { 'nfs-client': - ensure => present, + ensure => installed, name => $nfsclient_package, } diff --git a/manifests/server/debian.pp b/manifests/server/debian.pp index 8747c8e..b203ac1 100644 --- a/manifests/server/debian.pp +++ b/manifests/server/debian.pp @@ -2,7 +2,7 @@ class nfs::server::debian inherits nfs::client::debian { package {'nfs-kernel-server': - ensure => present, + ensure => installed, } exec {'reload_nfs_srv':