Added file definition to redhat package repo
This commit is contained in:
parent
aeef0711bb
commit
362dd85386
1 changed files with 7 additions and 0 deletions
|
@ -37,8 +37,15 @@ class nginx::package::redhat {
|
||||||
gpgkey => "http://nginx.org/keys/nginx_signing.key",
|
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:
|
package { $redhat_packages:
|
||||||
ensure => present,
|
ensure => present,
|
||||||
require => Yumrepo['nginx-release'],
|
require => Yumrepo['nginx-release'],
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue