On Monday, January 27, 2014 4:15:12 PM UTC-7, Rob Reynolds wrote:
>
> You should be able to take ownership of the directory you cannot delete as 
> an administrator. Once you have done that you should be able to move 
> forward with deleting those. I think the prior install attempts might have 
> botched something and that directory is not removed.
>
>
Ok, have some good news to report.  First, uninstalling and blowing away 
C:\ProgramData\PuppetLabs resulted in the original error when performing a 
clean uninstall.  However, we did find one combination that worked.

#1. Uninstall and ensure C:\ProgramData is absent
#2. Install with PUPPET_AGENT_STARTUP_MODE=Manual
#3. Following installation and *BEFORE* attempting to run puppet agent 
service, run puppet agent as admin.

By running "puppet agent" not only did it run to completion unlike past 
attempts following a failed start of the service, it also mysteriously 
changed the puppet agent startup mode to automatic and now the puppet 
service works.

In the past when we followed steps #1 and #2 and attempted to start the 
service following installation, the service failed to start and broke the 
client due to permissions.  By running the client before the service, 
everything is fine and dandy.

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to puppet-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/bafcdc5d-68b3-4bd1-9236-3d51398fda94%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to