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
Hello. I'm trying to use create_resources() or ensure_resource() with this module and I'm running into issues with resource type 'redis' not found issues. I'm able to instantiate the module using "class { 'redis':}" but not with those two functioned mentioned. Is this a known limitation? Thanks
The text was updated successfully, but these errors were encountered:
Info: Retrieving pluginfacts
Info: Retrieving plugin
Info: Loading facts
Error: Could not retrieve catalog from remote server: Error 400 on SERVER: Puppet::Parser::AST::Resource failed with error ArgumentError: Invalid resource type redis at /etc/puppet/environments/qa3/modules/ops/manifests/redis/cache.pp:5 on node cache003.qa3.ca3.foo.co
Warning: Not using cache on failed catalog
Error: Could not retrieve catalog; skipping run
The missing type error is confusing because if I change my manifest to:
class ops::redis::cache (
) {
class { 'redis':
package_name => 'ops-redis28',
}
}
the catalog compiles and executes as expected.
Do you know if I need to wrap the redis class in a define to make create_resources work as expected?
Hello. I'm trying to use create_resources() or ensure_resource() with this module and I'm running into issues with resource type 'redis' not found issues. I'm able to instantiate the module using "class { 'redis':}" but not with those two functioned mentioned. Is this a known limitation? Thanks
The text was updated successfully, but these errors were encountered: