Hello,
we have been using puppet for unix machines for quite a while and it works fine.
I have installed the latest puppet-agent (1.4.1) on Windows Server 2012R2. The installation went fine and the communication between the puppetmaster and the client works.
However, it uses the production environment, ignoring the environment setting in:
c:\program files\puppet labs\puppet\etc\puppet.conf
It is worth noting that this folder did originally not exist. The folder for the conf files was:
c:\program files\puppet labs\puppet\puppet\conf
However, all documentation points torwards the first folder. I put the same puppet conf into these three folders:
c:\program files\puppet labs\puppet\puppet\conf
c:\program files\puppet labs\puppet\puppet\etc
c:\program files\puppet labs\puppet\etc
The contents of the file are this:
# This file can be used to override the default puppet settings.
# See the following links for more details on what settings are available:
[main]
server=puppetmaster.develop.local
environment=develop
However, it still tries to pull from the production environment.
puppet.bat agent --configprint environment
production
I restarted the service, to no avail.