Uploaded image for project: 'Puppet Development Kit'
  1. Puppet Development Kit
  2. PDK-1213

pdk convert adds broken Gemfile.lock

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Won't Do
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
    • Environment:
    • Template:
    • Acceptance Criteria:
      Hide

      Gemfile.lock isn't created when pdk convert is run.

      Show
      Gemfile.lock isn't created when pdk convert is run.
    • Method Found:
      Needs Assessment
    • QA Risk Assessment:
      Needs Assessment

      Description

      pdk convert adds a broken Gemfile.lock if the file didn't already exist.

      ❯ mkdir -p test/manifests && cd test && pdk convert --force         
       
      ------------Files to be added-----------
      metadata.json
      appveyor.yml
      .gitlab-ci.yml
      .pdkignore
      .yardopts
      spec/spec_helper.rb
      spec/default_facts.yml
      .rubocop.yml
      Gemfile
      .gitignore
      .travis.yml
      .rspec
      Rakefile
       
      ----------------------------------------
       
      ------------Convert completed-----------
       
      13 files added.
       
      ❯ ls Gemfile.lock
      Gemfile.lock
      ❯ bundle install
      The dependency puppet-module-win-default-r2.3 (>= 0) will be unused by any of the platforms Bundler is installing for. Bundler is installing for ruby, x86_64-darwin-16 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.3 (>= 0) will be unused by any of the platforms Bundler is installing for. Bundler is installing for ruby, x86_64-darwin-16 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`.
      Fetching gem metadata from https://rubygems.org/........
      Resolving dependencies...
      Your bundle is locked to hiera (3.4.5.13), but that version could not be found in any of the sources listed in your Gemfile. If you haven't changed sources, that means the
      author of hiera (3.4.5.13) has removed it. You'll need to update your bundle to a version other than hiera (3.4.5.13) that hasn't been removed in order to install.
      

      As far as I can tell there's no such version as hiera 3.4.5.13 .

        Attachments

          Activity

            People

            Assignee:
            tim.sharpe Tim Sharpe
            Reporter:
            daniel.parks Daniel Parks
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Zendesk Support