cyberark / conjur-puppet

Official Puppet module for CyberArk Conjur
https://forge.puppet.com/cyberark/conjur
Apache License 2.0
6 stars 3 forks source link

Running examples/puppetmaster test locally results in unknown function error #222

Closed diverdane closed 3 years ago

diverdane commented 3 years ago

Summary

Running the examples/puppetmaster/test.sh script locally results in the following error:

Error: Failed to apply catalog: Unknown function 'conjur::secret'

Steps to Reproduce

Steps to reproduce the behavior:

  1. Change directory to examples/puppetmaster
  2. Set the following environment variables:
    $ export CLEAN_UP_ON_EXIT=false
    $ export INSTALL_PACKAGED_MODULE=false
    $ export COMPOSE_PROJECT_NAME=puppetmaster_manual
  3. Run the test script:
    ./test.sh

Expected Results

Test script should pass, and the last line displayed should be:

ALL TESTS COMPLETED

Actual Results (including error logs, if applicable)

Running test results in error shown in the Summary section above.

Reproducible

sgnn7 commented 3 years ago

Closed via https://github.com/cyberark/conjur-puppet/pull/223