=> '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
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
:/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:
>
-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:
>
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:
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
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
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
>
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
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
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
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
--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
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
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
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.
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:
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
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
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
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
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
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:
> >
>
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
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":
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
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
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
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
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
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
31 matches
Mail list logo