}
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')
file { "${sources_list_d}/${sources_list_d_filename}":
ensure => 'absent',
+ mode => '0644',
+ owner => 'root',
+ group => 'root',
notify => Exec['apt_update'],
}
}