From e965fe450d5ec69d24c023096c3f73b4e43f34b2 Mon Sep 17 00:00:00 2001 From: Morgan Haskel Date: Sun, 15 Feb 2015 11:11:58 -0800 Subject: [PATCH] Update examples --- examples/debian/testing.pp | 2 -- examples/debian/unstable.pp | 2 -- examples/force.pp | 17 +---------------- examples/init.pp | 1 - examples/params.pp | 1 - examples/release.pp | 6 +++--- 6 files changed, 4 insertions(+), 25 deletions(-) delete mode 100644 examples/debian/testing.pp delete mode 100644 examples/debian/unstable.pp delete mode 100644 examples/init.pp delete mode 100644 examples/params.pp diff --git a/examples/debian/testing.pp b/examples/debian/testing.pp deleted file mode 100644 index 8245b3a..0000000 --- a/examples/debian/testing.pp +++ /dev/null @@ -1,2 +0,0 @@ -class { 'apt': } -class { 'apt::debian::testing': } diff --git a/examples/debian/unstable.pp b/examples/debian/unstable.pp deleted file mode 100644 index 8605179..0000000 --- a/examples/debian/unstable.pp +++ /dev/null @@ -1,2 +0,0 @@ -class { 'apt': } -class { 'apt::debian::unstable': } diff --git a/examples/force.pp b/examples/force.pp index 59ad8f1..36d23f8 100644 --- a/examples/force.pp +++ b/examples/force.pp @@ -1,17 +1,2 @@ # force.pp - -# force a package from a specific release -apt::force { 'package1': - release => 'backports', -} - -# force a package to be a specific version -apt::force { 'package2': - version => '1.0.0-1', -} - -# force a package from a specific release to be a specific version -apt::force { 'package3': - release => 'sid', - version => '2.0.0-1', -} +# TODO: Update diff --git a/examples/init.pp b/examples/init.pp deleted file mode 100644 index abc75af..0000000 --- a/examples/init.pp +++ /dev/null @@ -1 +0,0 @@ -class { 'apt': } diff --git a/examples/params.pp b/examples/params.pp deleted file mode 100644 index 5ddf3c6..0000000 --- a/examples/params.pp +++ /dev/null @@ -1 +0,0 @@ -include apt::params diff --git a/examples/release.pp b/examples/release.pp index 823f586..46d6893 100644 --- a/examples/release.pp +++ b/examples/release.pp @@ -1,4 +1,4 @@ -class { 'apt': } -class { 'apt::release': - release_id => 'karmic' +apt::conf { 'release': + content => 'APT::Default-Release "karmic";', + priority => '01', } -- 2.45.2