On Fri, 20 Mar 2009 06:18:42 +0500, jrojas <jason.r.ro...@gmail.com> wrote: Am I understand you right? I must exec this string "/usr/bin/chpass -p \$1\$HvjTWzzz\$jF.G/mEbh7IOtpCdUPUTO1 pt_" If yes, so it is not work(( PS This is my "new" config string which NOT working as I want: exec { "/usr/bin/chpass -p \$1\$HvjTWzzz\$jF.G/mEbh7IOtpCdUPUTO1 pt_":}
> > You have to escape the dollar signs or quote the text specifically. > Otherwise puppet will assume that: > "$1$HvjTWzzz$jF.G/mEbh7IOtpCdUPUTO1 pt_" > will break up into the following variables: > $1 > $HvjTWzzz > $jF > > Which is why you get the weird line. > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Puppet Users" group. 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 -~----------~----~----~----~------~----~------~--~---