Skip to content

Incorrect type of agentx_perms parameter #253

@camillo-toselli

Description

@camillo-toselli

The agentx_perms parameter is declared as Stdlib::Filemode type and the validation rules accept only a single file mode string (es 0755 or gu+w),
but the configuration parameter agentXPerms in snmpd.conf configuration file allows a more complex syntax ( SOCKPERMS [DIRPERMS [USER|UID [GROUP|GID]]] ) to specify the owner and the group of the agentX socket.
The complex syntax was allowed in puppet-snmp module version '4.1.0' but it is no more accepted in current (6.0.0) module version.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions