Chris PeBenito 17de1b
## <summary>Policy for sysstat. Reports on various system states</summary>
Chris PeBenito 17de1b
Chris PeBenito 17de1b
########################################
Chris PeBenito 17de1b
## <summary>
Chris PeBenito 17de1b
##	Manage sysstat logs.
Chris PeBenito 17de1b
## </summary>
Chris PeBenito 17de1b
## <param name="domain">
Chris PeBenito 17de1b
##	<summary>
Chris PeBenito 17de1b
##	Domain allowed access.
Chris PeBenito 17de1b
##	</summary>
Chris PeBenito 17de1b
## </param>
Chris PeBenito bbcd3c
## <rolecap/>
Chris PeBenito 17de1b
#
Chris PeBenito 17de1b
interface(`sysstat_manage_log',`
Chris PeBenito 17de1b
	gen_require(`
Chris PeBenito 17de1b
		type sysstat_log_t;
Chris PeBenito 17de1b
	')
Chris PeBenito 17de1b
Chris PeBenito 17de1b
        logging_search_logs($1)
Chris PeBenito 0bfccd
	manage_files_pattern($1, sysstat_log_t, sysstat_log_t)
Chris PeBenito 17de1b
')