super new to puppet. Could not find good example of how to add timestamp in a file puppet.pp
node '123' {
file { '/tmp/hello':
content => "hello world",
}
file { '/tmp/timestamped':
content => 'date',
}
Just wanted to print current date when this manifest is applied into the file timestamped
version is: 4.10