[Puppet Users] Re: exec command

2012-12-11 Thread Javier Arduini
Hi Peter, the problem with is that i need something like this: line => 'PROMPT_COMMAND='history -a >(tee -a ~/.bash_history | logger -t \"USER: $USER[$$] SSH: $SSH_CONNECTION $PWD\")' ', 'history and not "history and in the end )' not )" Any clues how to solve this? Thanks for the answer!! :)

[Puppet Users] Re: exec command

2012-12-11 Thread Javier Arduini
Hi Peter, the problem with is that i need something like this: line => 'PROMPT_COMMAND='history -a >(tee -a ~/.bash_history | logger -t \"USER: $USER[$$] SSH: $SSH_CONNECTION $PWD\")' ', 'history and not "history and in the end )' not )" Any clues how to solve this? Thanks for the answer!! :)

[Puppet Users] Re: exec command

2012-12-11 Thread pmbuko
On Tuesday, December 11, 2012 7:16:17 AM UTC-5, Javier Arduini wrote: > 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,

[Puppet Users] Re: exec command if solaris zone exists

2010-05-19 Thread Martin Englund
On May 19, 9:47 am, MorSa wrote: > 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 l