rhtconsulting / puppet-jboss_admin

Puppet module for runtime configuration of a JBoss container
MIT License
15 stars 12 forks source link

Can not generate documenation due to duplicate types in cutome_resources #45

Closed itewk closed 9 years ago

itewk commented 9 years ago

Can the resource types defined in manifests/internal/custom_resources be moved outside of the manifests directory?

The problem is the puppet script that is being used to try and generate documentation for all of the modules at the customer is chocking on having the same type defined twice in two different locations. This will happen to anyone who tries to generate puppet docs.

Error: Could not generate documentation: Definition 'jboss_admin::resource:rotocol' is already defined at /home/nfs-home/woverholt/puppet/doc/OCIO-PUPPET/modules/jboss_admin/manifests/internal/custom_resource/protocol.pp:14; cannot be redefined at /home/nfs-home/woverholt/puppet/doc/OCIO-PUPPET/modules/jboss_admin/manifests/resource/protocol.pp:14

itewk commented 9 years ago

@cpitman what do you think? that hard just to move those files up a directory and updated the generation scripts to pull them from the new location?

cpitman commented 9 years ago

No, that is certainly possible, and probably a good idea anyways.