Chris PeBenito 17de1b
## <summary>Clockspeed simple network time protocol client</summary>
Chris PeBenito 17de1b
Chris PeBenito 17de1b
########################################
Chris PeBenito 17de1b
## <summary>
Chris PeBenito ff8f0a
##	Execute clockspeed utilities in the clockspeed_cli domain.
Chris PeBenito 17de1b
## </summary>
Chris PeBenito 17de1b
## <param name="domain">
Chris PeBenito ff8f0a
##	<summary>
Dominick Grift 288845
##	Domain allowed to transition.
Chris PeBenito ff8f0a
##	</summary>
Chris PeBenito 17de1b
## </param>
Chris PeBenito 17de1b
#
Chris PeBenito 17de1b
interface(`clockspeed_domtrans_cli',`
Chris PeBenito 6073ea
	gen_require(`
Chris PeBenito 6073ea
		type clockspeed_cli_t, clockspeed_cli_exec_t;
Chris PeBenito 6073ea
	')
Chris PeBenito 17de1b
Chris PeBenito c0868a
	domtrans_pattern($1, clockspeed_cli_exec_t, clockspeed_cli_t)
Chris PeBenito 17de1b
')
Chris PeBenito 17de1b
Chris PeBenito 17de1b
########################################
Chris PeBenito 17de1b
## <summary>
Chris PeBenito 17de1b
##	Allow the specified role the clockspeed_cli domain.
Chris PeBenito 17de1b
## </summary>
Chris PeBenito 17de1b
## <param name="domain">
Chris PeBenito 17de1b
##	<summary>
Dominick Grift 288845
##	Domain allowed to transition.
Chris PeBenito 17de1b
##	</summary>
Chris PeBenito 17de1b
## </param>
Chris PeBenito 17de1b
## <param name="role">
Chris PeBenito 17de1b
##	<summary>
Chris PeBenito a7ee7f
##	Role allowed access.
Chris PeBenito 17de1b
##	</summary>
Chris PeBenito 17de1b
## </param>
Chris PeBenito bbcd3c
## <rolecap/>
Chris PeBenito 17de1b
#
Chris PeBenito 7a4bd4
interface(`clockspeed_run_cli',`
Chris PeBenito 17de1b
	gen_require(`
Chris PeBenito 17de1b
		type clockspeed_cli_t;
Chris PeBenito 17de1b
	')
Chris PeBenito 17de1b
Chris PeBenito 17de1b
	role $2 types clockspeed_cli_t;
Chris PeBenito 17de1b
	clockspeed_domtrans_cli($1)
Chris PeBenito 17de1b
')