Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add acceptance tests #145

Merged
merged 1 commit into from
Dec 24, 2016
Merged

Add acceptance tests #145

merged 1 commit into from
Dec 24, 2016

Conversation

vinzent
Copy link
Contributor

@vinzent vinzent commented Dec 23, 2016

This PR adds a simple acceptance test scenario.

It will:

  • enable selinux
  • set it to enforcing
  • load a custom policy with a custom domain, boolean and file and port
    contexts
  • enable a custom boolean
  • label a port with a custom context
  • set a custom context on a file and
  • it will set the custom domain into permissive mode

Run PUPPET_INSTALL_TYPE=agent bundle exec rake beaker:centos-72-x64 to
test with CentOS 7.

Run PUPPET_INSTALL_TYPE=agent bundle exec rake beaker:centos-66-x64 to
test with CentOS 6.

There is a known problem with CentOS 7 and the selmodule type. See
PUP-6908, PUP-5649

This PR adds a simple acceptance test scenario.

It will:

* enable selinux
* set it to enforcing
* load a custom policy with a custom domain, boolean and file and port
contexts
* enable a custom boolean
* label a port with a custom context
* set a custom context on a file and
* it will set the custom domain into permissive mode

Run `PUPPET_INSTALL_TYPE=agent bundle exec rake beaker:centos-72-x64` to
test with CentOS 7.

Run `PUPPET_INSTALL_TYPE=agent bundle exec rake beaker:centos-66-x64` to
test with CentOS 6.

There is a known problem with CentOS 7 and the selmodule type. See
PUP-6908, PUP-5649
@vinzent vinzent changed the title (WIP, don't merge) Add acceptance tests Add acceptance tests Dec 23, 2016
@alexjfisher
Copy link
Member

Looks great. Thanks!

@alexjfisher alexjfisher merged commit 41a28dc into voxpupuli:master Dec 24, 2016
@vinzent vinzent deleted the add_acceptance_tests branch December 24, 2016 11:23
EmRowlands pushed a commit to EmRowlands/puppet-selinux that referenced this pull request Mar 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants