add key with puppetlabs-apt
I want to install varnish on ubuntu with this package: puppet module: https://forge.puppetlabs.com/netmanagers/varnish .
But I don't want to use the standard ubuntu package. Instead I want to install the package provided from varnish-cache.org .
According to their website i have to do the following:
1. curl http://repo.varnish-cache.org/debian/GPG-key.txt | sudo apt-key add - 2. echo "deb http://repo.varnish-cache.org/ubuntu/ precise varnish-3.0" | sudo tee -a /etc/apt/sources.list 3. sudo apt-get update 4. sudo apt-get install varnish
But how do I do that with the puppetlabs/apt ... (more)