Reputation: 729
I have bootstrap a node using the --json-attributes, my JSON file does not contain some attributes, but after bootstrapping the node, node does contain additional attributes, I wonder from where this additional attributes come from.
knife bootstrap --json-attributes
Upvotes: 1
Views: 860
Reputation: 54267
It is used to set additional data on the node itself during creation. This is generally not considered a good idea as it encourages special-snowflake servers which are not easy to recreate. Try putting those attributes on a role or cookbook instead.
Upvotes: 1