2012-02-19 18:51:04 +00:00
|
|
|
cdist-type__package_opkg(7)
|
2016-05-20 06:50:56 +00:00
|
|
|
===========================
|
2016-06-23 14:08:59 +00:00
|
|
|
|
|
|
|
NAME
|
|
|
|
----
|
|
|
|
cdist-type__package_opkg - Manage packages with opkg
|
2012-02-19 18:51:04 +00:00
|
|
|
|
|
|
|
|
|
|
|
DESCRIPTION
|
|
|
|
-----------
|
|
|
|
opkg is usually used on OpenWRT to manage packages.
|
|
|
|
|
|
|
|
|
|
|
|
REQUIRED PARAMETERS
|
|
|
|
-------------------
|
2012-10-07 15:51:15 +00:00
|
|
|
None
|
2012-02-19 18:51:04 +00:00
|
|
|
|
|
|
|
|
|
|
|
OPTIONAL PARAMETERS
|
|
|
|
-------------------
|
2016-05-20 06:50:56 +00:00
|
|
|
name
|
2012-02-19 18:51:04 +00:00
|
|
|
If supplied, use the name and not the object id as the package name.
|
|
|
|
|
2016-05-20 06:50:56 +00:00
|
|
|
state
|
2012-11-07 18:22:02 +00:00
|
|
|
Either "present" or "absent", defaults to "present"
|
2012-10-07 15:51:15 +00:00
|
|
|
|
2012-02-19 18:51:04 +00:00
|
|
|
|
|
|
|
EXAMPLES
|
|
|
|
--------
|
|
|
|
|
2016-05-20 06:50:56 +00:00
|
|
|
.. code-block:: sh
|
|
|
|
|
|
|
|
# Ensure lsof is installed
|
|
|
|
__package_opkg lsof --state present
|
2012-02-19 18:51:04 +00:00
|
|
|
|
2016-05-20 06:50:56 +00:00
|
|
|
# Remove obsolete package
|
|
|
|
__package_opkg dnsmasq --state absent
|
2012-02-19 18:51:04 +00:00
|
|
|
|
|
|
|
|
|
|
|
SEE ALSO
|
|
|
|
--------
|
2016-06-30 10:09:07 +00:00
|
|
|
:manpage:`cdist-type__package`\ (7)
|
2016-06-17 19:28:16 +00:00
|
|
|
|
|
|
|
|
|
|
|
AUTHORS
|
|
|
|
-------
|
|
|
|
Giel van Schijndel <giel+cdist--@--mortis.eu>
|
2012-02-19 18:51:04 +00:00
|
|
|
|
|
|
|
|
|
|
|
COPYING
|
|
|
|
-------
|
|
|
|
Copyright \(C) 2012 Giel van Schijndel. Free use of this software is
|
|
|
|
granted under the terms of the GNU General Public License version 3 (GPLv3).
|