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