1CDIST-TYPE__PACKAGE_PKGNG_FREEBSD(7) cdistCDIST-TYPE__PACKAGE_PKGNG_FREEBSD(7)
2
3
4

NAME

6       cdist-type__package_pkgng_freebsd - Manage FreeBSD packages with pkg-ng
7

DESCRIPTION

9       This type is usually used on FreeBSD to manage packages.
10

REQUIRED PARAMETERS

12       None
13

OPTIONAL PARAMETERS

15       name   If  supplied,  use the name and not the object id as the package
16              name.
17
18       flavor If supplied, use to avoid ambiguity.
19
20       version
21              If supplied, use to install a specific version  of  the  package
22              named.
23
24       repo   If  supplied, use to install the package named from a particular
25              repo.
26
27       state  Either "present" or "absent", defaults to "present"
28

BOOLEAN PARAMETERS

30       upgrade
31              If supplied, allow upgrading to the latest version of a package.
32

CAVEATS

34       This  type  requires  that  repository  definitions  already  exist  in
35       /etc/pkg/*.conf.  Ensure that they exist prior to use of this type with
36       __file.
37
38       pkg-ng can't upgrade a package to a  specific  version.  If  this  type
39       needs to upgrade a package, it can only ugprade to the latest available
40       version. If the "upgrade" parameter is not given and an  upgrade  needs
41       to occur, an error will result.
42

MESSAGES

44       install
45              The package was installed
46
47       remove The package was removed
48
49       upgrade
50              The package was upgraded
51
52       exist  The package was already present and thus not installed
53

EXAMPLES

55          # Ensure zsh is installed
56          __package_pkgng_freebsd zsh --state present
57
58          # Ensure vim is installed, use flavor no_x11
59          __package_pkgng_freebsd vim --state present --flavor no_x11
60
61          # If you don't want to follow pythonX packages, but always use python
62          __package_pkgng_freebsd python --state present --name python2
63
64          # Install a package from a particular repository when multiples exist
65          __package_pkgng_freebsd bash --state present --repo myrepo
66
67          # Remove obsolete package
68          __package_pkgng_freebsd puppet --state absent
69

SEE ALSO

71       cdist-type__package(7)
72

AUTHORS

74       Jake Guffey <jake.guffey--@--eprotex.com>
75

COPYING

77       Copyright  (C)  2014 Jake Guffey. You can redistribute it and/or modify
78       it under the terms of the GNU General Public License  as  published  by
79       the  Free  Software Foundation, either version 3 of the License, or (at
80       your option) any later version.
81
83       ungleich GmbH 2021
84
85
86
87
887.0.0                            Jul 31, 20C2D2IST-TYPE__PACKAGE_PKGNG_FREEBSD(7)
Impressum