Skip to content
This repository has been archived by the owner on Jun 30, 2021. It is now read-only.
/ puppet-snapd Public archive

Puppet module to install and manage the snapd service for installing and managing snap packages.

Notifications You must be signed in to change notification settings

kemra102/puppet-snapd

Repository files navigation

snapd

Table of Contents

  1. Description
  2. Setup - The basics of getting started with snapd
  3. Usage - Configuration options and additional functionality
  4. Reference - An under-the-hood peek at what the module is doing and how
  5. Limitations - OS compatibility, etc.
  6. Development - Guide for contributing to the module

Description

This module manages the snapd package and service. snapd is a tool that enables the installation of snap packages on a Linux system.

See the official website for more detailed information.

Setup

What snapd affects

This module currently manages the following items:

  • The snapd package.
  • The snapd service.

Usage

To use this module simply include it:

class { 'snapd': }

or

include ::snapd

Install packages using the package provider

package { ['phpstorm', 'atom']:
  ensure   => latest,
  provider => snap,
}

package { 'spotify':
  ensure   => purged,
  provider => snap,
}

Unsupported Operating Systems

If your OS is not listed in Limitations it may still work regardless.

Debian Sid for example should work without any changes.

Reference

snapd

This is the main class. Currently it has no configurable items.

Limitations

Supported Operating Systems:

  • Arch Linux
  • Ubuntu 16.04 & 16.10

Supported Puppet Versions:

  • Puppet Enterprise >= 2015.2
  • Puppet Open Source >= 4.0.0

Provider

We provide a basic package provider which allows installs and removes, we will need to add latest,query and update support in the future.

Development

To contribute to the development of this module please raise a pull request.

Particular help is currently highly desired particularly on the following items:

  • Package provider query,latest and update functionality
  • Support for more Operating Systems.
  • More testing.

About

Puppet module to install and manage the snapd service for installing and managing snap packages.

Resources

Stars

Watchers

Forks

Packages

No packages published