rename some things

Signed-off-by: Ricky Elrod <codeblock@fedoraproject.org>
This commit is contained in:
Rick Elrod 2014-10-02 18:59:08 +00:00
parent ed78d382f9
commit f4110913b7
5 changed files with 7 additions and 3 deletions

View file

@ -0,0 +1,4 @@
module:
checkmodule -Mmo nagios_hostname.mod nagios_hostname.te
semodule_package -o nagios_hostname.pp -m nagios_hostname.mod
rm nagios_hostname.mod

Binary file not shown.

View file

@ -1,5 +1,5 @@
module hostname 1.0;
module nagios_hostname 1.0;
require {
type nagios_t;

View file

@ -125,13 +125,13 @@
- nagios_server
- name: Copy over our custom selinux module
copy: src=selinux/hostname.pp dest=/usr/local/share/nagios-policy/hostname.pp
copy: src=selinux/nagios_hostname.pp dest=/usr/local/share/nagios-policy/nagios_hostname.pp
register: selinux_module
tags:
- nagios_server
- name: Install our custom selinux module
command: semodule -i /usr/local/share/nagios-policy/hostname.pp
command: semodule -i /usr/local/share/nagios-policy/nagios_hostname.pp
when: selinux_module|changed
tags:
- nagios_server