Forge Home

packagex_resource

Extended puppet package resource

10,701 downloads

10,069 latest version

3.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.

Support the Puppet Community by contributing to this module

You are welcome to contribute to this module by suggesting new features, currency updates, or fixes. Every contribution is valuable to help ensure that the module remains compatible with the latest Puppet versions and continues to meet community needs. Complete the following steps:

  1. Review the module’s contribution guidelines and any licenses. Ensure that your planned contribution aligns with the author’s standards and any legal requirements.
  2. Fork the repository on GitHub, make changes on a branch of your fork, and submit a pull request. The pull request must clearly document your proposed change.

For questions about updating the module, contact the module’s author.

Version information

  • 0.1.5 (latest)
  • 0.1.4
  • 0.1.3
  • 0.1.2
released Jan 16th 2014

Start using this module

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

Add this module to your Puppetfile:

mod 'ptomulik-packagex_resource', '0.1.5'
Learn more about managing modules with a Puppetfile

Add this module to your Bolt project:

bolt module add ptomulik-packagex_resource
Learn more about using this module with an existing project

Manually install this module globally with Puppet module tool:

puppet module install ptomulik-packagex_resource --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.

Download

Documentation

ptomulik/packagex_resource — version 0.1.5 Jan 16th 2014

ptomulik-packagex_resource

Build Status

Table of Contents

  1. Caution
  2. Overview
  3. Module Description
  4. Setup
  5. Usage
  6. Resolved issues
  7. Known incompatibilities
  8. Limitations
  9. Development

Caution

This is an experimental module. It may be substantially changed, renamed or removed at all without a notice. Do not use in production.

Overview

NOTE: The build_options property is being renamed to package_settings. Currently it's a transition period so you may use one or the other. The build_options will be removed in next major release.

This is an enhanced version of puppet package resource. Providers for this resource type are developed as separate modules. Currently I've developed portsx provider, which is an enhanced and bug-fixed version of puppet's ports provider.

Module Description

The module re-implements puppet package resource adding some crucial features to it and its providers. Currently new features include:

  • package_settings - a property (ensurable) that allows defining additional options for package.
  • build_options - is an "alias" for package_settings; don't use both at the same time for a given resource instance!

The package_settings are independent of the well known install_options and uninstall_options. The definition of package_settings is generally provider-specific. Whereas install_options and uninstall_options are just parameters (not ensurable), the package_settings is a fully featured property, that is the settings may be ensured on a package. See portsx provider for an example implementation of package settings.

Setup

What packagex affects

  • installs, upgrades, reinstalls and uninstalls packages.

Setup Requirements

You may need to enable pluginsync in your puppet.conf.

Beginning with packagex

Its usage is essentially same as for the original package resource.

Usage

Its usage is essentially same as for the original package resource.

Limitations

Currently nothing special.

Development

The project is held at github: