Puppet Class: yumrepos::drush7
- Inherits:
- yumrepos::params
- Defined in:
- manifests/drush7.pp
Overview
Class: yumrepos::drush7
Installs the Drush 7.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/drush7.pp', line 5
class yumrepos::drush7 (
$drush7_url = $yumrepos::params::drush7_url,
$drush7_enabled = $yumrepos::params::drush7_enabled,
$drush7_gpgcheck = $yumrepos::params::drush7_gpgcheck,
$drush7_includepkgs = $yumrepos::params::drush7_includepkgs,
$drush7_exclude = $yumrepos::params::drush7_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-drush7':
descr => 'Tag1 Drush 7',
baseurl => $drush7_url,
enabled => $drush7_enabled,
includepkgs => $drush7_includepkgs,
exclude => $drush7_exclude,
gpgcheck => $drush7_gpgcheck,
gpgkey => 'file:///etc/pki/rpm-gpg/RPM-GPG-KEY-TAG1',
require => File['/etc/pki/rpm-gpg/RPM-GPG-KEY-TAG1'],
}
}
|