i was looking at API for installing package on particular host, i have 2
packages, test-1.0.1.rpm and test.1.0.2, now i wan to install specific
release 1.0.1, i dont find API has option to pass NEVRA, is there anyway to
do that using API call ?
PUT /api/hosts/:host_id/packages/install
Install packages remotely
Params
Param name Description
*host_id *
required
ID of the host
Validations:
···
-
string from 2 to 128 characters containing only alphanumeric characters,
space, ‘_’, ‘-’ with no leading or trailing space…
This looks critical to us, we have multiple release or rpms in a particular
repository and want to install specific release only, when i try with
hammer CLI i get
···
=============================================================================================================================================================
Package Arch
Version
Repository
Size
=============================================================================================================================================================
Installing:
ems x86_64 1.0-3
my_repo 1.8 k
Transaction Summary
Install 1 Package
On Monday, 12 December 2016 14:12:36 UTC+5:30, Unix SA wrote:
Hello,
i was looking at API for installing package on particular host, i have 2
packages, test-1.0.1.rpm and test.1.0.2, now i wan to install specific
release 1.0.1, i dont find API has option to pass NEVRA, is there anyway to
do that using API call ?
PUT /api/hosts/:host_id/packages/install
Install packages remotely
Params
Param name Description
*host_id *
required
ID of the host
Validations:
string from 2 to 128 characters containing only alphanumeric
characters, space, ‘_’, ‘-’ with no leading or trailing space…