Yes, we are running it as a windows service.

We are using nssm as a wrapper, here is how we created the service:

nssm.exe install puppet-agent c:\ruby187\bin\puppet.bat agent --
logdest c:\puppet.log


The puppet.bat is the default that the install script creates.

Thanks,
Igor

On Feb 27, 12:48 pm, Jeff McCune <j...@puppetlabs.com> wrote:
> On Mon, Feb 27, 2012 at 9:29 AM, Igor <icher...@gmail.com> wrote:
> > I'm having issues getting puppet to work properly on our servers. we
> > have puppet allready running on our linux servers however are unable
> > to have the puppet agent run on windows.
>
> > the log displays only the following:
>
> > Puppet (notice): Starting Puppet client version 2.7.11
> > Puppet (err): Could not run: fork() function is unimplemented on this
> > machine
>
> > The only modules the servers load is:
>
> > node 'win2' {
> >  include windows-admin
> > }
>
> > This is the the contents of the module:
>
> > class windows-admin {
> >  user { "Administrator":
> >    ensure      => present,
> >    password    => 'w5&X341144!'
> >    }
>
> > This works properly if running it as a test and sets the password. As
> > soon as you start the service and the log fills up with:
> > Puppet (err): Could not run: fork() function is unimplemented on this
> > machine
>
> Igor,
>
> Are you running the Puppet agent as a windows service?  If so, what is your
> configuration?  Are you using a wrapper script?
>
> -Jeff McCune

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to puppet-users@googlegroups.com.
To unsubscribe from this group, send email to 
puppet-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.

Reply via email to