Standardise files with files in sous-chefs/repo-management 4.0.0. Standardise files with files in sous-chefs/repo-management 4.0.1. This project adheres to Semantic Versioning. Install the vagrant-omnibus plugin (any version) and version "1.2.0"Īll notable changes to this project will be documented in this file. To specify plugins for installation in the default recipe, specify anĪrray for the node attribute. Then include the default recipe on the node's run list. Or, just set the version and let the magic happen. Do this in a role, orĪ "wrapper" cookbook. Set the url and checksum attributes on the node. Adding env CONFIGURE_ARGS: 'with-libvirt-include=/usr/include/libvirt with-libvirt-lib=/usr/lib' to the vagrant_plugin resource properties has worked. Installing this plugin has required setting environment variables on ubuntu system. Vagrant gem installed, you'll need to clean up all versions. Likewise, if you have multiple copies of the May need to manually remove and clean up anything leftover, such as If you have aĬustomized Ruby environment, such as with rbenv or rvm (or other), you Then use Chef's built-in RubyGems to uninstall. Meaning, it will use the gemīinary in the PATH of the shell executing Chef to uninstall, and This recipe will attempt to uninstall the vagrant gem with the If the node attribute is set, the plugins are installed for only that user. If that attribute is a hash, it installs the specified plugin version. Iterates over the node attribute and installs the listed plugins. If the node attribute is not empty, it includes the install_plugins recipe to install any required vagrant plugins. OS specific code is in the install custom resource. The default recipe uses the vagrant resource to install Vagrant. It ' installs the vagrant-omnibus plugin ' doĮxpect(chef_run).to install_vagrant_plugin( ' vagrant-omnibus ').with( If you want to install specific plugin versions, use the second form of the array, e.g. %w(vagrant-aws vagrant-ohai vagrant-omnibus) The attributes defined for this cookbook are organized under theĬalculated by vagrant_package_uri helper method.Ĭalculated by vagrant_sha256sum helper method.Īttributes in the table below are under the node namespace. The vagrant installation resource does not install or set up FUSE. Use of the AppImage version of Vagrant assumes you have set up support for FUSE filesystems. This cookbook has test-kitchen support for Windows and Mac OS X, but requires custom Vagrant boxes.īecause Vagrant is installed as a native system package, Chef must run as a privileged user (e.g., root or Administrator). May work on other Debian/RHEL family distributions with or without modification. This cookbook attempts to exit gracefully in places where unsupported platforms may cause an issue, but it is strongly recommended that this cookbook not be used on an unsupported platform's node run list or used as a dependency for cookbooks used on unsupported platforms. Linux (rpm-packaged based platforms, e.g., RHEL and CentOS).Linux (deb-package based platforms, e.g., Debian and Ubuntu).However, the only platforms with packages provided are: Vagrant does not specifically list supported platforms on the project web site. This cookbook should not be used on platforms that Vagrant itself does not support. If you’d like to know more please visit or come chat with us on the Chef Community Slack in #sous-chefs. The Sous Chefs are a community of Chef cookbook maintainers working together to maintain important cookbooks. This cookbook is maintained by the Sous Chefs. This cookbook is not supported for installing versions of Vagrant older than 1.6. A recipe is provided for removing the gem, see Recipes. This cookbook is not intended to be used for vagrant "1.0" (gem install) versions. Installs Vagrant 1.6+ and manages Vagrant plugins via a vagrant_plugin resource.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |