| 36 | |
| 37 | Install selinux-policy to get /usr/share/selinux/devel directory, make a file in that directory called httpd-puppet.te |
| 38 | |
| 39 | Then make the module |
| 40 | {{{ |
| 41 | [root@server devel]# make httpd-puppet.pp |
| 42 | Compiling targeted httpd-puppet module |
| 43 | /usr/bin/checkmodule: loading policy configuration from tmp/httpd-puppet.tmp |
| 44 | /usr/bin/checkmodule: policy configuration loaded |
| 45 | /usr/bin/checkmodule: writing binary representation (version 10) to tmp/httpd-puppet.mod |
| 46 | Creating targeted httpd-puppet.pp policy package |
| 47 | rm tmp/httpd-puppet.mod tmp/httpd-puppet.mod.fc |
| 48 | [root@server devel]# |
| 49 | }}} |