Files
Controls-docs/admin-guide/puppet/profiles/package_list.rst
T

1.2 KiB

profile::package_list

This module installs a list of packages on the node, with extra options inlcuding the filtering by OS.

This profile is usually direcly used from Puppet:

profile::repository_list{'rpm_repos::influx':}

Parameters

Name Type Default
packages list []

packages

This list contains the names of the packages to be installed. The names may be "extended" by tags, separated by :.

Tag Function
absent package will be removed
latest always latest version installed
os=redhat7 only install on given OS
os!redhat7 do not install on given OS

Example definitions:

java-11-openjdk
@Java Platform
java-1.8.0-openjdk:os=redhat8:latest:os!redhat9
java-1.8.0-openjdk:os=redhat7:absent