Skip to content

No support for running Windows agent as domain user #742

@rosenbergj

Description

@rosenbergj

There does not appear to be support for running the Windows agent as a domain user.

I created a domain user domain.com\ddwinagentuser. I then deployed a new machine with no Datadog agent installed, and puppet configuration like:

    class {'datadog_agent':
      dd_user               => 'ddwinagentuser',

After puppet finishes running, the agent service is running as the local ddagentuser user rather than the specified domain user.

There are Datadog-supplied instructions about installing the agent as a domain user, but the code at https://github.com/DataDog/puppet-datadog-agent/blob/main/manifests/windows.pp#L77 does not seem to support the necessary options.

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