Skip to content

Commit 7f201ad

Browse files
author
Gavin Rogers
committed
file nginx.pp notify exec
Trying to making this module work in situations where there are .te and .mod files already, and the .te file has not been changed in the repo. The semodule_package should be run if there is no .pp file, even if the .te file on the server hasn't changed.
1 parent e99f8ac commit 7f201ad

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

manifests/unicorn.pp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -102,8 +102,8 @@
102102
refreshonly => true,
103103
}
104104
file {'/usr/share/selinux/targeted/nginx.pp':
105-
source => 'file:///tmp/nginx.pp',
106-
require => Exec['building_selinux_policy_package_from_module'],
105+
source => 'file:///tmp/nginx.pp',
106+
notify => Exec['building_selinux_policy_package_from_module'],
107107
}
108108
selmodule {'nginx':
109109
ensure => 'present',

0 commit comments

Comments
 (0)