Closed thenaterhood closed 9 years ago
It looks like you're using a capital "L" inuseWhiteListOnRepurpose
. The code expects Whitelist
. Did you try with both?
Apologies for the delay @thenaterhood . Thanks @asheepapart.
Nate, did you verify the config you are using. As Benjamin says, the code does expect useWhitelistOnRepurpose
Please reopen if issue is unresolved for you.
It looks like a lowercase "L" should work fine. I would like to point out that the documentation lists the option with a capital "L" however whenever it is mentioned.
I think the confusion comes from the fact that the configuration is useWhitelistOnRepurpose
, but the variables in the code are useWhiteListOnRepurpose
, and the base dev config file has the wrong value too.
I'll go through and fix up the example conf, and fix the docs.
Whitelisting attribute fields using keepSomeMetaOnRepurpose doesn't appear to work. Tried with a few combinations of options, with and without deleteMetaOnDecommission which appears to ignore the option and just remove everything (tracing the logic through the code), and without which appears from the code that it should observe the whitelist but instead doesn't remove anything at all.
We're trying to use it in conjunction with deleteIpAddressOnDecommission and deleteIpmiOnDecommision.
Using a blacklist (deleteSomeMetaOnRepurpose) works as expected, which we're considering using in the interim. The relevant section of our configuration, which does not work, is:
Of note, the feature is documented in the config documentation but there is no associated example in the collins configuration examples that we've found. We're using a build of collins from master as of a couple weeks ago.