I'm doing something similar in one environment… I've come to realize this method contains less awesome than I'd anticipated.
What I'd suggest doing, is changing the file deployed to the client into a template that's deployed via puppet..
have that template set the content correctly for the machine in question when it's deployed.
The HOW you go about doing that varies greatly depending on your environment…
This way you're not trying to override facts, which is generally an adventure in undergoodness.
my $.02
> --
> You received this message because you are subscribed to the Google Groups "Puppet Users" group.
> To view this discussion on the web visit
https://groups.google.com/d/msg/puppet-users/-/AXcBrQsr4YsJ.
________________________________
This message may contain confidential or privileged information. If you are not the intended recipient, please advise us immediately and delete this message. See
http://www.datapipe.com/legal/email_disclaimer/ for further information on confidentiality and the risks of non-secure electronic communication. If you cannot access these links, please notify us by reply message and we will send the contents to you.