diff options
author | Micah Anderson <micah@riseup.net> | 2008-09-29 14:43:11 -0400 |
---|---|---|
committer | Micah Anderson <micah@riseup.net> | 2008-09-29 14:43:11 -0400 |
commit | 9b40b913ed5f76bb4d47afac2220615bed06ddca (patch) | |
tree | d0e0217ee54eca0e145bcf26bc3a18af85918b24 /manifests | |
parent | 91a49f53c49a6edcad6ceb5152c069cc998a263d (diff) |
remove duplicate definition for preseeded_package, that was a mistake
Diffstat (limited to 'manifests')
-rw-r--r-- | manifests/init.pp | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/manifests/init.pp b/manifests/init.pp index 85911bc..7ec7a7b 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -158,30 +158,6 @@ class apt { } } - # workaround for preseeded_package component - file { "/var/cache": ensure => directory } - file { "/var/cache/local": ensure => directory } - file { "/var/cache/local/preseeding/": ensure => directory } - - define preseeded_package ($content = "", $ensure = "installed") { - $seedfile = "/var/cache/local/preseeding/$name.seeds" - $real_content = $content ? { - "" => template ( "$debian_version/$name.seeds" ), - Default => $content - } - - file{ $seedfile: - content => $real_content, - mode => 0600, owner => root, group => root, - } - - package { $name: - ensure => $ensure, - responsefile => $seedfile, - require => File[$seedfile], - } - } - define upgrade_package ($version = "") { case $version { '': { |