2011-05-30 19:23:18 +02:00
|
|
|
# force.pp
|
2013-07-03 20:00:33 +02:00
|
|
|
|
2011-05-30 19:23:18 +02:00
|
|
|
# force a package from a specific release
|
2013-07-03 20:00:33 +02:00
|
|
|
apt::force { 'package1':
|
|
|
|
release => 'backports',
|
|
|
|
}
|
|
|
|
|
|
|
|
# force a package to be a specific version
|
|
|
|
apt::force { 'package2':
|
|
|
|
version => '1.0.0-1',
|
|
|
|
}
|
2011-05-30 19:23:18 +02:00
|
|
|
|
2013-07-03 20:00:33 +02:00
|
|
|
# force a package from a specific release to be a specific version
|
|
|
|
apt::force { 'package3':
|
|
|
|
release => 'sid',
|
|
|
|
version => '2.0.0-1',
|
2011-05-30 19:23:18 +02:00
|
|
|
}
|