Skip to content

Commit

Permalink
package/redhat: correct dependency on package
Browse files Browse the repository at this point in the history
When $package_name is not 'nginx' the dependency on the package resource would be incorrect.

Probably never an issue in practice since 'nginx' is the package name in the nginx.org repo.
  • Loading branch information
3flex committed Apr 8, 2015
1 parent e6d1695 commit 446ab37
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions manifests/package/redhat.pp
Original file line number Diff line number Diff line change
Expand Up @@ -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': {
Expand All @@ -50,7 +50,7 @@
gpgcheck => '1',
priority => '1',
gpgkey => 'http://nginx.org/keys/nginx_signing.key',
before => Package[$package_name],
before => Package['nginx'],
}
}
default: {
Expand Down

0 comments on commit 446ab37

Please sign in to comment.