Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I'm running puppet on windows as an admin (testing on windows 7, even though it is not officially supported). When I install puppet following the windows installation instructions, no puppet.conf file is generated in C:/ProgramData/PuppetLabs/puppet/etc. I can run puppet agent --genconfig to create one, but regardless of what values I put in there, it doesn't seem to respect them.

Is this just a puppet/windows issue? Or am I doing something wrong?

share|improve this question
1  
Why not startup procmon, then run the agent. Filter on puppet, and see what files it tries to open. –  Zoredache Feb 22 '12 at 1:01
    
I'll give that a try and see what happens. Thanks. –  Jeff Storey Feb 22 '12 at 3:05
add comment

1 Answer

What does puppet agent --configprint config show?

That command will print the configuration value for config, which is the path to the configuration file itself.

Are you perhaps running puppet agent without administrator privileges and thus Puppet is looking in your home directory for puppet.conf ?

share|improve this answer
    
It showed the correct values and I have admin privileges. It is on windows though, so it could just be a puppet/windows issue. I'll have to revisit this. –  Jeff Storey Apr 10 '12 at 14:23
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.