Skip to content

Make agent 'environment' optional #593

@nick-george

Description

@nick-george

Hi,

It would be great if you could make the agent's environment setting in puppet.conf be optional (see https://github.com/theforeman/puppet-puppet/blob/master/manifests/agent/config.pp#L10). Quite often when I change an agent's environment (using Foreman), puppet fails all subsequent agent runs until I manually fix the puppet.conf on the agent to remove the environment setting, or change it to be the correct environment. I imagine this is a bug in puppet (agent v5.5.1), but it would also be handy if we could drop this setting entirely from the puppet.conf.

Given that most Puppet Foreman users would be forcing the directory environment from the server side, I'm surprised to see this setting is being forced.

Many thanks,
Nick George

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions