I use puppet to install a current JDK and tomcat.

package {
    [ "openjdk-6-jdk", "openjdk-6-doc", "openjdk-6-jre",
      "tomcat6", "tomcat6-admin", "tomcat6-common", "tomcat6-docs", 
      "tomcat6-user" ]:
    ensure =&gt; present,
}


Now I'd like to add 

JAVA_HOME="/usr/lib/java"
export JAVA_HOME


to /etc/profile, just to get this out of the way. I haven't found a straightforward answer in the docs, yet. Is there a recommended way to do this?

In general, how do I tell puppet to place this file there or modify that file? I'm using puppet for a single node (in standalone mode) just to try it out and to keep a log of the server setup.


Question: Is there a iOS Configuration Profile Key for "Find My iPhone?"
Answer: Sorry, but both Michael and titaniumdecoy are only partially correct. The "Find My iPhone" app is an app that helps you locate your iOS device if you have the settings set in your iCloud settings on the device.

I too would be interested in knowing if it is possible to push out a configuration profile (using IPCU) that has the "Find My iPhone" setting locked on even though it is technically an iCloud user settings.