How do deal with files that both humans, and services can modify?
I am writing a manifest to install and configure a program that manages linux resources.
The program has a file which has some rows that are edited by a human, and some rows that are edited by the deamon. How can I use puppet to ensure this file exists, and optionally change some rows, but leave the rest of the rows alone?
<server_db> <numjobs>0</numjobs> <numque>3</numque> <nextjobid>19745</nextjobid> <savetime>1381950755</savetime> <attributes> <server_state>3</server_state> <scheduling>1</scheduling> <total_jobs>0</total_jobs> <state_count>Transit:0 Queued:0 Held:0 Waiting:0 Running:0 Exiting:0 Complete:0 ...