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

Example Request: How to Restore Node(s) from a knife ec backup job along with ACL Permissions #57

Open
1 of 4 tasks
danielcbright opened this issue Dec 3, 2020 · 0 comments

Comments

@danielcbright
Copy link
Contributor

Example Request

This example request includes usage of the following Chef products (select one
or more
):

  • Chef Automate
    • Includes Chef Infra Server, Chef Infra Client, Chef Workstation and Supermarket
  • Chef Workstation
    • Includes Chef Workstation only
  • Habitat
    • Includes Habitat, Habitat Builder (on-prem and SaaS)
  • InSpec
    • Includes InSpec, Ad-hoc Automate jobs, Audit Cookbook

Problem Statement

Currently, if a node is deleted from a Chef Infra Server, and there is a backup of that node via knife ec backup, the node can be restored using knife node from file my_node.json, however, the permissions for the node to access it's own node object are not restored and must be manually done by granting permissions to itself via Chef Manage. This is not an automated way of restoring a node, there are most likely API calls or knife raw commands that can be used to restore the proper permissions as well as the node object itself. This example would show how to do that.

External References

  • N/A

Additional Notes

  • N/A
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant