1CDIST-TYPE__PACKAGE_PKG_OPENBSD(7) cdist CDIST-TYPE__PACKAGE_PKG_OPENBSD(7)
2
3
4
6 cdist-type__package_pkg - Manage OpenBSD packages
7
9 This type is usually used on OpenBSD to manage packages.
10
12 None
13
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 avoid ambiguity.
22
23 state Either "present" or "absent", defaults to "present"
24
25 pkg_path
26 Manually specify a PKG_PATH to add packages from.
27
29 # Ensure zsh is installed
30 __package_pkg_openbsd zsh --state present
31
32 # Ensure vim is installed, use flavor no_x11
33 __package_pkg_openbsd vim --state present --flavor no_x11
34
35 # If you don't want to follow pythonX packages, but always use python
36 __package_pkg_openbsd python --state present --name python2
37
38 # Remove obsolete package
39 __package_pkg_openbsd puppet --state absent
40
41 # Add a package using a particular mirror
42 __package_pkg_openbsd bash \
43 --pkg_path http://openbsd.mirrorcatalogs.com/snapshots/packages/amd64
44
46 cdist-type__package(7)
47
49 Andi Brönnimann <andi-cdist--@--v-net.ch>
50
52 Copyright (C) 2011 Andi Brönnimann. Free use of this software is
53 granted under the terms of the GNU General Public License version 3
54 (GPLv3).
55
57 ungleich GmbH 2021
58
59
60
61
627.0.0 Jul 31, 2022CDIST-TYPE__PACKAGE_PKG_OPENBSD(7)