Resource Type: cisco_snmp_user

Defined in:
lib/puppet/type/cisco_snmp_user.rb
Providers:
cisco

Overview

Manages an SNMP user on an cisco SNMP server.

cisco_snmp_user <engine_id>":

..attributes..

<user> is the name of the SNMP user resource. <engine_id> is the engine id the user belongs to. If it is local user, the <engine_id> is empty. Otherwise, it is 5 to 32 octets separated by colon.

Example:

cisco_snmp_user {\"v3test\":
  ensure        => present,
  groups        => ['network-admin'],
  auth_protocol => 'md5',
  auth_password => 'xxxxx',
  localized_key => false,
}
or
cisco_snmp_user {\"v3test 128:128:127:127:124:2\":
  ensure        => present,
  groups        => ['network-admin'],
  auth_protocol => 'md5',
  auth_password => 'xxxxx',
  localized_key => false,
 }

Properties

  • auth_password

    Authentication password for the SNMP user. Valid values are string.

  • auth_protocol

    Authentication protocol for the SNMP user.

    Supported values:
    • md5
    • sha
    • none
  • ensure (defaults to: present)

    The basic property that the resource should be in.

    Supported values:
    • present
    • absent
  • groups

    Groups that the SNMP user belongs to. Valid values are string.

  • priv_password

    Privacy password for SNMP user. Valid values are string

  • priv_protocol

    Privacy protocol for the SNMP user.

    Supported values:
    • aes128
    • des
    • none

Parameters

  • engine_id

    Engine ID of the SNMP user. Valid values are empty string or 5 to 32 octets seprated by colon.

  • localized_key (defaults to: false)

    Specifies whether the passwords specified in manifest are in localized key format (in case of true) or cleartext (in case of false).

    Supported values:
    • true
    • false
  • name (namevar)

    Name of cisco_snmp_user, not used, just to make puppet happy

  • provider

    The specific backend to use for this ‘cisco_snmp_user` resource. You will seldom need to specify this — Puppet will usually discover the appropriate provider for your platform.

  • user

    Name of the SNMP user. Valid values are string.