umd

Puppet module for setting up UMD and CMD repositories http://repository.egi.eu
Pablo Orviz

Pablo Orviz

egiqc

4,377 downloads

4,377 latest version

1.3 quality score

Version information

  • 1.0.0 (latest)
released Jul 3rd 2019
This version is compatible with:
  • Puppet 3.x
  • RedHat
    ,
    CentOS
    ,
    Ubuntu

Start using this module

Documentation

egiqc/umd — version 1.0.0 Jul 3rd 2019

puppet-umd

This Puppet module deploys EGI's UMD and/or CMD software distribution repositories, residing at http://repository.egi.eu.

Installation

From PuppetForge

puppet module install egiqc/umd

With librarian-puppet tool

cat <<EOF >>Puppetfile
#!/usr/bin/env ruby
forge "https://forgeapi.puppetlabs.com"
mod "egiqc/umd"

or using the repository directly:

cat <<EOF >>Puppetfile
#!/usr/bin/env ruby
forge "https://forgeapi.puppetlabs.com"
mod "egi-qc/umd", :git => "git://github.com/egi-qc/puppet-umd.git"

Usage

Simplest-case scenario would be to provide the distribution parameter and leave anything else as defaults. This one-liner does the job:

puppet apply -e 'class {"umd": distribution => "umd"}'

The module will take the latest production release version for the selected distribution. Otherwise, the release version could be passed with the release variable:

class {
    "umd":
        distribution => "umd",
        release => 4,
}

Available repositories

The repositories enabled by default are:

  • base
  • updates

The rest of available repositories are:

  • testing
  • untested

which can be enabled with enable_testing_repoand enable_untested_repo, respectively.

Extra repositories (verification)

EGI Software Provisioning process uses this module for the software product's verification. Consequently, there is the possibility of providing extra repositories with verification_repofile parameter, as happen to be the verification one. Note that verification_repofile must point to a valid YUM or APT source file:

class {
    "umd":
        distribution => "umd",
        release => 4,
        verification_repofile => "http://admin-repo.egi.eu/sw/unverified/cmd-os-1.ifca.occi.ubuntu-trusty.amd64/0/3/2/repofiles/IFCA.occi.ubuntu-trusty.amd64.list"
}

EGI IGTF

This module is also able to deploy the EGI IGTF release, containing the trusted set of certification authorities in the EGI infrastructure. By default, the EGI IGTF repository is deployed and the trusted CAs are installed. To disable this feature:

class {
    "umd":
        distribution => "umd",
        igtf_repo => false,
}