Hi,

I'm using puppet to manage the puppet agent (package, config, service) in 
my Windows Server 2003 boxes.

Whenever I update the package, the puppet agent service gets stuck  (STOP 
PENDING).

The report returns:

*Fri May 09 12:13:51 +0200 2014 
/Stage[main]/puppet_agent::Windows::Service/Service[puppet] (err): Failed 
to call refresh: Cannot start puppet, error was: Execution of 
'C:/WINDOWS/system32/net.exe start puppet' returned 2: The requested 
service has already been started.*
*More help is available by typing NET HELPMSG 2182.*
*Fri May 09 12:13:51 +0200 2014 
/Stage[main]/puppet_agent::Windows::Service/Service[puppet] (err): Cannot 
start puppet, error was: Execution of 'C:/WINDOWS/system32/net.exe start 
puppet' returned 2: The requested service has already been started.*
*More help is available by typing NET HELPMSG 2182.*

I use the same manifest for Windows Server 2008 nodes without runnning into 
this problem.

My manifest looks like this:


*package { 'Puppet':*
*   ensure          => "3.5.1",*
*   source          => 
"\\\\share\\puppet_agent\\windows\\puppet-3.5.1.msi",*
*   provider        => windows,*
*   install_options => { 'INSTALLDIR' => 'C:\puppet' } *
*}*

*file { 'C:\Documents and Settings\All Users\Application 
Data\PuppetLabs\puppet\etc\puppet.conf':*
*   content => template("base_puppet_agent/windows/puppet_windows.erb"),   
                                        *
*   notify  => Service['puppet'],*
*   require => Package ['Puppet'],*
*}*

*service { 'puppet':*
*   ensure   => running,*
*   enable   => true,*
*   require  => Package['Puppet'],*
*}*


-- 
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/0a9a5b19-b44f-47b2-9749-5bfc38c8404e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to