Improve apt::pin example
authorMathieu Bornoz <mathieu.bornoz@camptocamp.com>
Wed, 19 Jun 2013 07:13:08 +0000 (09:13 +0200)
committerMathieu Bornoz <mathieu.bornoz@camptocamp.com>
Wed, 19 Jun 2013 07:13:08 +0000 (09:13 +0200)
README.md

index 5082e343376ca01fb5551e91fd12b3631682d9dd..a6a0013e3fa385ad56ad0ec499044818455000cc 100644 (file)
--- a/README.md
+++ b/README.md
@@ -101,6 +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`.