snapd
Version information
This version is compatible with:
- Puppet Enterprise 2018.1.x, 2017.3.x, 2017.2.x, 2017.1.x, 2016.5.x, 2016.4.x
- Puppet >= 4.0.0 < 6.0.0
- , ,
Start using this module
Add this module to your Puppetfile:
mod 'ethanhs-snapd', '1.4.0'
Learn more about managing modules with a PuppetfileDocumentation
snapd
Table of Contents
- Description
- Setup - The basics of getting started with snapd
- Usage - Configuration options and additional functionality
- Reference - An under-the-hood peek at what the module is doing and how
- Limitations - OS compatibility, etc.
- 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:
- Debian 9 & 10
- Ubuntu 16.04, 18.04, & 20.04
- Fedora 34 & 33
Supported Puppet Versions:
- Puppet Enterprise >= 2015.2
- Puppet Open Source >= 4.0.0
Provider
We provide a basic package provider which allows installs, install options, 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.
2021-05-29 - Release 1.3.0
Summary
Added Fedora support.
Features
- Added the ability for the module to be used on Fedora.
2020-04-28 - Release 1.2.0
Summary
Fixed for newer PDK and added debian support.
Features
- Added the ability for the module to be used on Debian.
- Passes install options to snapd.
2018-09-11 - Release 1.1.0
Summary
Added provider.
Features
- Added the
snap
provider for the package resource.
2017-01-08 - Release 1.0.0
Summary
Initial release.
Features
- Installs the
snapd
package. - Manages the
snapd
service.