Skip to content
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

Replace the cloud plugin with the cloud_v2 plugin #973

Merged
merged 3 commits into from
Apr 4, 2017
Merged

Conversation

tas50
Copy link
Contributor

@tas50 tas50 commented Apr 3, 2017

The cloud plugin is the first thing a user would see and new users would gravitate to that plugin. The plugin format is flawed though and we long ago replaced it with cloud_v2. This plugin removes the exist cloud plugin and instead has the cloud_v2 plugin write to both node['cloud'] and node['cloud_v2']. This is going to need an additional test to ensure we get data in both namespaces.

Signed-off-by: Tim Smith tsmith@chef.io

Simply set the cloud_v2 plugin to to write to both namespaces

Signed-off-by: Tim Smith <tsmith@chef.io>
Signed-off-by: Tim Smith <tsmith@chef.io>
it "populates cloud public ip" do
@plugin.run
expect(@plugin[:cloud_v2]).to_not be_nil
expect(@plugin[:cloud]).to_not be_nil
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

same here maybe check they're both equal.

Signed-off-by: Tim Smith <tsmith@chef.io>
@tas50
Copy link
Contributor Author

tas50 commented Apr 3, 2017

@lamont-granquist Fixed it for you

Copy link
Contributor

@coderanger coderanger left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1 but we should make sure a porting guide ends up in the release notes for Chef 13

@tas50 tas50 merged commit c456d2a into master Apr 4, 2017
@tas50 tas50 deleted the cloud_v_no_more branch April 4, 2017 02:27
@tas50 tas50 added the Type: Enhancement Adds new functionality. label Apr 11, 2017
@chef chef locked and limited conversation to collaborators Nov 16, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Type: Enhancement Adds new functionality.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants