From: David Swan Date: Tue, 28 Aug 2018 10:11:37 +0000 (+0100) Subject: (MODULES-4439) - Adding new sources/PPAs README clarification X-Git-Tag: 6.1.0~16^2 X-Git-Url: https://review.fuel-infra.org/gitweb?a=commitdiff_plain;h=fa6f7373a323d0e75de220b7a80f7214b5328d6e;p=puppet-modules%2Fpuppetlabs-apt.git (MODULES-4439) - Adding new sources/PPAs README clarification --- 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' |>