%for %%service in %%services
  %if %%hasattr(%%service, 'files')
    %for %%file in %%service.files
      %if %%file.name != %%rougail_filename and %%hasattr(%%file, 'activate') and %%file.activate == True
C %%file.name 0%%file.mode %%file.owner %%file.group - /usr/local/share/factory%%file.name
z %%file.name - - - - -
      %end if
    %end for
  %end if
%end for
