puppetlabs / puppetlabs-node_manager

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

Submitting empty attributes #11

Closed WhatsARanjit closed 7 years ago

WhatsARanjit commented 7 years ago

Previous issues:

If you're trying to remove all classification or remove all rules, you might try:

node_group { 'test':
  rule    => [],
  classes => {},
}

...but this translates to undef and so it's an unmanaged attribute. Need a feature to be able to submit an empty value to clear out what is there.

WhatsARanjit commented 7 years ago

Fixed in https://github.com/WhatsARanjit/prosvcs-node_manager/pull/14.