﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc	est_hours
137	cfengine inputs organisation	mglb1	ckb6	"The CFengine inputs directory as stored by the configuration system needs reorganising so that inputs for remote machines are not stored in /var/lib/cfengine2/inputs which is used as the local inputs directory for the policy server.

The problem at the moment is that when cfagent on peon (the policy server) runs update.conf copies files from within /var/lib/cfengine2/inputs/cfconf (where the config system puts them) into /var/lib/cfengine2/inputs (where cfagent reads them from). In the process of doing this the permissions on the .svn directory get set to root:root (which cfagent runs as) which then prevents ccsd (running as cfengine) from making further updates to the input directory. 

To fix this the directory that ccsd updates should be separate from the directory that cfagent copies the configs to and works from. Moving the config system managed directory to /var/lib/cfengine2/configs or similar would solve this problem. The file location variables in updaet.conf and the other cf.* configuration files will then need to be updated to. "	defect	new	major		ccsd	HEAD			jamie@…	
