From: TP Honey Date: Wed, 29 Aug 2018 13:08:57 +0000 (+0100) Subject: Merge pull request #788 from david22swan/MODULES-1630 X-Git-Tag: 6.1.0~15 X-Git-Url: https://review.fuel-infra.org/gitweb?a=commitdiff_plain;h=4c16f324657d2065c6cdd202d24b874cb70288e6;hp=0b7ee97d971ea9a123c9ebda58aebe3db51e457b;p=puppet-modules%2Fpuppetlabs-apt.git Merge pull request #788 from david22swan/MODULES-1630 (MODULES-1630) - Expanding source list fix to cover all needed versions --- diff --git a/README.md b/README.md index ef99894..a62b7b5 100644 --- a/README.md +++ b/README.md @@ -571,7 +571,7 @@ For an extensive list of supported operating systems, see [metadata.json](https: ### Adding new sources or PPAs -If you are adding a new source or PPA and trying to install packages from the new source or PPA on the same Puppet run, your `package` resource should depend on `Class['apt::update']`, in addition to depending on the `Apt::Source` or the `Apt::Ppa`. You can also add [collectors](https://docs.puppetlabs.com/puppet/latest/reference/lang_collectors.html) to ensure that all packages happen after `apt::update`, but this can lead to dependency cycles and has implications for [virtual resources](https://docs.puppetlabs.com/puppet/latest/reference/lang_collectors.html#behavior). +If you are adding a new source or PPA and trying to install packages from the new source or PPA on the same Puppet run, your `package` resource should depend on `Class['apt::update']`, in addition to depending on the `Apt::Source` or the `Apt::Ppa`. You can also add [collectors](https://docs.puppetlabs.com/puppet/latest/reference/lang_collectors.html) to ensure that all packages happen after `apt::update`, but this can lead to dependency cycles and has implications for [virtual resources](https://docs.puppetlabs.com/puppet/latest/reference/lang_collectors.html#behavior). Before running the command below, ensure that all packages have the provider set to apt. ```puppet Class['apt::update'] -> Package <| provider == 'apt' |>