- Overview
- Module Description - What the module does and why it is useful
- Setup - The basics of getting started with puppet
- Usage - Configuration options and additional functionality
- Reference - An under-the-hood peek at what the module is doing and how
Module to install basic packages (git, curl, vim, tar) and setup vim plugins to be used for puppet development
Puppet class to install all require components to setup puppet development environment. It includes installation of curl, tar, git, vim plugins. puppet should be already installed in the system to be able to run puppet apply. Therefore, it must be run as root user.
This module depends https://github.com/ricciocri/vimrc.git repository for vim plugin installation.
Using puppet module puppet module install waymilky-vim_puppet
- Install with default parameters:
class {'vim_puppet': }
- Setup with specific parameters. Example: Disable puppet parser and disable lint warning on vim
class {'vim_puppet':
disable_puppet_parser => true,
show_lint_warning => false,
}
- Standalone setup with default parameters :
puppet apply -e "class {'vim_puppet':}"
- Packages - git, vim, tar, curl
- Directories - /root/.vim (Takes a backup of existing to /root/.vim_backup)
- Files - /root/.vimrc (Takes a backup of existing to /root/.vimrc)
- Others - More details in Reference section
Puppet should be already installed
Class Parameters can be overridden for custom need
-
[* disable_puppet_parser *]
Disables puppet parser validate checks if set to false. Required, Default => false -
[* disable_puppetlint *] Disables puppet-lint checks if set to false. Required, Default : false
-
[* exec_path *] Exec path used by exec resource Required, Default : [ '/usr/local/bin/', '/bin/', '/usr/bin' ]
-
[* misc_packages *] Array list of other packages required during puppet development Required, Default : ['vim','curl','tar','git']
This project uses and is dependent on below excellent sources:
- Test cases
- ...