Installs or compiles/installs vim.
- Ubuntu/Debian
- RHEL/CentOS/Scientific/Amazon/Oracle
- Fedora
- openSUSE / SUSE Linux Enterprises
- Chef 17.5+ for native archive extraction with
strip_components.
- none
- vim_package: install or remove distribution packages and optional extras.
- vim_source: build upstream Vim at its default
/usr/localprefix, with safe manifest-based removal.
vim_package 'editor' do
extra_packages ['vim-doc']
endOr compile from the pinned upstream source:
vim_source 'editor'Recipes and node attributes are removed in this major release. Follow the migration guide to replace existing callers. Source removal preserves unrelated and locally modified files; it never recursively deletes the shared installation prefix.
Author: Cookbook Engineering Team (cookbooks@chef.io)
Copyright: 2008-2016, Chef Software, Inc.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.