Skip to content
This repository has been archived by the owner on Dec 5, 2020. It is now read-only.

Added Import for data bag, data bag item, environment,role and node #34

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

terricain
Copy link

@terricain terricain commented Apr 23, 2020

Adds support for importing the following resources

Also adds a validation function to ensure the server URL has a trailing slash, while it might be a go-chef issue it would be better to at least tell the user.

TODO:

  • Add Server URL validation
  • Add Data Bag import
  • Add Data Bag Item import
  • Add Environment import
  • Add Node import
  • Add Role import
  • Update Docs to warn about trailing slash
  • Update chef_environment example
  • Update chef_node example
  • Update chef_role example
  • Add import info to chef_data_bag_item
  • Add Data Bag import test
  • Add Data Bag Item import test
  • Add Environment import test
  • Add Node import test
  • Add Role import test

Fixes #8
Fixes #15
Fixes #26

@terricain terricain changed the title Added Import for data bag, data bag item, environment and role Added Import for data bag, data bag item, environment,role and node Apr 23, 2020
@terricain
Copy link
Author

@kmoe or @appilon does someone mind reviewing this?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

resource chef_data_bag doesn't support import chef_url requires a trailing slash Chef_node import missing
1 participant