Hi Christopher,

I'm running the xenial packages on Debian testing myself, and have no
issues with running the pdk validation of the puppetlabs-ntp module. If I
use the Gemfile.lock from your log instead of a clean one, I get the same
error. Please remove the Gemfile.lock and try again.


Cheers, David

On Thu, Oct 26, 2017 at 5:19 PM Christopher Wood <[email protected]>
wrote:

> I'm not sure if this is an issue, or something I'm doing, since I'm trying
> to use Ubuntu debs on patched-up Debian 9. The question: Is this PEBKAC or
> what?
>
> To wit, I get a fatal error when attempting "pdk validate -d" and "pdk
> test unit -d" at 1215f02 of the puppetlabs-ntp module. This happens in the
> same manner with the following debs.
>
> pdk_1.2.0.0-1trusty_amd64.deb
> pdk_1.2.0.0-1xenial_amd64.deb
>
> These gists are typescript sessions of me reproducing the issue:
>
> https://gist.github.com/christopherwood/d2ac5542a3cdbf80cba7eaac6135ef14
> https://gist.github.com/christopherwood/05f60e9f87465e73730606d8870065e7
>
> I think the issue boils down to these lines:
>
> pdk (FATAL): The dependency puppet-module-win-default-r2.1 (>= 0) will be
> unused by any of the platforms Bundler is installing for. Bundler is
> installing for ruby but the dependency is only for x86-mswin32,
> x86-mingw32, x64-mingw32. To add those platforms to the bundle, run `bundle
> lock --add-platform x86-mswin32 x86-mingw32 x64-mingw32`.
> The dependency puppet-module-win-dev-r2.1 (= 0.0.7) will be unused by any
> of the platforms Bundler is installing for. Bundler is installing for ruby
> but the dependency is only for x86-mswin32, x86-mingw32, x64-mingw32. To
> add those platforms to the bundle, run `bundle lock --add-platform
> x86-mswin32 x86-mingw32 x64-mingw32`.
> The dependency puppet-module-win-system-r2.1 (>= 0) will be unused by any
> of the platforms Bundler is installing for. Bundler is installing for ruby
> but the dependency is only for x86-mswin32, x86-mingw32, x64-mingw32. To
> add those platforms to the bundle, run `bundle lock --add-platform
> x86-mswin32 x86-mingw32 x64-mingw32`.
>
> When I do "gem install --user-install puppet-module-win-default-r2.1" on
> my system ruby 2.3.3p222 it installs with no issues. However the Gemfile in
> the puppetlabs-ntp module specifies
>
> :require => false, :platforms => ["mswin", "mingw", "x64_mingw"]
>
> and for some reason that appears to cause an issue here.
>
> I haven't really used bundler so definitely puzzled.
>
> --
> 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/20171026161936.27u6hl22k2v5olbi%40iniquitous.heresiarch.ca
> .
> 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/CALF7fHZw3AzDv3th%2BQyH7ndBPvbx3ggbQunprYTub5snHubRkA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to