puppetlabs / puppetlabs-node_manager

Create and manage PE node groups as resources.
Apache License 2.0
10 stars 21 forks source link

Duplicate `friendly_name` method #17

Closed WhatsARanjit closed 7 years ago

WhatsARanjit commented 7 years ago

Move the self. friendly_name method out of each provider and into puppet_x/node_manager/common. Both providers use it, although puppetclassify is deprecated. Moreso, the node_groups() function uses the API names and not the same friendly names. Would be good to have consistent output.

WhatsARanjit commented 7 years ago

Occurs in node_groups's https and puppetclassify providers as well as puppet_environment's puppetclassify provider. Everything but node_manager's https provider is slated for deprecation.