I have a Puppet resource that generate it's own id's, so the namevar I use to create the resource is not the one I can use to update the resource for example. Is this supported?
In my scenario, each role can include multiple authorizations. I model roles and authorizations with custom types. When I create an authorization, it's name is 'schema' for example. The system will return auth-001 when it generates the authorization and I have to use 'auth-001' to update that authorization. Is it possible when writing the provider for this 'authorization' type to change the current namevar value before exiting the 'create' function of the provider?