Hello I'm trying to push PS1 variable at .bashrc file 

    exec { 'GIT PS1 Variable':
    cwd => '/home/developer/.bashrc',
    command => '/bin/echo "PS1='[\u@\h \W\$(__git_ps1  " \"" (%s)"\"")]\$ ' 
" >> /home/developer/.bashrc',
    user => developer,
    group => developer,
   }

But client side  I get 

Dec 11 10:15:43 glb7240 puppet-agent[19762]: Could not retrieve catalog 
from remote server: Error 400 on SERVER: Syntax error at '['; expected ']' 
at /etc/puppet/modules/defaults/manifests/bash-extras.pp:53

If I copy command it work perfectly. Any toughs  ? 


Thanks. Appreciate. 





-- 
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/-/39ZJs1Y6t3kJ.
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