Ask Your Question

autoconfiguration of agent don't work on windows

asked 2015-01-30 07:58:24 -0600

madloki gravatar image

Hello, I have a global site.pp manifest with:

node default {
    class { 'puppet::agent':
        puppet_run_style    => 'service',
        puppet_server       => 'puppet-master.local',
        environment         => 'production',
        puppet_run_interval => '5',
        report              => 'true'

then I have in individual node manifests:

node 'linux.local' inherits  default {}
node 'windows.local' inherits  default {}

On linux, works as supposed. On windows, agent is not able to find /etc. I have no idea, why, because agent is running with system/local, so configuration is at C:\ProgramData\PuppetLabs\puppet\etc, and agent should know about. How to use this style of autoconfiguration with windows agent properly ?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2015-02-09 00:32:58 -0600

joshc gravatar image

This is an issue with whatever module is providing the puppet::agent class. The module doesn't know that Windows stores its data, e.g. puppet.conf, differently than *nix.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools


Asked: 2015-01-30 07:58:24 -0600

Seen: 109 times

Last updated: Feb 09 '15