create_resource is for resources, not classes. Also if you change it
from a class to a define, the resource name in your example would be:
production_scp_acounts:scp_accounts. If you want a custom resource
called scp::account, your module layout should be:
modules
- scp
- manifests
- account.pp
define scp::account {
...
}
Thanks,
Nan
I need to be more precise about what I write, it will work for a class:
class hello_world {
notify { "hi": }
}
create_resource("class", {hello_world})
I should of wrote "in your case, create_resource is intended for
resources, not classes."
Thanks,
Nan