1CDIST-TYPE__PACKAGE(7)               cdist              CDIST-TYPE__PACKAGE(7)
2
3
4

NAME

6       cdist-type__package - Manage packages
7

DESCRIPTION

9       This cdist type allows you to install or uninstall packages on the tar‐
10       get.  It dispatches the actual work to  the  package  system  dependent
11       types.
12

REQUIRED PARAMETERS

14       None
15

OPTIONAL PARAMETERS

17       name   The  name  of  the package to install. Default is to use the ob‐
18              ject_id as the package name.
19
20       version
21              The version of the package to install. Default is to install the
22              version chosen by the local package manager.
23
24       type   The  package type to use. Default is determined based on the $os
25              explorer variable.  e.g.  * __package_apt for Debian  *  __pack‐
26              age_emerge for Gentoo
27
28       state  Either "present" or "absent", defaults to "present"
29

EXAMPLES

31          # Install the package vim on the target
32          __package vim --state present
33
34          # Same but install specific version
35          __package vim --state present --version 7.3.50
36
37          # Force use of a specific package type
38          __package vim --state present --type __package_apt
39

AUTHORS

41       Steven Armstrong <steven-cdist--@--armstrong.cc>
42

COPYING

44       Copyright  (C)  2011  Steven  Armstrong. You can redistribute it and/or
45       modify it under the terms of the GNU General  Public  License  as  pub‐
46       lished  by  the  Free  Software Foundation, either version 3 of the Li‐
47       cense, or (at your option) any later version.
48
50       ungleich GmbH 2021
51
52
53
54
557.0.0                            Jul 31, 2022           CDIST-TYPE__PACKAGE(7)
Impressum