Skip to content

Commit 934cf64

Browse files
author
Tim Meusel
committed
Error: Could not apply complete catalog: Found 1 dependency cycle:
fixed
1 parent 330fdab commit 934cf64

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

manifests/unicorn.pp

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -62,15 +62,16 @@
6262
path => '/etc/puppet/config.ru',
6363
source => '/usr/share/puppet/ext/rack/config.ru',
6464
} ->
65-
exec{'systemd-reload':
66-
command => '/usr/bin/systemctl daemon-reload',
67-
refreshonly => true,
68-
notify => Service['unicorn-puppetmaster'],
69-
} ->
65+
7066
file {'unicorn-service':
7167
path => '/usr/lib/systemd/system/unicorn-puppetmaster.service',
7268
content => template('puppet/unicorn-puppetmaster.service'),
7369
notify => Exec['systemd-reload'],
70+
} ->
71+
exec{'systemd-reload':
72+
command => '/usr/bin/systemctl daemon-reload',
73+
refreshonly => true,
74+
notify => Service['unicorn-puppetmaster'],
7475
}
7576
unless defined(Service['unicorn-puppetmaster']) {
7677
service{'unicorn-puppetmaster':

0 commit comments

Comments
 (0)