Skip to content

Commit 96fd2f7

Browse files
author
Tim Meusel
committed
add missing dependencies for unicorn/nginx deploy
1 parent 70502ac commit 96fd2f7

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

manifests/unicorn.pp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,12 +27,12 @@
2727
path => '/usr/lib/systemd/system/unicorn-puppetmaster.service',
2828
source => 'puppet:///modules/puppet/unicorn-puppetmaster.service',
2929
notify => Exec['systemd-reload'],
30-
}
30+
} ->
3131
exec{'systemd-reload':
3232
command => '/usr/bin/systemctl daemon-reload',
3333
refreshonly => true,
3434
notify => Service['unicorn-puppetmaster'],
35-
}
35+
} ->
3636
unless defined(Service['unicorn-puppetmaster']) {
3737
service{'unicorn-puppetmaster':
3838
ensure => 'running',
@@ -49,7 +49,7 @@
4949
path => '/etc/nginx/sites-enabled/puppetmaster',
5050
target => '/etc/nginx/sites-available/puppetmaster',
5151
notify => Service['nginx'],
52-
}
52+
} ->
5353
unless defined(Service['nginx']) {
5454
service{'nginx':
5555
ensure => 'running',

0 commit comments

Comments
 (0)