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

Removal of cmtool.sh #36

Closed
mafrosis opened this issue Aug 30, 2016 · 2 comments
Closed

Removal of cmtool.sh #36

mafrosis opened this issue Aug 30, 2016 · 2 comments

Comments

@mafrosis
Copy link
Contributor

Hello @annawake, could you explain the rationale behind removing cmtool.sh in f39c56c? Thanks.

@annawake
Copy link
Contributor

Sure. We've come up with a simpler way for users to inject custom functionality in these templates as boxes are built - the custom-script.sh. This is a seam where you can do things like install CM tools, if that's what you want to do.

Boxcutter never published boxes with CM tools baked in, we never ran builds with cmtools.sh, so whatever was in cmtools.sh was always poorly vetted, and oftentimes did not work.

Further, most CM tools these days are designed with a system to dynamically inject/bootstrap the CM tool into an environment, so you always have the latest version, which is a much better approach than trying to bake a version of the tool into an image. The philosophy behind the images has always been that they are JEOS images "Just Enough OS" for a configuration management tool. It's just that in the past "just enough" usually also meant the CM tool itself as many CM systems didn't have great ways to bootstrap themselves. Now it seems like CM installers have evolved and matured that's not needed so much.

That being said, you can still do what you used to do via custom-script.sh, should you want to bake in a CM tool.

@mafrosis
Copy link
Contributor Author

Thanks for the explanation. I'm probably one of the few people who uses the saltstack part of cmtool.sh, and I've been running my own patched version from my fork for a while. I'll move that into custom-script.sh and update to master.

Thanks for your work on this project!

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

2 participants