Showing with 1,040 additions and 6 deletions.
  1. +1 −1 .msync.yml
  2. +1 −0 .overcommit.yml
  3. +16 −0 CHANGELOG.md
  4. +1 −1 Gemfile
  5. +13 −1 README.md
  6. +942 −0 REFERENCE.md
  7. +36 −2 manifests/module.pp
  8. +1 −1 metadata.json
  9. +29 −0 spec/defines/selinux_module_spec.rb
2 changes: 1 addition & 1 deletion .msync.yml
Original file line number Diff line number Diff line change
@@ -1 +1 @@
modulesync_config_version: '1.9.6'
modulesync_config_version: '2.0.0'
1 change: 1 addition & 0 deletions .overcommit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ PrePush:
enabled: true
description: 'Run rake targets'
targets:
- 'validate'
- 'test'
- 'rubocop'
command: [ 'bundle', 'exec', 'rake' ]
16 changes: 16 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,22 @@ All notable changes to this project will be documented in this file.
Each new release typically also includes the latest modulesync defaults.
These should not affect the functionality of the module.

## [v1.6.0](https://github.com/voxpupuli/puppet-selinux/tree/v1.6.0) (2018-09-11)

[Full Changelog](https://github.com/voxpupuli/puppet-selinux/compare/v1.5.3...v1.6.0)

**Implemented enhancements:**

- Add support for installing pre-compiled policy packages [\#253](https://github.com/voxpupuli/puppet-selinux/pull/253) ([oranenj](https://github.com/oranenj))

**Closed issues:**

- New release [\#265](https://github.com/voxpupuli/puppet-selinux/issues/265)

**Merged pull requests:**

- add initial REFERENCE.md [\#268](https://github.com/voxpupuli/puppet-selinux/pull/268) ([bastelfreak](https://github.com/bastelfreak))

## [v1.5.3](https://github.com/voxpupuli/puppet-selinux/tree/v1.5.3) (2018-08-31)

[Full Changelog](https://github.com/voxpupuli/puppet-selinux/compare/v1.5.2...v1.5.3)
Expand Down
2 changes: 1 addition & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ group :system_tests do
end

group :release do
gem 'github_changelog_generator', :require => false, :git => 'https://github.com/skywinder/github-changelog-generator' if RUBY_VERSION >= '2.2.2'
gem 'github_changelog_generator', :require => false, :git => 'https://github.com/github-changelog-generator/github-changelog-generator' if RUBY_VERSION >= '2.2.2'
gem 'puppet-blacksmith', :require => false
gem 'voxpupuli-release', :require => false, :git => 'https://github.com/voxpupuli/voxpupuli-release-gem'
gem 'puppet-strings', '>= 1.0', :require => false
Expand Down
14 changes: 13 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,6 @@ This will include the module and manage the SELinux mode (possible values are
are `targeted`, `minimum`, and `mls`). Note that disabling SELinux requires a reboot
to fully take effect. It will run in `permissive` mode until then.


### Deploy a custom module using the refpolicy framework

```puppet
Expand All @@ -123,6 +122,19 @@ selinux::module { 'resnet-puppet':
}
```

### Using pre-compiled policy packages

```puppet
selinux::module { 'resnet-puppet':
ensure => 'present',
source_pp => 'puppet:///modules/site_puppet/site-puppet.pp',
}
```

Note that pre-compiled policy packages may not work reliably
across all RHEL / CentOS releases. It's up to you as the user
to test that your packages load properly.

### Set a boolean value

```puppet
Expand Down
Loading