I'm making a custom type under Puppet 2.6.4 to manage CA certificates in an NSS certificate database by running certutil. I've got it where when I pass a content parameter with the whole -----BEGIN CERTIFICATE----- ewofifewoiihefwo wfoiefwjowejwfoifj oiejfw oefwij eoijfew ofewij weo -----END CERTIFICATE----- stuff, it will add the CA certificate. But I don't want to paste the certificate into the policy, I want to keep it in a separate file, and use source => 'puppet:///modules/pki/ca-certs/my-ca.crt' - like the file type does. Try as I might, I haven't yet been able to duplicate the magic of that parameter in my own type.
What do I really need in order to get from 'puppet:///modules/pki/ca-certs/my-ca.crt' to '-----BEGIN CERTIFICATE-----...'? Do I need cached attributes? Do I need to fetch metadata? What's about all these checksums? -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.