Hi Albert,


On Tue, Dec 26, 2017 at 11:22 AM Albert Shih <[email protected]> wrote:

> Le 14/12/2017 à 08:50:38+0000, David Schmitt a écrit
> Hi,
>
> Really sorry for not answering you sooner.
>
> >
> > I tested this quickly on my system and it seems to work fine here. Can
> you
> > share more details (puppet version, other installed modules) of your
> system?
>
> Well...in fact because I really need a feature in puppetlabs-apt 4.x, I
> force the upgrade and everything seem to work well.
>
> But thanks for your answer I will keep it in mind.
>
> Just one question : Where come from your bundle ? Is it come from some rvm
> ? or just the
> bundle from the system your on.
>

I'm running debian testing, and for generic ruby development, I use the
system's ruby (2.3.3). You should be able to use the pdk's bundle
subcommand in the same way.


Cheers, David

>
> Regards.
>
>
> >
> > david@davids:~/git/tmp/foo$ bundle exec puppet module install
> puppetlabs-apt
> > --version 2.4.0
> > Notice: Preparing to install into /home/david/.puppet/modules ...
> > Notice: Created target directory /home/david/.puppet/modules
> > Notice: Downloading from https://forgeapi.puppetlabs.com ...
> > Notice: Installing -- do not interrupt ...
> > /home/david/.puppet/modules
> > └─┬ puppetlabs-apt (v2.4.0)
> >   └── puppetlabs-stdlib (v4.24.0)
> > david@davids:~/git/tmp/foo$ bundle exec puppet module upgrade
> puppetlabs-apt
> > Notice: Preparing to upgrade 'puppetlabs-apt' ...
> > Notice: Found 'puppetlabs-apt' (v2.4.0) in /home/david/.puppet/modules
> ...
> > Notice: Downloading from https://forgeapi.puppetlabs.com ...
> > Notice: Upgrading -- do not interrupt ...
> > /home/david/.puppet/modules
> > └── puppetlabs-apt (v2.4.0 -> v4.4.1)
> > david@davids:~/git/tmp/foo$ bundle exec puppet module list
> > /home/david/.puppet/modules
> > ├── puppetlabs-apt (v4.4.1)
> > └── puppetlabs-stdlib (v4.24.0)
> > david@davids:~/git/tmp/foo$
> >
> > Puppet 4:
> >
> > david@davids:~/git/tmp/foo$ bundle exec puppet module install
> puppetlabs-apt
> > --version 2.4.0
> > Notice: Preparing to install into
> /home/david/.puppetlabs/etc/code/modules ...
> > Notice: Created target directory /home/david/.puppetlabs/etc/code/modules
> > Notice: Downloading from https://forgeapi.puppet.com ...
> > Notice: Installing -- do not interrupt ...
> > /home/david/.puppetlabs/etc/code/modules
> > └─┬ puppetlabs-apt (v2.4.0)
> >   └── puppetlabs-stdlib (v4.24.0)
> > david@davids:~/git/tmp/foo$ bundle exec puppet module upgrade
> puppetlabs-apt
> > Notice: Preparing to upgrade 'puppetlabs-apt' ...
> > Notice: Found 'puppetlabs-apt' (v2.4.0) in
> /home/david/.puppetlabs/etc/code/
> > modules ...
> > Notice: Downloading from https://forgeapi.puppet.com ...
> > Notice: Upgrading -- do not interrupt ...
> > /home/david/.puppetlabs/etc/code/modules
> > └── puppetlabs-apt (v2.4.0 -> v4.4.1)
> > david@davids:~/git/tmp/foo$ bundle exec puppet module list
> > /home/david/.puppetlabs/etc/code/modules
> > ├── puppetlabs-apt (v4.4.1)
> > └── puppetlabs-stdlib (v4.24.0)
> > /opt/puppetlabs/puppet/modules (no modules installed)
> > david@davids:~/git/tmp/foo$
> >
> >
> > Puppet 5:
> >
> > david@davids:~/git/tmp/foo$ bundle exec puppet module install
> puppetlabs-apt
> > --version 2.4.0
> > Notice: Preparing to install into
> /home/david/.puppetlabs/etc/code/modules ...
> > Notice: Created target directory /home/david/.puppetlabs/etc/code/modules
> > Notice: Downloading from https://forgeapi.puppet.com ...
> > Notice: VersionRanges will always be strict when using non-vendored
> > SemanticPuppet gem, version 1.0.1
> > Notice: Installing -- do not interrupt ...
> > /home/david/.puppetlabs/etc/code/modules
> > └─┬ puppetlabs-apt (v2.4.0)
> >   └── puppetlabs-stdlib (v4.24.0)
> > david@davids:~/git/tmp/foo$ bundle exec puppet module upgrade
> puppetlabs-apt
> > Notice: Preparing to upgrade 'puppetlabs-apt' ...
> > Notice: Found 'puppetlabs-apt' (v2.4.0) in
> /home/david/.puppetlabs/etc/code/
> > modules ...
> > Notice: VersionRanges will always be strict when using non-vendored
> > SemanticPuppet gem, version 1.0.1
> > Notice: Downloading from https://forgeapi.puppet.com ...
> > Notice: Upgrading -- do not interrupt ...
> > /home/david/.puppetlabs/etc/code/modules
> > └── puppetlabs-apt (v2.4.0 -> v4.4.1)
> > david@davids:~/git/tmp/foo$ bundle exec puppet module list
> > Notice: VersionRanges will always be strict when using non-vendored
> > SemanticPuppet gem, version 1.0.1
> > /home/david/.puppetlabs/etc/code/modules
> > ├── puppetlabs-apt (v4.4.1)
> > └── puppetlabs-stdlib (v4.24.0)
> > /opt/puppetlabs/puppet/modules (no modules installed)
> > david@davids:~/git/tmp/foo$
> >
> >
> > On Wed, Dec 13, 2017 at 1:26 PM Albert Shih <[email protected]>
> wrote:
> >
> >     Hi everyone.
> >
> >     I'm not sure if it's a bug or what. Here what puppet module list
> give me :
> >
> >     ├── puppetlabs-apt (v2.4.0)
> >     ├── puppetlabs-stdlib (v4.24.0)
> >
> >     but if I try to upgrade puppetlabs-apt they say
> >
> >     Notice: Downloading from https://forgeapi.puppet.com ...
> >     Error: Could not upgrade module 'puppetlabs-apt' (v2.4.0 -> latest)
> >       There are 7 newer versions
> >         No combination of dependency upgrades would satisfy all
> dependencies
> >         Dependencies will not be automatically upgraded across major
> versions
> >         Upgrading one or more of these modules may permit the upgrade to
> >     succeed:
> >         - puppetlabs-stdlib
> >         Use `puppet module upgrade --force` to upgrade only this module
> >
> >     but puppetlabs-stdlib is already at the last version (just check).
> >
> >     And if I download the puppetlabs-apt and check inside de
> metadata.json I
> >     find out :
> >
> >       "dependencies": [
> >         {
> >           "name": "puppetlabs/stdlib",
> >           "version_requirement": ">= 4.16.0 < 5.0.0"
> >         }
> >       ],
> >
> >     and as I know 4.24.0 match the version_requirement....
> >
> >     Regards
> >     --
> >     Albert SHIH
> >     xmpp: [email protected]
> >     Heure local/Local time:
> >     Wed Dec 13 14:21:53 CET 2017
> >
> >     --
> >     You received this message because you are subscribed to the Google
> Groups
> >     "Puppet Users" group.
> >     To unsubscribe from this group and stop receiving emails from it,
> send an
> >     email to [email protected].
> >     To view this discussion on the web visit
> https://groups.google.com/d/msgid/
> >     puppet-users/20171213132625.GE1516%40io.chezmoi.fr.
> >     For more options, visit https://groups.google.com/d/optout.
> >
> > --
> > You received this message because you are subscribed to the Google Groups
> > "Puppet Users" group.
> > To unsubscribe from this group and stop receiving emails from it, send
> an email
> > to [email protected].
> > To view this discussion on the web visit
> https://groups.google.com/d/msgid/
> > puppet-users/
> > CALF7fHZLM51NdzNUyYRpTq%3DALW_NFvtLQLwWja9%2B%2BpLHsyYWiQ%
> 40mail.gmail.com.
> > For more options, visit https://groups.google.com/d/optout.
> --
> Albert SHIH
> xmpp: [email protected]
> Heure local/Local time:
> Tue Dec 26 12:19:19 CET 2017
>
> --
> You received this message because you are subscribed to the Google Groups
> "Puppet Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/puppet-users/20171226112157.GA1058%40chezmoi.fr
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/CALF7fHb49wcS2i0PxF7t3M6EHov%2BNEV%2BRD1vL%2B%2Bk6xnRtW6cWQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to