2012-01-04 18:08:45 +00:00
|
|
|
cdist-type__package_luarocks(7)
|
2012-02-08 21:16:09 +00:00
|
|
|
===============================
|
2012-01-04 18:08:45 +00:00
|
|
|
Christian G. Warden <cwarden@xerus.org>
|
|
|
|
|
|
|
|
|
|
|
|
NAME
|
|
|
|
----
|
|
|
|
cdist-type__package_luarocks - Manage luarocks packages
|
|
|
|
|
|
|
|
|
|
|
|
DESCRIPTION
|
|
|
|
-----------
|
|
|
|
LuaRocks is a deployment and management system for Lua modules.
|
|
|
|
|
|
|
|
|
|
|
|
REQUIRED PARAMETERS
|
|
|
|
-------------------
|
|
|
|
state::
|
2012-02-08 21:16:09 +00:00
|
|
|
The state the package should be in, either "present" or "absent"
|
|
|
|
(the old values "installed" or "removed" will be removed in cdist 2.1).
|
2012-01-04 18:08:45 +00:00
|
|
|
|
|
|
|
|
|
|
|
OPTIONAL PARAMETERS
|
|
|
|
-------------------
|
|
|
|
name::
|
2012-02-08 21:16:09 +00:00
|
|
|
If supplied, use the name and not the object id as the package name.
|
2012-01-04 18:08:45 +00:00
|
|
|
|
|
|
|
|
|
|
|
EXAMPLES
|
|
|
|
--------
|
|
|
|
|
|
|
|
--------------------------------------------------------------------------------
|
|
|
|
# Ensure luasocket is installed
|
2012-02-08 21:23:31 +00:00
|
|
|
__package_luarocks luasocket --state present
|
2012-01-04 18:08:45 +00:00
|
|
|
|
|
|
|
# Remove package
|
2012-02-08 21:23:31 +00:00
|
|
|
__package_luarocks luasocket --state absent
|
2012-01-04 18:08:45 +00:00
|
|
|
--------------------------------------------------------------------------------
|
|
|
|
|
|
|
|
|
|
|
|
SEE ALSO
|
|
|
|
--------
|
|
|
|
- cdist-type(7)
|
|
|
|
- cdist-type__package(7)
|
|
|
|
|
|
|
|
|
|
|
|
COPYING
|
|
|
|
-------
|
|
|
|
Copyright \(C) 2012 SwellPath, Inc. Free use of this software is
|
|
|
|
granted under the terms of the GNU General Public License version 3 (GPLv3).
|