]> gitweb.fluxo.info Git - puppet-apt.git/commitdiff
Revert "turn preferences into a simple file"
authorMicah Anderson <micah@riseup.net>
Sun, 28 Sep 2008 22:00:56 +0000 (18:00 -0400)
committerMicah Anderson <micah@riseup.net>
Sun, 28 Sep 2008 22:00:56 +0000 (18:00 -0400)
This reverts commit 0011e70a24ff49169da294b00b6b39b77fb05c86.

manifests/init.pp
templates/preferences.erb [moved from files/preferences with 100% similarity]

index 3eb7448c16e535aa470f487b12526a68ecf197b6..f85a535f9276eec613e34f6dd5618beb5bb4777a 100644 (file)
@@ -44,7 +44,7 @@ class apt {
        config_file {
                # this just pins unstable and testing to very low values
                "/etc/apt/preferences":
-                       source => "puppet://$servername/apt/preferences",
+                       content => template("apt/preferences.erb"),
                        # use File[apt_config] to reference a completed configuration
                        # See "The Puppet Semaphor" 2007-06-25 on the puppet-users ML
                        alias => apt_config,
similarity index 100%
rename from files/preferences
rename to templates/preferences.erb