I actually just had a revelation and thought of a better way:

$dir = inline_template('<%=ENV["HOME"]%>') # again, just to make testing 
> using puppet apply easier
> file { "$dir/foo":
>     source => ["file://$dir/foo.local", 'file:///etc/motd']  # the latter 
> would typically be a puppet:/// URL
> }


In case the user wishes to make local modifications that are kept, he needs 
to `ln foo foo.local` and puppet won't copy from the canonical source.

Cheers,
Paul

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/0346f8d1-a2f0-401d-9847-05f425d656fc%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to