David,
Removing ~/.pdk did the job. I had already tried removing Gemfile.lock
thinking that was the issue.
Works good now. thanks
On Mon, Jan 28, 2019 at 10:53 AM David Schmitt
wrote:
> This Gemfile works on my debian machine, which means we can exclude a
> whole bunch of potential problems.
This Gemfile works on my debian machine, which means we can exclude a whole
bunch of potential problems. As next step, try removing your `Gemfile.lock`
and the `/home/peter/.pdk/cache/ruby/` directory.
I hope that helps.
Cheers, David
unrelated PS: the changes you made to require hiera 3.5.0 in
Gemfile
source ENV['GEM_SOURCE'] || 'https://rubygems.org'
def location_for(place_or_version, fake_version = nil)
git_url_regex = %r{\A(?(https?|git)[:@][^#]*)(#(?.*))?}
file_url_regex = %r{\Afile:\/\/(?.*)}
if place_or_version && (git_url = place_or_version.match(git_url_regex))
[fake_
please also provide the Gemfile as I've asked above. Without that it's
impossible to reproduce locally and/or diagnose.
On Mon, Jan 28, 2019 at 3:03 PM Peter Berghold
wrote:
> Yes that was done in a module created by PDK originally.
>
> Here is the debug output
>
> peter@saltycowdawg: mediawik
Yes that was done in a module created by PDK originally.
Here is the debug output
peter@saltycowdawg: mediawiki]:(master): pdk test unit --debug
pdk (INFO): Using Ruby 2.5.1
pdk (INFO): Using Puppet 6.0.2
pdk (DEBUG): Checking for missing Gemfile dependencies.
pdk (DEBUG): Using '/opt/puppetlabs/
Hi Peter,
is the module compatible to the PDK? That is, have you created the module
with the PDK, and/or ran `pdk convert`/`pdk update` successfully on it?
If no, please do so before trying to run any other PDK commands in a module.
If yes, please capture the full output of the command you're ru
When I run "pdk test unit" I get the following error:
pdk (INFO): Using Ruby 2.5.1
pdk (INFO): Using Puppet 6.0.2
pdk (FATAL):
/opt/puppetlabs/pdk/private/ruby/2.5.1/lib/ruby/site_ruby/2.5.0/rubygems.rb:289:in
`find_spec_for_exe': can't find gem bundler (>= 0.a) with executable bundle
(Gem::GemNotF