On Thursday, July 16, 2015, <[email protected]> wrote: > exec { file1: > command => "/bin/echo "export > JAVA_HOME=/usr/lib/jvm/java-1.7.0-openjdk.x86_64"; >> /home/haas/.bashrc", > } > } >
As-is, you have a quoting problem (the 'command' value set ends just before export. That being said, I would use a 'file_line' resource to manage that rather than an exec. Jok -- You received this message because you are subscribed to the Google Groups "Puppet Developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-dev/CAD44Lm37BPXEm_DiBcY7T76p4ckpo_e4g7w4yxsy9iArvjtw%3Dg%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
