Forge Home

cumulus_license

installs a Cumulus Linux license

13,365 downloads

12,077 latest version

4.6 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

  • 1.1.0 (latest)
  • 1.0.2
  • 1.0.1 (deleted)
  • 1.0.0 (deleted)
released Jul 15th 2015
This version is compatible with:
  • CumulusLinux
This module has been deprecated by its author since May 15th 2020.

Start using this module

Documentation

cumuluslinux/cumulus_license — version 1.1.0 Jul 15th 2015

cumulus_license

Table of Contents

  1. Overview
  2. Module Description
  3. Setup
  4. Usage
  5. Reference
  6. Limitations
  7. Development

Overview

This module installs a Cumulus Linux license.

Module Description

Installs a Cumulus Linux license file on a Cumulus Linux switch.

If a license is already installed, the module will not attempt to overwrite the existing license. You can overwrite the license with the force parameter. Using the force parameter will remove the idempotent behaviour of the module, so use force mode with caution.

When installing a license on a switch, use a non-EULA license. To confirm if you have a non-EULA license, run cl-license -i <license path> and confirm that it does not prompt you for a EULA.

Version 1.0.x of the module will work with 2.5.2 and lower. Version 1.1.x and higher will work with 2.5.3 and higher

For more details, read the Cumulus Linux User Guide and search for "License". Also review the Cumulus Linux Licensing Knowledge Base

Setup

What cumulus_license affects

This module uses the Cumulus Linux cl-license command to manage the license.

To activate a license for the first time, the switchd service must be restarted.

NOTE: Restarting the switchd daemon is disruptive.

Usage

Install a license file if one is not already installed:

node default {
   cumulus_license { 'example':
         src => 'http://example.com/cumulus.lic',
      notify => Service['switchd']
    }
}

Reference

###cl_license

Parameters

src: This is the URL to the license file location. It can be a local path like /root/new.lic or a http or https URL.

force: Installs the license even though one exists on the switch.

Limitations

This module only works on Cumulus Linux.

This module does not overwrite an existing license. Use the force keyword to perform a license renewal.

puppet resource cumulus_license doesn't work. This feature will be implemented in a later version.

Development

  1. Fork it.
  2. Create your feature branch (git checkout -b my-new-feature).
  3. Commit your changes (git commit -am 'Add some feature').
  4. Push to the branch (git push origin my-new-feature).
  5. Create new Pull Request.

Cumulus icon

Cumulus Linux

Cumulus Linux is a software distribution that runs on top of industry standard networking hardware. It enables the latest Linux applications and automation tools on networking gear while delivering new levels of innovation and flexibility to the data center.

For further details, please see cumulusnetworks.com.