Merge pull request #332 from zacharyalexstern/fix_readme_typo
[puppet-modules/puppetlabs-apt.git] / manifests / ppa.pp
index 95a3dae2a36dcd083f0cff31cf1475b44f883498..a55e1e0e5c7a075b04ee4861370d40e107a42254 100644 (file)
@@ -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')