Forge Home


Puppet module for CVMFS customizations


6,602 latest version

1.9 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.1.5 (latest)
  • 0.1.3
  • 0.1.1
  • 0.1.0
released Nov 8th 2016

Start using this module

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

Add this module to your Puppetfile:

mod 'desalvo-cvmfs', '0.1.5'
Learn more about managing modules with a Puppetfile

Add this module to your Bolt project:

bolt module add desalvo-cvmfs
Learn more about using this module with an existing project

Manually install this module globally with Puppet module tool:

puppet module install desalvo-cvmfs --version 0.1.5

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.

Tags: 010


desalvo/cvmfs — version 0.1.5 Nov 8th 2016


Puppet module for managing CVMFS.

Table of Contents

  1. Overview - What is the cvmfs module?


This module is intended to be used to manage CVMFS customizations. CVMFS is an HTTP based filesystem, part of the CernVM project. Both the client and server setups are supported. The server setup need a recent kernel (>= 4.2.0) to work properly via OverlayFS. The kernel-ml series from elrepo is available for both el6 and el7.


Client example

This is a simple example to add the atlas and sft CERN repositories, using a quota limit of 10 GB for the cache size and a local squid proxy The module will use the current defaults:

  • repositories = ''
  • quota_limit = 30000
  • no http_proxy
  • default cache base

Defining a cvmfs client customization

class { 'cvmfs::client':
    repositories => ',',
    quota_limit  => 10000,
    http_proxy   => '',
    cache_base   => '/var/cache/cvmfs'

Server example

This is a simple example to configure a server. It requires a recent kernel (> 4.2.0) to work properly.

include '::cvmfs::server'

Adding a repository

You can add custom repositories using in the following way:

cvmfs::repository {'':
   cvmfs_server_url => '',
   cvmfs_public_key => 'puppet:///modules/myrepo/',
   cvmfs_key_dir    => '/myrepo',


  • cvmfs_server_url: repository URL
  • cvmfs_public_key: public key of the repository
  • cvmfs_key_dir: (optional) subdir in the keys directory to use


  • This module does not install the needed kernel for servers, this is left to the users. Only stratum-0 servers have been tested.


Release Notes


Support for multiple repositories in the same key dir


Initial support for server and custom repositories


Support for cache_base option and puppet 4


Support for cvmfs 2.1.20


Fix for cvmfs 2.1 service reload


  • Initial version