From d0f7e98ec54452e10cb2eefb97fd6bf9e4e86a0c Mon Sep 17 00:00:00 2001 From: intrigeri Date: Mon, 25 Apr 2011 22:50:53 +0200 Subject: Revert "apt::custom_sources_template to deploy custom sources.list.d/xyz.list" This reverts commit 3c0499b78d1f671fcce13127ef14b1b662a48c5a. This was already provided by sources_list.pp. --- manifests/custom_sources.pp | 10 ---------- manifests/init.pp | 2 -- 2 files changed, 12 deletions(-) delete mode 100644 manifests/custom_sources.pp diff --git a/manifests/custom_sources.pp b/manifests/custom_sources.pp deleted file mode 100644 index d0c020a..0000000 --- a/manifests/custom_sources.pp +++ /dev/null @@ -1,10 +0,0 @@ -define apt::custom_sources_template ($sources_file = "") { - - include apt::update - - file { "/etc/apt/sources.list.d/$sources_file": - content => template($name), - notify => Exec['apt_updated'] - } -} - diff --git a/manifests/init.pp b/manifests/init.pp index 57f02e9..b5be91f 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -5,8 +5,6 @@ class apt { - import "custom_sources.pp" - $use_volatile = $apt_volatile_enabled ? { '' => false, default => $apt_volatile_enabled, -- cgit v1.2.3