]> review.fuel-infra Code Review - puppet-modules/puppetlabs-apt.git/commitdiff
Merge pull request #131 from mbornoz/apt-preferences
authorHunter Haugen <h.haugen@gmail.com>
Tue, 2 Jul 2013 00:46:24 +0000 (17:46 -0700)
committerHunter Haugen <h.haugen@gmail.com>
Tue, 2 Jul 2013 00:46:24 +0000 (17:46 -0700)
apt::pin: handling all apt preferences properties

1  2 
README.md

diff --combined README.md
index f9f7ee8321a501a3d0f51f7b1a88f42bcda97291,a6a0013e3fa385ad56ad0ec499044818455000cc..402d7ab021982244b61a07ab923405c536418cd3
+++ b/README.md
@@@ -101,6 -101,16 +101,16 @@@ Adds an apt pin for a certain release
      apt::pin { 'karmic-updates': priority => 700 }
      apt::pin { 'karmic-security': priority => 700 }
  
+ Note you can also specifying more complex pins using distribution properties.
+     apt::pin { 'stable':
+       priority        => -10,
+       originator      => 'Debian',
+       release_version => '3.0',
+       component       => 'main',
+       label           => 'Debian'
+     }
  ###apt::ppa
  
  Adds a ppa repository using `add-apt-repository`.
@@@ -213,3 -223,10 +223,3 @@@ A lot of great people have contributed 
  * Spencer Krum <spencer@puppetlabs.com>  
  * William Van Hevelingen <blkperl@cat.pdx.edu> <wvan13@gmail.com>  
  * Zach Leslie <zach@puppetlabs.com>  
 -
 -Release Notes
 --------------
 -
 -**1.1.0**
 -
 -This release includes Ubuntu 12.10 (Quantal) support for PPAs.