[Puppet Users] Puppet Agent on Windows

2012-02-27 Thread Igor
=> '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 Thanks, Igor -- You received this message because you

[Puppet Users] Re: Puppet Agent on Windows

2012-02-27 Thread Igor
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

[Puppet Users] Re: Puppet Agent on Windows

2012-02-27 Thread Igor
:/Ruby187/bin/c:/Ruby187/bin/puppet Thanks, Igor On Feb 27, 4:33 pm, Josh Cooper wrote: > Hi Igor, > > On Mon, Feb 27, 2012 at 12:54 PM, Igor wrote: > > Yes, we are running it as a windows service. > > > We are using nssm as a wrapper, here is how we created the service: >

[Puppet Users] Re: Puppet Agent on Windows

2012-02-27 Thread Igor
-18 patchlevel 334) [i386-mingw32] C:\Ruby187\bin>ruby -e "require 'puppet'; puts Puppet[:daemonize]" false C:\Ruby187\bin>ruby -e "require 'puppet'; puts Puppet.features.microsoft_windows?" true Thanks, Igor On Feb 27, 6:26 pm, Josh Cooper wrote: >

[Puppet Users] Database* resources

2013-06-03 Thread Igor Galić
where I break compatibility, but that's also what makes the regex instantly more readable, because I avoid the dreaded toothpicks. That's all from me. I ♥ly welcome your comments, -- i Igor Galić Tel: +43 (0) 664 886 22 883 Mail: i.ga...@brainsware.org URL: http://brainsware.org/ GPG:

[Puppet Users] Data-driven.

2013-07-09 Thread Igor Galić
lass, but would love to hear some feedback on whether I'm making any sense at all and how you would aproach such problems! Thank you very much in advance, -- i Igor Galić Tel: +43 (0) 664 886 22 883 Mail: i.ga...@brainsware.org URL: http://brainsware.org/ GPG: 6880 4155 74BD FD7C B515 2EA

[Puppet Users] hiera and defaults

2013-08-22 Thread Igor Galić
we'll get the expected result, that is, notify will print: Notice: /Stage[main]/Foo/Notify[foo::bar: bazquux]/message: defined 'message' as 'foo::bar: bazquux' My question is simple: Is this a bug, or expected bahaviour? if it's the latter, perhaps it sho

Re: [Puppet Users] hiera and defaults

2013-08-22 Thread Igor Galić
he explicit call to hiera_array. > > I'm not sure wether that's as designed, you may want to open a bug if in > doubt. It is indeed puppet 3.$latest, and I shall indeed consider it a bug, unless it's explicitly documented to be a feature. --i > Cheers, > Felix >

[Puppet Users] Creating Windows services

2013-08-28 Thread Igor Berger
Hello, Documentation mentions that Windows service resource provider "can start, stop, enable, and disable services". Is it possible to create (register) a service using this provider? I'm running stand-alone Puppet agent 3.4.2 on Windows. Thanks, Igor. -- You received this

Re: [Puppet Users] Creating Windows services

2013-08-28 Thread Igor Berger
ess (powershell stop-process) 8. Copy new files 9. Re-enable recovery (sc failureflag) 10. Start service (sc start) Regards, Igor. P.S. Yes, the version is 3.2.4. -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from

Re: [Puppet Users] Creating Windows services

2013-08-30 Thread Igor Berger
For posterity, here's what I ended up with (no graceful service stop): $process_name = 'myprocess' $service_name = 'myservice' $package_source = 'C:/source' $package_target = 'C:/target' $service_config = "start= auto binPath= \"$package_target/bin/$process_name.exe\"" $service_exists = "po

[Puppet Users] Incorrect return code for failed exec

2013-08-30 Thread Igor Berger
urns (err): change from notrun to 0 failed: sc start MyService returned 29 instead of one of [0] However, the %errorlevel% returned is still 0. However, if I use "--detailed-exitcodes", the %errorlevel% is correctly set to 6. Regards, Igor. -- You received this message because y

[Puppet Users] Re: Incorrect return code for failed exec

2013-09-03 Thread Igor Berger
--detailed-exitcodes" returns a failure to the shell correctly. On Monday, September 2, 2013 1:51:31 AM UTC-4, Rahul Khengare wrote: > > Hi Igor, >You can run "sc start MyService" command manually on your machine and > check whether the service run correctly

Re: [Puppet Users] Re: Incorrect return code for failed exec

2013-09-03 Thread Igor Berger
binPath= C:\NotThere.exe Then add this to a test.cmd file: sc start MyService echo %errorlevel% On Tuesday, September 3, 2013 10:34:32 AM UTC-4, Rob Reynolds wrote: > > What does "cmd /c sc start MyService" return? > > > On Tue, Sep 3, 2013 at 9:23 AM, Igor Berger

Re: [Puppet Users] Re: Incorrect return code for failed exec

2013-09-10 Thread Igor Berger
Should log an issue about this someplace? On Tuesday, September 3, 2013 10:56:01 AM UTC-4, Igor Berger wrote: > > It returns 1053. The "sc start" command prints: > > [SC] StartService FAILED 1053: The service did not respond to the > start or control request in a ti

[Puppet Users] Unable to specify hierarchy for data-in-modules

2013-09-16 Thread Igor Berger
value". So, even though osfamily is not part of the hierarchy, it's used to override the common value. Conversely, environment is part of the hierarchy, but it's not used. Did I miss anything? Thanks, Igor. Module structure: my_module/ hiera.yaml data/ common.

Re: [Puppet Users] Re: Incorrect return code for failed exec

2013-09-16 Thread Igor Berger
Tue, Sep 10, 2013 at 11:29 AM, Igor Berger > > wrote: > >> Should log an issue about this someplace? >> >> >> On Tuesday, September 3, 2013 10:56:01 AM UTC-4, Igor Berger wrote: >>> >>> It returns 1053. The "sc start" command prints:

[Puppet Users] Re: Unable to specify hierarchy for data-in-modules

2013-09-18 Thread Igor Berger
Any ideas? On Monday, September 16, 2013 11:30:42 AM UTC-4, Igor Berger wrote: > > Hello, > > I'm running Puppet agent stand-alone on Windows. > > I got data-in-modules working. However, no matter what I put into the > module hiera.yaml, > I can only override the

[Puppet Users] Re: Providing hiera with module data

2013-12-01 Thread Igor Berger
Same problem here :( On Sunday, December 1, 2013 2:27:42 AM UTC-5, Steven Jonthen wrote: > > Hi, > > I have this problem: Hiera only looks inside "data/common.yaml"-file, > which is in my module-directory. When i put other data into another yaml > file "data/example.yaml", then Puppet doesn't

Re: [Puppet Users] Re: Puppetlabs/Apache 0.10.0 Release

2013-12-10 Thread Igor Galić
is, when people really have a need and are willing to supply patches ;) -- Igor Galić Tel: +43 (0) 664 886 22 883 Mail: i.ga...@brainsware.org URL: http://brainsware.org/ GPG: 8716 7A9F 989B ABD5 100F 4008 F266 55D6 2998 1641 -- You received this message because you are subscribed to

[Puppet Users] Geppetto complains about uninitialized variables in reduce function

2013-12-17 Thread Igor Berger
Is there another syntax I could use to make Geppetto happy or is this a bug? Thanks, Igor. -- 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 puppe

[Puppet Users] Re: Permissions for Windows Files Sourced from Puppet Master

2014-01-04 Thread Igor Berger
I think "ignore" is the correct default on Windows, assuming it results in files / directories that inherit permissions of their parents. On Friday, January 3, 2014 11:53:22 PM UTC-5, Rob Reynolds wrote: > > Folks supporting Windows, do you have an opinion with this warning? This > may have got

Re: [Puppet Users] Geppetto complains about uninitialized variables in reduce function

2014-01-09 Thread Igor Berger
Thanks, done: https://tickets.puppetlabs.com/browse/GEP-22 On Tuesday, December 17, 2013 7:13:15 PM UTC-5, Henrik Lindberg wrote: > > On 2013-17-12 17:23, Igor Berger wrote: > > Hello, > > > > I'm using the following expression to format a list: > > >

Re: [Puppet Users] pkg install via puppet on specific node.

2014-02-06 Thread Igor Galić
up. > 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/CAGWVfMnOguTG4S3HxmMp3VO69cqvFFD%3Dd4abkZWrZCkcLEFcaA%40mail.gmai

[Puppet Users] Puppet 3.3.1 [standalone mode]: could not find class

2013-11-07 Thread ulrich igor ngouagna kouete
Hi, I'm new on puppet and I'm having an issue with "puppet apply" command in a standalone mode. a tree command on my project folder gives: test └── manifests ├── init.pp ├── preparehost │ └── params.pp └── preparehost.pp #cat /test/manifests/ini.pp notify{"here we go":

[Puppet Users] Re: Puppet 3.3.1 [standalone mode]: could not find class

2013-11-07 Thread ulrich igor ngouagna kouete
Nobody to help?? :( Le jeudi 7 novembre 2013 11:42:06 UTC+1, ulrich igor ngouagna kouete a écrit : > > Hi, > > I'm new on puppet and I'm having an issue with "puppet apply" command in > a standalone mode. > > a tree command on my projec

[Puppet Users] Issuing web request (REST) from puppet manifest

2013-11-13 Thread ulrich igor ngouagna kouete
Hi, I'm looking for a resource / type that will allow me to issue web requests from a manifest file. I've heard about the web_request module , but seems quite dificult to use (in fact I do not succeed in issuing a POST request with a JSON body doc). Any ideas about that? Thanks. -- You rece

[Puppet Users] Re: Issuing web request (REST) from puppet manifest

2013-11-14 Thread ulrich igor ngouagna kouete
l explore those paths now, but feel free to continue the discussion :) thanks a lot. Le mercredi 13 novembre 2013 17:03:35 UTC+1, ulrich igor ngouagna kouete a écrit : > > Hi, > > I'm looking for a resource / type that will allow me to issue web requests > from a manifest file

[Puppet Users] custom types development on stand alone mode: unknown parameter

2013-11-19 Thread ulrich igor ngouagna kouete
Hi, I'm trying to develop a custom type, and I'm working on a stand alone mode (using puppet apply to apply my manifest). After modifying the type (adding a new parameter for example), when I try to apply the manifest again, it says that the new param is unknown. I found on the official doc tha

Re: [Puppet Users] custom types development on stand alone mode: unknown parameter

2013-11-19 Thread ulrich igor ngouagna kouete
l read your > working tree first. To be safe, run puppet as > > RUBYLIB=/path/to/my/lib puppet apply .pp > > HTH, > Felix > > On 11/19/2013 12:25 PM, ulrich igor ngouagna kouete wrote: > > Hi, > > > > I'm trying to develop a custom type, and

Re: [Puppet Users] custom types development on stand alone mode: unknown parameter

2013-11-19 Thread ulrich igor ngouagna kouete
l read your > working tree first. To be safe, run puppet as > > RUBYLIB=/path/to/my/lib puppet apply .pp > > HTH, > Felix > > On 11/19/2013 12:25 PM, ulrich igor ngouagna kouete wrote: > > Hi, > > > > I'm trying to develop a custom type, and