Skip to content

Commit

Permalink
4.1.2 - Fixing selinux module syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
Craig Watson committed Oct 12, 2017
1 parent 9590e47 commit d035f9b
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 6 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ Release notes for the claranet/puppet-varnish module.

------------------------------------------

## 4.1.2 - 2017-10-12
* Fixing syntax error in previous release

## 4.1.1 - 2017-10-12
* Varnish 4+ requires passing multiple listen interfaces by specifying multiple `-a` flags, not a single comma-separated value.
* Various Puppet 3 fixes
Expand Down
9 changes: 4 additions & 5 deletions manifests/config.pp
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,10 @@
if $::osfamily == 'RedHat' and $::operatingsystemmajrelease == '6' and $::varnish::version_major != '3' {
if $::selinux_current_mode == 'enforcing' {
::selinux::module { 'varnishpol':
ensure => present,
source_te => 'puppet:///modules/varnish/varnishpol.te',
builder => 'simple',
before => Service[$::varnish::service_name],
notify => Service[$::varnish::service_name],
ensure => present,
source => 'puppet:///modules/varnish/varnishpol.te',
before => Service[$::varnish::service_name],
notify => Service[$::varnish::service_name],
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion metadata.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name" : "claranet-varnish",
"version" : "4.1.1",
"version" : "4.1.2",
"source" : "https://github.com/claranet/puppet-varnish",
"author" : "Claranet",
"license" : "Apache-2.0",
Expand Down

0 comments on commit d035f9b

Please sign in to comment.