File preservation on provision

Exist any way to re-provisioning a host and maintain the current
configuration files that already setup in the host?

for example

if i have into /etc/host

10.0.0.1 myserver.example.com
10.0.0.2 seconserver.example.com

could be this file backup in foreman and if we try to re-provisioning this
file can be put back ?

Re-provisioning, by definition, wipes the host. You'll want to use
configuration management (such as Puppet or Salt) to ensure the host
is in the desired state after being rebuilt.

Greg

ยทยทยท On 23 February 2015 at 02:24, Mario Gamboa wrote: > Exist any way to re-provisioning a host and maintain the current > configuration files that already setup in the host?