diff --git a/manifests/package/redhat.pp b/manifests/package/redhat.pp index 5c95a3684..2b11716e7 100644 --- a/manifests/package/redhat.pp +++ b/manifests/package/redhat.pp @@ -39,7 +39,7 @@ gpgcheck => '1', priority => '1', gpgkey => 'http://nginx.org/keys/nginx_signing.key', - before => Package[$package_name], + before => Package['nginx'], } } 'nginx-mainline': { @@ -50,7 +50,7 @@ gpgcheck => '1', priority => '1', gpgkey => 'http://nginx.org/keys/nginx_signing.key', - before => Package[$package_name], + before => Package['nginx'], } } default: {