diff --git a/manifests/init.pp b/manifests/init.pp index a8b666e8f7..b30b418d72 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -382,12 +382,12 @@ case $facts['os']['name'] { 'Debian': { if versioncmp($facts['os']['release']['major'], '9') >= 0 { - ensure_packages(['gnupg']) + stdlib::ensure_packages(['gnupg']) } } 'Ubuntu': { if versioncmp($facts['os']['release']['full'], '17.04') >= 0 { - ensure_packages(['gnupg']) + stdlib::ensure_packages(['gnupg']) } } default: { diff --git a/manifests/key.pp b/manifests/key.pp index f6c2f6161b..9d3106dbd5 100644 --- a/manifests/key.pp +++ b/manifests/key.pp @@ -65,13 +65,13 @@ case $facts['os']['name'] { 'Debian': { if versioncmp($facts['os']['release']['major'], '9') >= 0 { - ensure_packages(['gnupg']) + stdlib::ensure_packages(['gnupg']) Apt::Key<| title == $title |> } } 'Ubuntu': { if versioncmp($facts['os']['release']['full'], '17.04') >= 0 { - ensure_packages(['gnupg']) + stdlib::ensure_packages(['gnupg']) Apt::Key<| title == $title |> } } diff --git a/manifests/ppa.pp b/manifests/ppa.pp index 2a5b4a868d..61caa34e5f 100644 --- a/manifests/ppa.pp +++ b/manifests/ppa.pp @@ -73,7 +73,7 @@ if $ensure == 'present' { if $package_manage { - ensure_packages($package_name) + stdlib::ensure_packages($package_name) $_require = [File['sources.list.d'], Package[$package_name]] } else { $_require = File['sources.list.d'] diff --git a/manifests/source.pp b/manifests/source.pp index 420d19d451..db579240ab 100644 --- a/manifests/source.pp +++ b/manifests/source.pp @@ -107,7 +107,7 @@ # Newer oses, do not need the package for HTTPS transport. $_transport_https_releases = ['9'] if (fact('os.release.major') in $_transport_https_releases) and $_location =~ /(?i:^https:\/\/)/ { - ensure_packages('apt-transport-https') + stdlib::ensure_packages('apt-transport-https') Package['apt-transport-https'] -> Class['apt::update'] } } else {