exec { file1: command => "/bin/echo "export JAVA_HOME=/usr/lib/jvm/java-1.7.0-openjdk.x86_64"; >> /home/haas/.bashrc", } }
i try to added java path. facing issue. Error: Could not retrieve catalog from remote server: Error 400 on SERVER: Syntax error at 'export'; expected '}' at /etc/puppet/modules/a/manifests/init.pp:3 on node ip-10-61-204-93.ec2.internal Warning: Not using cache on failed catalog Error: Could not retrieve catalog; skipping run Thanks for your commands. Thanks, Ayyanar -- 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 puppet-dev+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-dev/027415c1-2494-4878-9999-50b2ac86b09e%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.