Slackbot
05/18/2023, 7:36 PMMike Langhorst
05/18/2023, 7:37 PMMike Langhorst
05/18/2023, 7:37 PMMike Langhorst
05/18/2023, 7:38 PMbastelfreak
05/18/2023, 7:39 PMbastelfreak
05/18/2023, 7:39 PMcaiso_unix_firewalld::nrpe
you require caiso_unix_firewalld but also send a notify to a service in that class. that doesn't workbastelfreak
05/18/2023, 7:40 PMrequire
is requried. just drop thatbastelfreak
05/18/2023, 7:40 PMMike Langhorst
05/18/2023, 7:40 PMbastelfreak
05/18/2023, 7:41 PMbastelfreak
05/18/2023, 7:41 PMinclude
if you likebastelfreak
05/18/2023, 7:41 PMMike Langhorst
05/18/2023, 7:41 PMcsharpsteen
05/18/2023, 7:43 PMrequire caiso_unix_firewalld
means all resources declared in caiso_unix_firewalld
have to be synced before any resources in caiso_unix_firewalld::nrpe
.
So anything in caiso_unix_firewalld::nrpe
that tries to move before something in caiso_unix_firewalld
, like notify => Service['firewalld']
, is going to be a circular dependency.Mike Langhorst
05/18/2023, 7:43 PMMike Langhorst
05/18/2023, 7:43 PMcsharpsteen
05/18/2023, 7:44 PMinclude caiso_unix_firewalld
just ensures the compiler has evaluated that class so that things like Service['firewalld']
are available to form dependencies against.Mike Langhorst
05/18/2023, 7:47 PMMike Langhorst
05/18/2023, 7:51 PM