"This change pins the puppetlabs-puppet_agent module to v4.12.1. Previosuly the fixut...
[puppet-modules/puppetlabs-apt.git] / templates / add-apt-repository.sh.epp
1 <%- | Array $command, String $sources_list_d_path, String $sources_list_d_filename | -%>
2
3 <%= $command.join(' ') %>
4
5 if [ $? -gt 0 ]; then
6    rm <%= $sources_list_d_path %>/<%= $sources_list_d_filename %>
7    exit 1
8 fi