After making a change on a requisition using provision.pl, the script is returning the following:
$ ./provision.pl asset set Local L1002 address1 "Planet Earth"
303 See Other at ./provision.pl line 679
main::post('Local/nodes/L1002/assets', 'XML::Twig::Elt=HASH(0x2414bc0)') called at ./provision.pl line 493
main::cmd_asset('set', 'Local', 'L1002', 'address1', 'Planet Earth') called at ./provision.pl line 110
But, the change was successfully applied:
$ ./provision.pl list Local
- Local (last updated: 2013-08-27T08:36:32.267-04:00)
- centos-opennms (foreign ID: L1002)
- building: Local
- address1=Planet Earth
- 192.168.32.102 (eth0)
- SNMP Primary: P
- Status: 1
It is expected that provision.pl does not return anything if the command was successfully executed.