Skip to content

Host parameter is non-functional. #421

@big-samantha

Description

@big-samantha

The parameter $host to the datadog_agent class has no effect. It's not referenced anywhere in the rest of the code, including templates.

I initially detected this via just attempting to use it, and then verified via manual inspection, various greps, and RubyMine's "find uses" (which supports Puppet fully).

All you need to do to reproduce this is try:

class { 'datadog_agent':
  host => 'any.value.at.all',
}

and nothing happens. There is no way to override a node's hostname with the current Puppet module, as far as I can tell.

Using latest stable version, 2.1.1.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions