Fixed regex to actually follow APT requirements
[puppet-modules/puppetlabs-apt.git] / manifests / ppa.pp
index 3c4dc3194e9df8f88dcd5be400dc122a8e183339..ab79b9417904664542386c572a607772f51638b2 100644 (file)
@@ -3,7 +3,7 @@
 define apt::ppa(
   $ensure  = 'present',
   $release = $::lsbdistcodename,
-  $options = '-y'
+  $options = $apt::params::ppa_options,
 ) {
   include apt::params
   include apt::update
@@ -69,7 +69,7 @@ define apt::ppa(
         ensure => 'absent',
         mode   => '0644',
         owner  => 'root',
-        gruop  => 'root',
+        group  => 'root',
         notify => Exec['apt_update'],
     }
   }