Added file definition to redhat package repo

This commit is contained in:
Justice London 2013-07-19 12:04:27 -04:00
parent aeef0711bb
commit 362dd85386

View file

@ -37,8 +37,15 @@ class nginx::package::redhat {
gpgkey => "http://nginx.org/keys/nginx_signing.key",
}
#Define file for nginx-repo so puppet doesn't delete it
file { '/etc/yum.repos.d/nginx-release.repo':
ensure => present,
require => Yumrepo['nginx-release'],
}
package { $redhat_packages:
ensure => present,
require => Yumrepo['nginx-release'],
}
}