52 lines
1.1 KiB
Text
52 lines
1.1 KiB
Text
cdist-type__package_update_index(7)
|
|
===================================
|
|
Ricardo Catalinas Jiménez <jimenezrick--@--gmail.com>
|
|
|
|
|
|
NAME
|
|
----
|
|
cdist-type__package_update_index - Update the package index
|
|
|
|
|
|
DESCRIPTION
|
|
-----------
|
|
This cdist type allows you to update the package index on the target.
|
|
It will automatically use the appropriate package manager.
|
|
|
|
|
|
REQUIRED PARAMETERS
|
|
-------------------
|
|
None
|
|
|
|
|
|
OPTIONAL PARAMETERS
|
|
-------------------
|
|
type::
|
|
The package manager to use. Default is determined based on the $os
|
|
explorer variable.
|
|
e.g. apt for Debian
|
|
yum for Red Hat
|
|
pacman for Arch Linux
|
|
|
|
|
|
EXAMPLES
|
|
--------
|
|
|
|
--------------------------------------------------------------------------------
|
|
# Update the package index on the target
|
|
__package_update_index
|
|
|
|
# Force use of a specific package manager
|
|
__package_update_index --type apt
|
|
--------------------------------------------------------------------------------
|
|
|
|
|
|
SEE ALSO
|
|
--------
|
|
- cdist-type(7)
|
|
|
|
|
|
COPYING
|
|
-------
|
|
Copyright \(C) 2014 Ricardo Catalinas Jiménez. Free use of this software is
|
|
granted under the terms of the GNU General Public License version 3 (GPLv3).
|