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 Users" 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-users/cc13a7e5-c4ce-449f-a077-b1a66810f12b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to