summaryrefslogtreecommitdiff
path: root/code/environments/production/modules/apt/examples/pin.pp
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2021-12-20 12:39:15 +0100
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2021-12-20 12:39:15 +0100
commitf56d2d7888be1a27d7ef05d850afdc4e9dbb464a (patch)
treee193c75cbdb40c5290906d97b3ac8966a1099a47 /code/environments/production/modules/apt/examples/pin.pp
downloadpuppet.SGM-f56d2d7888be1a27d7ef05d850afdc4e9dbb464a.tar.gz
puppet.SGM-f56d2d7888be1a27d7ef05d850afdc4e9dbb464a.tar.bz2
puppet.SGM-f56d2d7888be1a27d7ef05d850afdc4e9dbb464a.zip
initial draft of a minimal puppet config template
Diffstat (limited to 'code/environments/production/modules/apt/examples/pin.pp')
-rw-r--r--code/environments/production/modules/apt/examples/pin.pp5
1 files changed, 5 insertions, 0 deletions
diff --git a/code/environments/production/modules/apt/examples/pin.pp b/code/environments/production/modules/apt/examples/pin.pp
new file mode 100644
index 0000000..6a9024c
--- /dev/null
+++ b/code/environments/production/modules/apt/examples/pin.pp
@@ -0,0 +1,5 @@
+# pin a release in apt, useful for unstable repositories
+apt::pin { 'foo':
+ packages => '*',
+ priority => 0,
+}