# ppa.pp
define apt::ppa(
+ $ensure = 'present',
$release = $::lsbdistcodename,
$options = $apt::params::ppa_options,
) {
- $ensure = 'present'
include apt::params
include apt::update
}
if $::operatingsystem != 'Ubuntu' {
- fail("apt::ppa is currently supported on Ubuntu only.")
+ fail('apt::ppa is currently supported on Ubuntu only.')
}
$filename_without_slashes = regsubst($name, '/', '-', 'G')
ensure => 'absent',
mode => '0644',
owner => 'root',
- gruop => 'root',
+ group => 'root',
notify => Exec['apt_update'],
}
}