X-Git-Url: https://review.fuel-infra.org/gitweb?a=blobdiff_plain;f=manifests%2Fppa.pp;h=a55e1e0e5c7a075b04ee4861370d40e107a42254;hb=60e50a9b65dec94fe20734404295e28d9e434a83;hp=f2629809e0c12d8aae499fc8d5b77dbeaf1b88a1;hpb=881caafefbb5ae27c129d3de473ef30b8ad3e58d;p=puppet-modules%2Fpuppetlabs-apt.git diff --git a/manifests/ppa.pp b/manifests/ppa.pp index f262980..a55e1e0 100644 --- a/manifests/ppa.pp +++ b/manifests/ppa.pp @@ -1,10 +1,10 @@ # ppa.pp define apt::ppa( + $ensure = 'present', $release = $::lsbdistcodename, $options = $apt::params::ppa_options, ) { - $ensure = 'present' include apt::params include apt::update @@ -15,7 +15,7 @@ define apt::ppa( } 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') @@ -69,7 +69,7 @@ define apt::ppa( ensure => 'absent', mode => '0644', owner => 'root', - gruop => 'root', + group => 'root', notify => Exec['apt_update'], } }