Skip to content

Instantly share code, notes, and snippets.

@dhollinger
Last active April 11, 2018 17:23
Show Gist options
  • Save dhollinger/e580c2bb03aa84c959ff9b3bd1116712 to your computer and use it in GitHub Desktop.
Save dhollinger/e580c2bb03aa84c959ff9b3bd1116712 to your computer and use it in GitHub Desktop.
$ pdk convert --template-url="file:///Users/dhollinger/workspace/onyx/puppet/pdk-templates" --debug
pdk (DEBUG): PDK package installation not found. Trying 'git' from the system PATH instead.
pdk (DEBUG): PDK package installation not found. Trying 'git' from the system PATH instead.
pdk (DEBUG): Executing 'git clone file:///Users/dhollinger/workspace/onyx/puppet/pdk-templates /var/folders/q7/smz4nfw13nqdkktl_vd9h0p80000gn/T/pdk-templates20180411-6485-t9m7pc'
pdk (DEBUG): Execution of 'git clone file:///Users/dhollinger/workspace/onyx/puppet/pdk-templates /var/folders/q7/smz4nfw13nqdkktl_vd9h0p80000gn/T/pdk-templates20180411-6485-t9m7pc' complete (duration: 0.059541s; exit code: 0)
pdk (DEBUG): PDK package installation not found. Trying 'git' from the system PATH instead.
pdk (DEBUG): PDK package installation not found. Trying 'git' from the system PATH instead.
pdk (DEBUG): Executing 'git -C /var/folders/q7/smz4nfw13nqdkktl_vd9h0p80000gn/T/pdk-templates20180411-6485-t9m7pc reset --hard origin/master'
pdk (DEBUG): Execution of 'git -C /var/folders/q7/smz4nfw13nqdkktl_vd9h0p80000gn/T/pdk-templates20180411-6485-t9m7pc reset --hard origin/master' complete (duration: 0.010237s; exit code: 0)
pdk (DEBUG): PDK package installation not found. Trying 'git' from the system PATH instead.
pdk (DEBUG): PDK package installation not found. Trying 'git' from the system PATH instead.
pdk (DEBUG): Executing 'git --git-dir /var/folders/q7/smz4nfw13nqdkktl_vd9h0p80000gn/T/pdk-templates20180411-6485-t9m7pc/.git describe --all --long --always'
pdk (DEBUG): Execution of 'git --git-dir /var/folders/q7/smz4nfw13nqdkktl_vd9h0p80000gn/T/pdk-templates20180411-6485-t9m7pc/.git describe --all --long --always' complete (duration: 0.006809s; exit code: 0)
pdk (DEBUG): Rendering '.gitlab-ci.yml.erb'...
pdk (DEBUG): Rendering '.pdkignore.erb'...
pdk (DEBUG): Rendering '.yardopts.erb'...
pdk (DEBUG): Rendering 'spec/spec_helper.rb.erb'...
pdk (DEBUG): Rendering 'spec/default_facts.yml.erb'...
pdk (DEBUG): Rendering '.rubocop.yml.erb'...
pdk (DEBUG): Rendering 'Gemfile.erb'...
pdk (DEBUG): Rendering '.gitignore.erb'...
pdk (DEBUG): Rendering '.rspec.erb'...
pdk (DEBUG): Rendering 'Rakefile.erb'...
----------Files to be modified----------
metadata.json
.gitlab-ci.yml
spec/spec_helper.rb
.rubocop.yml
Gemfile
.gitignore
.rspec
Rakefile
----------------------------------------
You can find a report of differences in convert_report.txt.
pdk (INFO): Module conversion is a potentially destructive action. Ensure that you have committed your module to a version control system or have a backup, and review the changes above before continuing.
Do you want to continue and make these changes to your module? Yes
pdk (DEBUG): 'Gemfile.lock': already gone
pdk (DEBUG): '.bundle/config': already gone
pdk (DEBUG): writing 'metadata.json'
pdk (DEBUG): writing '.gitlab-ci.yml'
pdk (DEBUG): writing 'spec/spec_helper.rb'
pdk (DEBUG): writing '.rubocop.yml'
pdk (DEBUG): writing 'Gemfile'
pdk (DEBUG): writing '.gitignore'
pdk (DEBUG): writing '.rspec'
pdk (DEBUG): writing 'Rakefile'
pdk (DEBUG): PDK package installation not found. Trying 'bundle' from the system PATH instead.
pdk (DEBUG): Executing 'bundle lock'
pdk (DEBUG): Command environment: GEM_HOME is '/Users/dhollinger/.pdk/cache/ruby/2.4.0' and GEM_PATH is '/Users/dhollinger/.rbenv/versions/2.4.3/lib/ruby/gems/2.4.0'
pdk (DEBUG): Execution of 'bundle lock' complete (duration: 4.517938s; exit code: 6)
pdk (FATAL): The dependency puppet-module-win-default-r2.4 (>= 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.4 (>= 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-system-r2.4 (>= 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`.
Fetching gem metadata from https://rubygems.org/.........
Resolving dependencies..........
Bundler could not find compatible versions for gem "beaker":
In Gemfile:
beaker-puppet_install_helper (~> 0.7.1) was resolved to 0.7.1, which depends on
beaker (>= 2.0)
beaker-rspec was resolved to 6.2.3, which depends on
beaker (~> 3.0)
beaker_spec_helper (~> 0.1.1) was resolved to 0.1.1, which depends on
beaker (>= 2)
puppet-module-posix-system-r2.4 was resolved to 0.3.1, which depends on
master_manipulator (< 3.0.0, >= 2.1.1) was resolved to 2.1.1, which depends on
beaker (>= 2.7.0)
simp-beaker-helpers (~> 1.8.10) was resolved to 1.8.10, which depends on
beaker (~> 3.14)
Bundler could not find compatible versions for gem "fast_gettext":
In Gemfile:
fast_gettext
puppet was resolved to 5.5.0, which depends on
fast_gettext (~> 1.1.2)
Bundler could not find compatible versions for gem "fog-core":
In Gemfile:
simp-beaker-helpers (~> 1.8.10) was resolved to 1.8.10, which depends on
beaker (~> 3.14) was resolved to 3.20.0, which depends on
fog (~> 1.38) was resolved to 1.42.0, which depends on
fog-core (~> 1.45)
simp-beaker-helpers (~> 1.8.10) was resolved to 1.8.10, which depends on
beaker (~> 3.14) was resolved to 3.20.0, which depends on
fog (~> 1.38) was resolved to 1.42.0, which depends on
fog-internet-archive was resolved to 0.0.1, which depends on
fog-core
simp-beaker-helpers (~> 1.8.10) was resolved to 1.8.10, which depends on
beaker (~> 3.14) was resolved to 3.20.0, which depends on
fog (~> 1.38) was resolved to 1.42.0, which depends on
fog-joyent was resolved to 0.0.1, which depends on
fog-core (~> 1.42)
Bundler could not find compatible versions for gem "fog-json":
In Gemfile:
simp-beaker-helpers (~> 1.8.10) was resolved to 1.8.10, which depends on
beaker (~> 3.14) was resolved to 3.21.1, which depends on
fog (~> 1.38) was resolved to 1.42.0, which depends on
fog-json
simp-beaker-helpers (~> 1.8.10) was resolved to 1.8.10, which depends on
beaker (~> 3.14) was resolved to 3.21.1, which depends on
fog (~> 1.38) was resolved to 1.42.0, which depends on
fog-aws (>= 0.6.0) was resolved to 2.0.1, which depends on
fog-json (~> 1.0)
simp-beaker-helpers (~> 1.8.10) was resolved to 1.8.10, which depends on
beaker (~> 3.14) was resolved to 3.21.1, which depends on
fog (~> 1.38) was resolved to 1.42.0, which depends on
fog-joyent was resolved to 0.0.1, which depends on
fog-json (>= 1.0)
Bundler could not find compatible versions for gem "json":
In Gemfile:
simp-beaker-helpers (~> 1.8.10) was resolved to 1.8.10, which depends on
beaker (~> 3.14) was resolved to 3.20.0, which depends on
aws-sdk-v1 (~> 1.57) was resolved to 1.67.0, which depends on
json (~> 1.4)
simp-beaker-helpers (~> 1.8.10) was resolved to 1.8.10, which depends on
beaker (~> 3.14) was resolved to 3.20.0, which depends on
fog (~> 1.38) was resolved to 1.42.0, which depends on
json (~> 2.0)
Bundler could not find compatible versions for gem "mocha":
In Gemfile:
puppet-module-posix-dev-r2.4 was resolved to 0.3.1, which depends on
mocha (< 1.2.0, >= 1.0.0)
puppet-module-posix-dev-r2.4 was resolved to 0.3.1, which depends on
puppetlabs_spec_helper (< 3.0.0, >= 2.3.1) was resolved to 2.6.2, which depends on
mocha (~> 1.0)
Bundler could not find compatible versions for gem "rubocop":
In Gemfile:
puppet-module-posix-dev-r2.4 was resolved to 0.3.1, which depends on
rubocop (~> 0.49.0)
puppet-module-posix-dev-r2.4 was resolved to 0.3.1, which depends on
rubocop-rspec (~> 1.16.0) was resolved to 1.16.0, which depends on
rubocop (>= 0.49.0)
Bundler could not find compatible versions for gem "serverspec":
In Gemfile:
serverspec (~> 2.39.0)
beaker-rspec was resolved to 6.2.3, which depends on
serverspec (~> 2)
pdk (FATAL): Unable to resolve Gemfile dependencies.
pdk (DEBUG): /Users/dhollinger/.rbenv/versions/2.4.3/lib/ruby/gems/2.4.0/gems/pdk-1.4.1/lib/pdk/util/bundler.rb:37:in `ensure_bundle!'
pdk (DEBUG): /Users/dhollinger/.rbenv/versions/2.4.3/lib/ruby/gems/2.4.0/gems/pdk-1.4.1/lib/pdk/module/convert.rb:51:in `run'
pdk (DEBUG): /Users/dhollinger/.rbenv/versions/2.4.3/lib/ruby/gems/2.4.0/gems/pdk-1.4.1/lib/pdk/module/convert.rb:10:in `invoke'
pdk (DEBUG): /Users/dhollinger/.rbenv/versions/2.4.3/lib/ruby/gems/2.4.0/gems/pdk-1.4.1/lib/pdk/cli/convert.rb:38:in `block (2 levels) in <module:CLI>'
pdk (DEBUG): /Users/dhollinger/.rbenv/versions/2.4.3/lib/ruby/gems/2.4.0/gems/cri-2.9.1/lib/cri/command.rb:319:in `run_this'
pdk (DEBUG): /Users/dhollinger/.rbenv/versions/2.4.3/lib/ruby/gems/2.4.0/gems/cri-2.9.1/lib/cri/command.rb:264:in `run'
pdk (DEBUG): /Users/dhollinger/.rbenv/versions/2.4.3/lib/ruby/gems/2.4.0/gems/cri-2.9.1/lib/cri/command.rb:282:in `run'
pdk (DEBUG): /Users/dhollinger/.rbenv/versions/2.4.3/lib/ruby/gems/2.4.0/gems/pdk-1.4.1/lib/pdk/cli.rb:17:in `run'
pdk (DEBUG): /Users/dhollinger/.rbenv/versions/2.4.3/lib/ruby/gems/2.4.0/gems/pdk-1.4.1/exe/pdk:6:in `<top (required)>'
pdk (DEBUG): /Users/dhollinger/.rbenv/versions/2.4.3/bin/pdk:23:in `load'
pdk (DEBUG): /Users/dhollinger/.rbenv/versions/2.4.3/bin/pdk:23:in `<main>'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment