Ask Your Question

Windows 2012 r2 not checking in?

asked 2014-03-03 08:50:52 -0600

guidothekillerpimp gravatar image

updated 2014-03-03 11:27:10 -0600

image description

I'm standing up a Foreman front end for open source Puppet server. Every Linux box seems to be working and checking in just fine. The problem child is Windows 2012 R2. I can manually trigger an update with:

 puppet agent --test

However, if I just let it sit there, it'll never check back in. Any clues as to what's going on? I'm using Puppet 3.4.3 on the agent and server. Thanks. Here's the imgur link in case the embed isn't working:

Update: i get this error in the ... (more)

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2014-03-03 11:54:28 -0600

Stefan gravatar image

updated 2014-03-03 11:56:26 -0600

If you run puppet as a service, it will run as the system user and will use %PROGRAMDATA%\PuppetLabs\ as the configuration directory and ssl directory. If you run puppet from the command line as an unprivileged user, puppet will instead use a .puppet directory in the users home directory (see the docs)

So it looks like you have started puppet as an unprivileged and the signed certificate is stored in your homedirectory. If puppet later runs as a service, it will not find the certificate (because it uses a different ssldir) and will create a new certificate. But since ... (more)

edit flag offensive delete link more


Thanks for the help. I think you're right however, I keep seeing C:\ProgramData referenced but I don't have that same directory structure. Mine shows a more traditional ...(more)

guidothekillerpimp gravatar imageguidothekillerpimp ( 2014-03-03 12:32:34 -0600 )edit

`C:\Program Files\Puppet Labs\Puppet` is the program directory ( with static files like the binaries. The ssl certificates are stored in ...(more)

Stefan gravatar imageStefan ( 2014-03-03 12:56:34 -0600 )edit

Flying Spaghetti Monster does Windows drive me nuts. ProgramData is a hidden directory. I'm a Linux admin by nature... Had no idea that was a hidden file. Thanks guys ...(more)

guidothekillerpimp gravatar imageguidothekillerpimp ( 2014-03-03 12:58:34 -0600 )edit

If you do not see the path in windows explorer you might have just disabled the display of system folders. So you may have to modify the folder options in ...(more)

Stefan gravatar imageStefan ( 2014-03-03 12:59:37 -0600 )edit

Your Answer

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

Add Answer

Question Tools

1 follower


Asked: 2014-03-03 08:50:52 -0600

Seen: 354 times

Last updated: Mar 03 '14