Forge Home

portage

Puppet types and providers for Gentoo portage

15,138 downloads

10,323 latest version

1.5 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

  • 2.0.2 (latest)
  • 2.0.1
  • 2.0.0
  • 2.0.0-rc1 (pre-release)
  • 1.1.1
  • 1.1.0
  • 1.0.1
  • 1.0.0
  • 1.0.0-rc4 (pre-release)
  • 1.0.0-rc3 (pre-release)
  • 1.0.0-rc2 (pre-release)
  • 1.0.0-rc1 (pre-release)
  • 0.1.0
released Nov 26th 2012
This module has been deprecated by its author since May 15th 2020.

The author has suggested gentoo-portage as its replacement.

Start using this module

Documentation

adrien/portage — version 1.0.0-rc1 Nov 26th 2012

Puppet Gentoo Portage Module

Provides Gentoo portage features for Puppet.

History

2012-10-20 : adrienthebo

  • Version 0.1.0 : Initial forge release with expanded features and tests.

2011-08-31 : ramereth

  • Version 0.0.1 : Initial pre-release

Usage

The package types and providers share a few common characteristics. For one, the namevar must be a valid portage DEPEND atom. A full description of this can be found in portage(5). In addition, all of the providers are based off of the parsedfile provider, so they are ensurable. The target parameter has been altered such that if you do not give a fully qualified path, the target file will be put in the relevant /etc/portage/package.* directory.

package_use

package_use { "app-admin/puppet":
  use_flags => ["flag1", "flag2"],
  target    => "puppet-flags",
}

use_flags can be either a string or an array of strings.

package_keywords

package_keywords { 'app-admin/puppet':
  keywords  => ['~x86', '-hppa'],
  target  => 'puppet',
}"

keywords can be either a string or an array of strings.

package_mask and package_unmask

package_unmask { '=app-admin/puppet-2.7.3':
  target  => 'puppet',
}"

package_mask { 'app-admin/tree':
  target  => 'tree',
}"

Limitations

These types and providers are built around the ParsedFile provider and are subject to the same limitations.

See Also

Contributors