Resource Type: svccfg

Defined in:
lib/puppet/type/svccfg.rb
Providers:
svccfg

Overview

Manage SMF service properties with svccfg(8).

Properties

  • ensure

    The basic property that the resource should be in.

    Supported values:
    • present
    • absent
    • delcust
  • prop_fmri

    The fully composed property FMRI /properties:/ if left blank it will be built from the :fmri and :property parameters, or from :name if the format matches. FMRI must be fully qualified as svc:/path

    Supported values:
    • %r(^svc:/)
  • type

    Type of the property. Type must be defined for server side :value validation See scf_value_create(3SCF).

    String type arguments passed as an array will be treated as a single string. For multi-value string lists use type => array (RARE)

    Supported values:
    • count
    • integer
    • opaque
    • host
    • hostname
    • net_address
    • net_address_v4
    • net_address_v6
    • time
    • astring
    • ustring
    • boolean
    • fmri
    • uri
    • dependency
    • framework
    • configfile
    • method
    • template
    • template_pg_pattern
    • template_prop_pattern
  • value

    Value of the property. Value types :fmri, :opaque, :host, :hostname, :net_address, :net_address_v4, :net_address_v6, and :uri are treated as

    lists if they contain whitespace. Most array arguments are also treated as lists. See scf_value_create(3SCF)

Parameters

  • fmri

    SMF service FMRI to manipulate. FMRI must be fully qualified as svc:/path

    Supported values:
    • %r(^svc:/)
  • name (namevar)

    The symbolic name for properties to manipulate. When provided as the fully composed property FMRI /properties:/ :fmri, :property, and :prop_fmri will be auto-populated.

  • property

    Name of property - includes Property Group and Property. If the service, instance, or property group does not exist, they will be created.