22.27.81. salt.states.portage_config

22.27.81.1. Management of Portage package configuration on Gentoo

A state module to manage Portage configuration on Gentoo

salt:
    portage_config.flags:
        - use:
            - openssl
salt.states.portage_config.flags(name, use=None, accept_keywords=None, env=None, license=None, properties=None, unmask=False, mask=False)

Enforce the given flags on the given package or DEPEND atom. Please be warned that, in most cases, you need to rebuild the affected packages in order to apply the changes.

name
The name of the package or his DEPEND atom
use
A list of use flags
accept_keywords
A list of keywords to accept. "~ARCH" means current host arch, and will be translated in a line without keywords
env
A list of environment files
license
A list of accepted licenses
properties
A list of additional properties
unmask
A boolean to unmask the package
mask
A boolean to mask the package

Docs for previous releases are available on salt.rtfd.org.

Latest Salt release: 2014.7.2

Table Of Contents

Previous topic

22.27.80. salt.states.pkgrepo

Next topic

22.27.82. salt.states.ports

SaltStack News

Upcoming SaltStack events, webinars and local meet ups and user groups.