Puppet Class: yumrepos::drush9
- Inherits:
- yumrepos::params
- Defined in:
- manifests/drush9.pp
Overview
Class: yumrepos::drush9
Installs the Drush 9.x yum repository.
5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 |
# File 'manifests/drush9.pp', line 5
class yumrepos::drush9 (
$drush9_url = $yumrepos::params::drush9_url,
$drush9_enabled = $yumrepos::params::drush9_enabled,
$drush9_gpgcheck = $yumrepos::params::drush9_gpgcheck,
$drush9_includepkgs = $yumrepos::params::drush9_includepkgs,
$drush9_exclude = $yumrepos::params::drush9_exclude,
) inherits yumrepos::params {
file { '/etc/pki/rpm-gpg/RPM-GPG-KEY-TAG1':
ensure => present,
owner => root,
group => root,
mode => '0644',
source => 'puppet:///modules/yumrepos/etc/pki/rpm-gpg/RPM-GPG-KEY-TAG1',
}
yumrepo { 'tag1-drush9':
descr => 'Tag1 Drush 9',
baseurl => $drush9_url,
enabled => $drush9_enabled,
includepkgs => $drush9_includepkgs,
exclude => $drush9_exclude,
gpgcheck => $drush9_gpgcheck,
gpgkey => 'file:///etc/pki/rpm-gpg/RPM-GPG-KEY-TAG1',
require => File['/etc/pki/rpm-gpg/RPM-GPG-KEY-TAG1'],
}
}
|