You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jun 17, 2022. It is now read-only.
When running environment isolation, the following error is thrown: Failed to load custom type 'mysql_login_path' from '/etc/puppetlabs/code/environments/production/modules/mysql/lib/puppet/type/mysql_login_path.rb': cannot load such file -- puppet/resource_api
Expected Behavior
Puppet environment isolation should run without errors.
Steps to Reproduce
Steps to reproduce the behavior:
Add to Puppetfile: mod 'puppetlabs-resource_api', '1.1.0'
On puppet master machine, run r10k deploy environment -p -v debug2
On puppet master machine, run puppet generate types --environment production
Environment
puppet --version: 5.5.20
puppetserver version: 5.3.13
CentOS Linux release 7.8.2003
Additional Context
This module is included as a dependency for puppetlabs/mysql, which also throws a similar error during environment isolation: Error: Failed to load custom type 'mysql_login_path' from '/etc/puppetlabs/code/environments/production/modules/mysql/lib/puppet/type/mysql_login_path.rb': cannot load such file -- puppet/resource_api