Issue #23379 has been updated by Josh Cooper.

Status changed from Unreviewed to Needs More Information

Hi Claudiu,

Can you try installing 3.4.0-rc1, and when the dialog box appears that says, 
"Service 'Puppet Agent' (puppet) could not be installed", don't click OK. Then 
open a command prompt, go to `C:\Program Files (x86)\Puppet Labs\Puppet\bin` 
and try running `puppet agent --test --debug --trace`? If you see an exception, 
please paste that into the ticket.

Another option is that the `win32-dir` gem is having difficulty resolving the 
COMMON_APPDATA directory on your system, e.g. 
<https://projects.puppetlabs.com/issues/23185#note-5>. To verify if this is the 
problem, do the following (while the dialog box above is still visible):

<pre>
C:\Program Files (x86)\Puppet Labs\Puppet\sys\ruby\bin>ruby -e "require 
'win32/dir'; puts Dir::COMMON_APPDATA"
</pre>

Another possibility is that the service is not able to access the 
files/directories within the `COMMON_APPDATA` directory. Could you try running 
the following and pasting the output in the ticket:

<pre>
C:\>icacls C:\ProgramData\PuppetLabs\puppet\etc\puppet.conf
</pre>

Next, when running as an Administrator, can you try executing:

<pre>
C:\>takeown /f c:\programdata\puppetlabs\puppet /r
C:\>icacls c:\programdata\puppetlabs\puppet /reset /t
</pre>

Then try installing puppet 3.4.0-rc1 again.

----------------------------------------
Bug #23379: puppet agent 3.4.0-rc1 and windows 7 Professional (DE edition) - 
"Service 'Puppet Agent' (puppet) could not be installed. Verify that you have 
sufficient privileges to instal system services.
https://projects.puppetlabs.com/issues/23379#change-101210

* Author: Claudiu Vasadi
* Status: Needs More Information
* Priority: Normal
* Assignee: 
* Category: windows
* Target version: 
* Affected Puppet version: 3.4.0-rc1
* Keywords: 
* Branch: 
----------------------------------------
All operations were carried out under the Administrator account. Puppet 3.3.2 
was already installed and running. Reboot did not help and neither did removing 
puppet agent 3.3.2 before installing 3.4.0-rc1.

Windows is a fresh install (no other applications installed) and has no SP.


-- 
You have received this notification because you have either subscribed to it, 
or are involved in it.
To change your notification preferences, please click here: 
http://projects.puppetlabs.com/my/account

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Bugs" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/puppet-bugs.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to