It's the minimum required syntax for declaring a resource. The : is required
to seperate the resource title and the list of attributes:

Thanks for the explanation. Shame the colon isn't optional when there are no attributes ;-)

You can use puppet filebucket command to backup the files before the exec, but
in this case why not use the file resource?

file { "/etc/timezone":
   content => $name,
}

Oh, I didn't realise you could do that!  That's much better, thanks for the 
info.

Thanks Patrick as well for the idea with writing to a temp folder and then copying it, that's an interesting workaround.

Cheers,
Adam.

--
You received this message because you are subscribed to the Google Groups "Puppet 
Users" group.
To post to this group, send email to puppet-us...@googlegroups.com.
To unsubscribe from this group, send email to 
puppet-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.

Reply via email to