How to convert decimal or float value to string in perl script for Satellite APIs ?

Solution Unverified - Updated -

Issue

  • The system.setCustomValues method accepts value parameter in string format, how to convert decimal or float values to provide with this API,
Paramters:
    string sessionKey
    int serverId
    struct - Map of custom labels to custom values
        string "custom info label"
        string "value"

Environment

  • Red Hat Satellite 5.6

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.