$d = datetime() file "/tmp/mgmt/datetime" { content => template("Hello! It is now: {{ datetimeprint . }}\n", $d), }