-- mode: markdown; mode: auto-fill; fill-column: 80 --
Configure and manage vim
Copyright (c) 2015 ULHPC Management Team <hpc-sysadmins@uni.lu>
- Online Project Page -- Sources -- Issues
Configure and manage vim This module implements the following elements:
- classes:
vim
The various operations of this repository are piloted from a Rakefile which
assumes that you have RVM installed on your system.
See metadata.json. In particular, this module depends on
include 'vim'
You can of course configure ULHPC-sudo in your Puppetfile to make it
available with Librarian puppet or
r10k by adding the following entry:
# Modules from the Puppet Forge
mod "ULHPC/vim"
or, if you prefer to work on the git version:
mod "ULHPC/vim",
:git => https://github.com/ULHPC/vim,
:ref => production
You can submit bug / issues / feature request using the ULHPC/vim Puppet Module Tracker.
If you want to contribute to the code, you shall be aware of the way this module
is organized.
These elements are detailed on doc/contributing.md
You are more than welcome to contribute to its development by sending a pull request.
The best way to test this module in a non-intrusive way is to rely on
Vagrant. The Vagrantfile at the root of the
repository pilot the provisioning of the vagrant box and relies on boxes
generated through my vagrant-vms
repository.
Once cloned, run
$> rake packer:Debian:init
To create a template. Select the version matching the once mentioned on the
Vagrantfile (7.6.0-amd64 for instance)
Then run
$> rake packer:Debian:build
This shall generate the vagrant box debian-7.6.0-amd64.box that you can then
add to your box lists:
$> vagrant box add debian-7.6.0-amd64 packer/debian-7.6.0-amd64/debian-7.6.0-amd64.box
Now you can run vagrant up from this repository to boot the VM, provision it
to be ready to test this module (see the .vagrant_init.rb
script). For instance, you can test the manifests of the tests/ directory
within the VM:
$> vagrant ssh
[...]
(vagrant)$> sudo puppet apply -t /vagrant/tests/init.pp
Run vagrant halt (or vagrant destroy) to stop (or kill) the VM once you've
finished to play with it.
You should become familiar (if not yet) with Git. Consider these resources: