From: root Date: Fri, 25 Jan 2008 21:36:33 +0000 (-0500) Subject: turn preferences into a simple file X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=0011e70a24ff49169da294b00b6b39b77fb05c86;p=puppet-apt.git turn preferences into a simple file --- diff --git a/templates/preferences.erb b/files/preferences similarity index 100% rename from templates/preferences.erb rename to files/preferences diff --git a/manifests/init.pp b/manifests/init.pp index 161a5da..2128e2f 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -45,7 +45,7 @@ class apt { config_file { # this just pins unstable and testing to very low values "/etc/apt/preferences": - content => template("apt/preferences.erb"), + source => "puppet://$servername/apt/preferences", # use File[apt_config] to reference a completed configuration # See "The Puppet Semaphor" 2007-06-25 on the puppet-users ML alias => apt_config,