Skip to content
This repository has been archived by the owner on Jul 14, 2021. It is now read-only.

Provision command #383

Merged
merged 7 commits into from
May 8, 2015
Merged

Provision command #383

merged 7 commits into from
May 8, 2015

Conversation

danielsdeleo
Copy link
Contributor

Adds a chef provision command to ChefDK. I created this because, when I was working on a Policyfile "walkthrough" blog post, I had no good way to provision production-y machines (which I needed to properly demonstrate how cookbook "versioning" works in Policyfiles). I mostly like how Chef Provisioning works but I wanted some command line integration for convenience.

For now, I'm considering this an experimental feature. It covers my use cases but I'm only scratching the surface of what you can do with Chef Provisioning, so it's possible that some design decision I made will not produce a good user experience for many cases, therefore I want to explicitly reserve the right to make radically breaking changes for a little while. Once this is shipped I'll solicit feedback and we'll see how it goes. When everything seems stable, I'll take off the warning and add a complementary cookbook generator.

@chef/client-core

@danielsdeleo
Copy link
Contributor Author

Also, now that ChefDK depends directly on Chef Provisioning, maybe we should remove Chef Provisioning from the omnibus package and just manage the version via ChefDK's gemspec?

@charlesjohnson
Copy link
Contributor

❤️

@tyler-ball
Copy link
Contributor

Now that we have both POLICYFILE_README and PROVISION_README, I think we should just create a README or DOCS folder and move these into that

machine_options(options)

# This forces a chef run every time, which is sensible for some
# `chef provision` # use cases.
Copy link
Contributor

Choose a reason for hiding this comment

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

Unnecessary second #

@danielsdeleo
Copy link
Contributor Author

@tyler-ball I'm cool with that, on the other hand both of these are supposed to be temporary until we have real docs on docs.chef.io.

@jtimberman
Copy link
Contributor

🍰

@danielsdeleo danielsdeleo merged commit e2b91b5 into master May 8, 2015
@danielsdeleo danielsdeleo deleted the provision-command branch May 8, 2015 01:40
@tyler-ball
Copy link
Contributor

👍

ksubrama pushed a commit that referenced this pull request Jan 11, 2016
Document access to Chef-only private boxes in Atlas.
@chef-boneyard chef-boneyard locked and limited conversation to collaborators Feb 14, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

Successfully merging this pull request may close these issues.

5 participants