diff options
Diffstat (limited to 'puppet')
m--------- | puppet/modules/apt | 0 | ||||
-rw-r--r-- | puppet/modules/site_apt/manifests/init.pp | 8 |
2 files changed, 8 insertions, 0 deletions
diff --git a/puppet/modules/apt b/puppet/modules/apt -Subproject 88bfe5fbab79b23a3f1d19c6283bdb2efd28598 +Subproject f11e3d475345059220402a44a97da491c85d2b5 diff --git a/puppet/modules/site_apt/manifests/init.pp b/puppet/modules/site_apt/manifests/init.pp index c33b7a84..0da7f3be 100644 --- a/puppet/modules/site_apt/manifests/init.pp +++ b/puppet/modules/site_apt/manifests/init.pp @@ -28,4 +28,12 @@ class site_apt { priority => 999 } + # All packages should be installed _after_ refresh_apt is called, + # which does an apt-get update. + # There is one exception: + # The creation of sources.list depends on the lsb package + + File['/etc/apt/preferences'] -> + Exec['refresh_apt'] + Package <| ( title != 'lsb' ) |> } |