Re: [Puppet Users] Exec Command

2016-09-01 Thread Arpit Tolani
Hello On Thu, Sep 1, 2016 at 3:30 PM, megha sharma wrote: > Hello, > > Where can I find the output logs after running exec command on windows > puppet agent. Check Event Viewer of Windows. https://docs.puppet.com/puppet/4.2/reference/services_agent_windows.html#logging > > Thanks, > Megha > >

Re: [Puppet Users] Exec Command

2016-09-01 Thread Moses Mendoza
On Thu, Sep 1, 2016 at 3:00 AM, megha sharma wrote: > Hello, > > Where can I find the output logs after running exec command on windows > puppet agent. > > Thanks, > Megha > > -- > You received this message because you are subscribed to the Google Groups > "Puppet Users" group. > To unsubscribe fr

[Puppet Users] Exec Command

2016-09-01 Thread megha sharma
Hello, Where can I find the output logs after running exec command on windows puppet agent. Thanks, Megha -- 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 pupp

Re: [Puppet Users] Exec command timeout

2013-01-03 Thread Anthony BRODARD
Hi Matt, Thanks for your answer. I will try your module, it seems better that mine :) But I don't think that the module is the problem, because it works fine on all the node. Just, I don't know why, it suddenly fail, and works again after reboot. Anthony Le jeudi 3 janvier 2013 16:27:40 UTC+1,

Re: [Puppet Users] Exec command timeout

2013-01-03 Thread Matt Zagrabelny
Note: I didn't follow this thread from the beginning, so this comment might be out of place. On Thu, Jan 3, 2013 at 8:59 AM, Anthony BRODARD wrote: > Hi list, > > I've writed this module to deploy the public key of our debian repository : > >> file >> { >> "/etc/apt/repos-public.key": >>

[Puppet Users] Exec command timeout

2013-01-03 Thread Anthony BRODARD
Hi list, I've writed this module to deploy the public key of our debian repository : file > { > "/etc/apt/repos-public.key": > ensure => present, > mode => 440, > owner => root, > group => root, > source => "puppet://puppet/apt/repos-public.key", >

Re: [Puppet Users] exec command

2012-12-11 Thread Javier Arduini
USER[$$] SSH: $SSH_CONNECTION $PWD\")\'’ , > > > > As an alternative you might want to have a look at Puppet’s Augeas. > > > > Bernd > > > > *From:* puppet...@googlegroups.com [mailto: > puppet...@googlegroups.com ] *On Behalf Of *Javier Ardui

RE: [Puppet Users] exec command

2012-12-11 Thread Bernd Adamowicz
stag, 11. Dezember 2012 13:16 To: puppet-users@googlegroups.com Subject: [Puppet Users] exec command Hi all, im trying to make a module to add a line at the end of the /etc/profile file to redirect all the loggins to a remote server. It´s something like this: class syslog { define append_if_no_such_li

[Puppet Users] exec command

2012-12-11 Thread Javier Arduini
Hi all, im trying to make a module to add a line at the end of the /etc/profile file to redirect all the loggins to a remote server. It´s something like this: class syslog { define append_if_no_such_line ($file, $line) { exec { "Line1" : command => "/bin/echo '$line' >

Re: [Puppet Users] exec command on master

2012-08-01 Thread David Schmitt
On 2012-08-01 18:47, Anton Swood wrote: Hello all. I have one simple question. Can I after executing manifest implement some command on master? You could link up to the report processor. That's triggered on the master after a run. Best Regards, David -- You received this message because y

[Puppet Users] exec command on master

2012-08-01 Thread Anton Swood
Hello all. I have one simple question. Can I after executing manifest implement some command on master? -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To view this discussion on the web visit https://groups.google.com/d/msg/puppet-users/-/5d

Re: [Puppet Users] exec command: command works on cli, but not via puppet

2012-05-30 Thread Gary Larizza
On Wed, May 30, 2012 at 2:00 PM, Ryan Coleman wrote: > On Sun, May 27, 2012 at 1:18 PM, hohum wrote: > > I get an error that the exec command failed because it returned 1 > instead of > > 0 but when I copy the command puppet outputs as an error, and paste that > > into a shell it works perfectly

Re: [Puppet Users] exec command: command works on cli, but not via puppet

2012-05-30 Thread Ryan Coleman
On Sun, May 27, 2012 at 1:18 PM, hohum wrote: > I get an error that the exec command failed because it returned 1 instead of > 0 but when I copy the command puppet outputs as an error, and paste that > into a shell it works perfectly.  The command's syntax is this: Hi, After you run your command

[Puppet Users] exec command: command works on cli, but not via puppet

2012-05-27 Thread hohum
I'm a noob. I'm wondering if I'm doing something fundamentally wrong and am looking for some debugging advise. I get an error that the exec command failed because it returned 1 instead of 0 but when I copy the command puppet outputs as an error, and paste that into a shell it works perfectly.

[Puppet Users] exec command if solaris zone exists

2010-05-19 Thread MorSa
hi! i'm new to puppet and i'm working in a Solaris zones deployment system. I can create a zone, but i need to configure zone with additional parameters that puppet can't set by default. To reach this, i tried to configure zone with "puppet allowed" params like ip-type, create-args, shared, etc. a