]> gitweb.fluxo.info Git - puppet-apt.git/commitdiff
turn preferences into a simple file
authorroot <root@puppet.koumbit.net>
Fri, 25 Jan 2008 21:36:33 +0000 (16:36 -0500)
committerroot <root@puppet.koumbit.net>
Fri, 25 Jan 2008 21:36:33 +0000 (16:36 -0500)
files/preferences [moved from templates/preferences.erb with 100% similarity]
manifests/init.pp

similarity index 100%
rename from templates/preferences.erb
rename to files/preferences
index 161a5da0cec9875bfff533f3737938d830846e95..2128e2f64a73a7bb5a0a99ec20f59e61a0ba21c5 100644 (file)
@@ -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,