Forge Home

vim

Configure and manage vim

10,097 downloads

113 latest version

3.0 quality score

We run a couple of automated
scans to help you access a
module's quality. Each module is
given a score based on how well
the author has formatted their
code and documentation and
modules are also checked for
malware using VirusTotal.

Please note, the information below
is for guidance only and neither of
these methods should be considered
an endorsement by Puppet.

Version information

  • 0.2.4 (latest)
  • 0.2.3
  • 0.2.1
  • 0.2.0
  • 0.1.3
  • 0.1.2
released Jun 25th 2024
This version is compatible with:

Start using this module

  • r10k or Code Manager
  • Bolt
  • Manual installation
  • Direct download

Add this module to your Puppetfile:

mod 'ULHPC-vim', '0.2.4'
Learn more about managing modules with a Puppetfile

Add this module to your Bolt project:

bolt module add ULHPC-vim
Learn more about using this module with an existing project

Manually install this module globally with Puppet module tool:

puppet module install ULHPC-vim --version 0.2.4

Direct download is not typically how you would use a Puppet module to manage your infrastructure, but you may want to download the module in order to inspect the code.

Download
Tags: vim, vi

Documentation

ULHPC/vim — version 0.2.4 Jun 25th 2024

-- mode: markdown; mode: auto-fill; fill-column: 80 --

Vim Puppet Module

Puppet Forge License Supported Platforms

Configure and manage vim

  Copyright (c) 2015 ULHPC Management Team <hpc-sysadmins@uni.lu>
  

Synopsis

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.

Dependencies

See metadata.json. In particular, this module depends on

General Parameters

See manifests/params.pp

Overview and Usage

class vim

 include 'vim'

Librarian-Puppet / R10K Setup

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 

Issues / Feature request

You can submit bug / issues / feature request using the ULHPC/vim Puppet Module Tracker.

Developments / Contributing to the code

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.

Tests on Vagrant box

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.

Resources

Git

You should become familiar (if not yet) with Git. Consider these resources: