Commit b6d8d66d authored by Scotty Logan's avatar Scotty Logan
Browse files

removed explicit apt::update call; using early stage for package sources

parent 79c086f1
Loading
Loading
Loading
Loading
+0 −3
Original line number Diff line number Diff line
@@ -37,9 +37,6 @@ class base::apt(
    sources => $sources,
  }

  # force apt-get update before package installation
  Class['apt::update'] -> Package<| |>

  apt::setting { 'conf-itlab':
    priority => 50,
    source   => "puppet:///modules/${module_name}/etc/apt/apt.conf.d/50itlab",
+6 −1
Original line number Diff line number Diff line
@@ -27,8 +27,13 @@ class base::packages (

  Package { provider => $package_type }

  stage { 'pre-packages':
    before => Stage['main'],
  }

  class { "base::${package_type}":
    sources => $sources
    stage   => 'pre-packages',
    sources => $sources,
  }

  $only_install = difference($install, $uninstall)