This repository has been archived by the owner on Aug 29, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 516
/
oo-admin-cartridge.txt2man
59 lines (45 loc) · 2.29 KB
/
oo-admin-cartridge.txt2man
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
NAME
oo-admin-cartridge
SYNOPSIS
oo-admin-cartridge --action install [--recursive] [--mco] [--source directory]
oo-admin-cartridge --action erase [--mco] --cartridge_vendor VENDOR --name NAME --version VERSION --cartridge_version VERSION [--force]
oo-admin-cartridge --action list [--mco]
DESCRIPTION
oo-admin-cartridge provides OpenShift Operators the ability to update and maintain a Cartridge Repository
on an OpenShift Node. Because multiple versions of a given cartridge can be installed on the system at once
simple RPM's are not viable.
This command is used for repair and development work. Restarting the mcollectived openshift agent will cause
all the cartridge in /usr/libexec/openshift/cartridges to be installed in the cartridge repository.
OPTIONS
-h|--help
Display a simple help menu.
-d|--debug
Provide additional output.
COMMANDS
--action ACTION
install copies the cartridge source found at the directory provided by --source into the cartridge repository
erase removes the named version of the cartridge from the cartridge repository. It is up to the OpenShift Operator
to determine the version of the cartridge is not being used in any gear.
list list the cartridge versions installed in the cartridge repository
--recursive
The source directory provided contains cartridge source directories, rather than pointing to one cartridge
--mco
Use the mcollective mco agent to update the cartridge repository.
--cartridge_vendor VENDOR --name NAME --version VERSION --cartridge_version VERSION
When erasing a cartridge from the cartridge repository you must provide the exact version to remove. 'redhat' is the
default VENDOR.
--force
Override verifications before erasing cartridge from repository
CONFIGURATION
/usr/libexec/openshift/cartridges
default source directory
/var/lib/openshift/.cartridge_repository
directory for storing cartridge repository
EXAMPLE
# oo-admin-cartridge --action install --recursive --source /usr/libexec/openshift/cartridges
Install all current cartridges into cartridge repository
# oo-admin-cartridge --action list
List all versions of all cartridges install in cartridge repository
SEE ALSO
AUTHOR
Jhon Honce <jhonce@redhat.com> - man page written for OpenShift Origin