Skip to content
This repository has been archived by the owner on Oct 11, 2018. It is now read-only.

Commit

Permalink
Merge pull request #164 from Ensighten/modernize_apt
Browse files Browse the repository at this point in the history
Remove curl dependency and modernize apt usage
  • Loading branch information
jippi committed Sep 25, 2016
2 parents 89e5c16 + c9cc5d5 commit 09be8e2
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions manifests/apt.pp
Original file line number Diff line number Diff line change
Expand Up @@ -49,14 +49,11 @@
}
}

exec { 'add_dotdeb_key':
command =>
'curl -L --silent "http://www.dotdeb.org/dotdeb.gpg" | apt-key add -',
unless => 'apt-key list | grep -q dotdeb',
path => [ '/bin/', '/sbin/' , '/usr/bin/', '/usr/sbin/' ];
apt::key { 'add_dotdeb_key':
key => '6572BBEF1B5FF28B28B706837E3F070089DF5277',
}

Exec['add_dotdeb_key'] -> Apt::Source["source_php_${release}"]
Apt::Key['add_dotdeb_key'] -> Apt::Source["source_php_${release}"]
}

}

0 comments on commit 09be8e2

Please sign in to comment.