-
Notifications
You must be signed in to change notification settings - Fork 59
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[DO NOT MERGE] Rename InSpec Attributes to Inputs #401
base: main
Are you sure you want to change the base?
Conversation
…to inputs. Tests fail. Signed-off-by: Clinton Wolfe <[email protected]>
Signed-off-by: Clinton Wolfe <[email protected]>
Signed-off-by: Clinton Wolfe <[email protected]>
Signed-off-by: Clinton Wolfe <[email protected]>
Signed-off-by: Clinton Wolfe <[email protected]>
we'll need to do some work in automate to ensure we're looking for that inputs field: chef/automate#194 |
Let's find out the extent of any possible breakage risk to existing customers before this one progresses - should hold for now |
This PR exists to look for feedback and alert stakeholders to possible disruption. It's not a particularly urgent change. We'll hold until the change and its impact is better understood, and until there are any downstream changes needed in other products have been implemented. That said, technical reviewers, please do give feedback: is this sufficiently backwards compatible? will this impact Automate on node save? Can that be avoided? Do we want a major version bump for this change? |
DO NOT MERGE flagged per discussion |
At least a couple of concerns:
|
Description
As one of the last remaining parts of the renaming of InSpec Attributes to Inputs, this PR renames the
default['audit']['attributes']
chef infra attribute todefault['audit']['inputs']
.default['audit']['attributes']
is retained, but any values set there are merged intodefault['audit']['inputs']
and a warning is emitted.Additionally, the attributes
node['audit']['attributes_save']
has been renamed tonode['audit']['inputs_save']
andnode['audit']['chef_node_attribute_enabled']
tonode['audit']['chef_node_input_enabled']
. At this time no backwards compatibility is in place for these two features, but that could be added if desired.Should this be on a major release?
Issues Resolved
Fixes #360
Also gets the attributes test suite passing, which had been failing.
Check List