Code Review
/
puppet-modules
/
puppetlabs-apt.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
e8f11ea
)
Improve apt::pin example
author
Mathieu Bornoz
<mathieu.bornoz@camptocamp.com>
Wed, 19 Jun 2013 07:13:08 +0000
(09:13 +0200)
committer
Mathieu Bornoz
<mathieu.bornoz@camptocamp.com>
Wed, 19 Jun 2013 07:13:08 +0000
(09:13 +0200)
README.md
patch
|
blob
|
history
diff --git
a/README.md
b/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`.