-
Notifications
You must be signed in to change notification settings - Fork 20
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
OC 9450 - Auto generate chef node name when not input by user #30
Conversation
The prefix 'os' was used to indicate 'OpenStack'. I wonder if we could make this show a prefix based on the provider? We could change the signature of
|
There's already support for using -N to name the nodes, I'm not sure we need to worry about multi-node naming here. This is just about automatically providing a unique name with a prefix identifying the provider. FWIW, spiceweasel does multi-node provisioning with an iterator. |
…uktaa-oc-9450-auto-generation-names
end | ||
|
||
describe "#get_node_name" do | ||
it "auto generates chef_node_name" do |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we add an additional spec that generates two names (or more) and validates that they are unique?
Added rspec test to test uniqueness of auto genrated chef_node_names. |
OC 9450 - Auto generate chef node name when not input by user
No description provided.