Permanently setting SELinux file contexts
I've never implemented SELinux using Puppet before, and I'm having trouble figuring out how to set permanent file contexts.
For the following command, what would be the equivalent Puppet syntax? Simply pointing me at the correct section of the documentation might be enough.
semanage fcontext -a -t httpd_sys_rw_content_t "/var/www/html(/.*)/wp-content/upgrade(/.*)?"
I am running Puppet 2.7 on CentOS 6.4.