1CDIST-TYPE__PACKAGE_OPKG(7) cdist CDIST-TYPE__PACKAGE_OPKG(7)
2
3
4
6 cdist-type__package_opkg - Manage packages with opkg
7
9 opkg is usually used on OpenWRT 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 state Either "present" or "absent", defaults to "present"
19
21 # Ensure lsof is installed
22 __package_opkg lsof --state present
23
24 # Remove obsolete package
25 __package_opkg dnsmasq --state absent
26
28 cdist-type__package(7)
29
31 Giel van Schijndel <giel+cdist--@--mortis.eu>
32
34 Copyright (C) 2012 Giel van Schijndel. You can redistribute it and/or
35 modify it under the terms of the GNU General Public License as pub‐
36 lished by the Free Software Foundation, either version 3 of the Li‐
37 cense, or (at your option) any later version.
38
40 ungleich GmbH 2020
41
42
43
44
456.9.6 Apr 20, 2021 CDIST-TYPE__PACKAGE_OPKG(7)