Ask Your Question
0

Windows 2012 r2 not checking in?

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

guidothekillerpimp gravatar image

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

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:

http://imgur.com/aUutqdt

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

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

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

Stefan gravatar image

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

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

Comments

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 -0500 )edit
1

`C:\Program Files\Puppet Labs\Puppet` is the program directory (http://docs.puppetlabs.com/windows/installing.html#program-directory) with static files like the binaries. The ssl certificates are stored in ...(more)

Stefan gravatar imageStefan ( 2014-03-03 12:56:34 -0500 )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 -0500 )edit
1

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 -0500 )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

Stats

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

Seen: 326 times

Last updated: Mar 03 '14