Hi Bill,
thanks to your additional information, I could reproduce the issue locally:
david@davids:~/git/tmp/aug$ pdk test unit
[✔] Preparing to run the unit tests.
[✖] Running unit tests.
Evaluated 3 tests in 0.955676432 seconds: 1 failures, 0 pending.
[✔] Cleaning up after running unit tests.
Sure. Here is the init.pp from the module (the only other manifest file is
the solaris_kernel_parameter.pp I pasted earlier.
$::is_prod is a top-level boolean variable we have to indicate a node is
production.
The module sets solaris kernel parameters from a hash passed to it. It also
handles
Hi Bill,
from the code snippets you posted, nothing should be trying to initialize
SSL (and thus causing this issue). Can you post the entire module somewhere
for inspection? specifically your spec_helper.rb would be of interest. If
you can't post it publicly, you can send a copy to
pdk-maintain..
I am continuing to work on unit tests for modules using PDK, and am having
issues with the augeas resources.
I added rspec-puppet-augeas to my Gemfile.local and pdk installed it, so
that part is fine.
However, when I run the unit tests, the augeas resource fails. I tried this
on both my laptop