Skip to content

Deprecate using "provider" in favor of "driver" in cloud provider files#24796

Merged
techhat merged 12 commits intosaltstack:developfrom
rallytime:deprecate_provider_for_driver
Jun 19, 2015
Merged

Deprecate using "provider" in favor of "driver" in cloud provider files#24796
techhat merged 12 commits intosaltstack:developfrom
rallytime:deprecate_provider_for_driver

Conversation

@rallytime
Copy link
Copy Markdown
Contributor

The use of provider: <provider-engine> has been deprecated in favor of driver: <engine-provider> to help reduce confusion in defining provider: my-ec2-config in the profile file, and then provider: ec2 in the provider file. This can get confusing pretty quickly. Replacing provider with driver in provider files should help clear up this confusion.

Here's an example provider file with the change:

my-ec2-cloud-config:
  id: 'HJGRYCILJLKJYG'
  key: 'kdjgfsgm;woormgl/aserigjksjdhasdfgn'
  private_key: /etc/salt/my_test_key.pem
  keyname: my_test_key
  securitygroup: default
  driver: ec2

Both options will work until the Nitrogen release of Salt.

@techhat
Copy link
Copy Markdown
Contributor

techhat commented Jun 18, 2015

Nice!

@rallytime
Copy link
Copy Markdown
Contributor Author

These failures are legitimate. I will take a look.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants