We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e78f246 commit 02035a0Copy full SHA for 02035a0
manifests/unicorn.pp
@@ -76,10 +76,12 @@
76
path => '/tmp/nginx.te',
77
ensure => file,
78
content => template('puppet/unicorn_selinux_template'),
79
+ notify => Exec['building_selinux_module_from_template'],
80
} ->
- exec { 'building selinux module from template':
81
- path => [ "/usr/bin", "/usr/local/bin" ],
82
- command => 'checkmodule -M -m -o /tmp/nginx.mod /tmp/nginx.te'
+ exec { 'building_selinux_module_from_template':
+ path => [ "/usr/bin", "/usr/local/bin" ],
83
+ command => 'checkmodule -M -m -o /tmp/nginx.mod /tmp/nginx.te',
84
+ refreshonly => true,
85
86
exec { 'building selinux policy package from module':
87
path => [ "/usr/bin", "/usr/local/bin" ],
0 commit comments