File tree Expand file tree Collapse file tree 2 files changed +8
-5
lines changed
Expand file tree Collapse file tree 2 files changed +8
-5
lines changed Original file line number Diff line number Diff line change 6262 path => ' /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin' ,
6363 }
6464 }
65-
66- Class[' apache::service' ] -> Class[' foreman::apache' ]
6765}
Original file line number Diff line number Diff line change 336336 include foreman::install
337337 include foreman::config
338338 include foreman::database
339- contain foreman::service
339+ include foreman::service
340+
341+ anchor { 'foreman::running' : # lint:ignore:anchor_resource
342+ }
340343
341344 Anchor <| title == ' foreman::repo' |> ~> Class[' foreman::install' ]
342345 Class[' foreman::install' ] ~> Class[' foreman::config' , ' foreman::service' ]
343346 Class[' foreman::config' ] ~> Class[' foreman::database' , ' foreman::service' ]
344347 Class[' foreman::database' ] ~> Class[' foreman::service' ]
345- Class[' foreman::service' ] -> Foreman_smartproxy <| base_url == $foreman_url |>
348+ Class[' foreman::service' ] -> Anchor[' foreman::running' ]
349+ Anchor[' foreman::running' ] -> Foreman_smartproxy <| base_url == $foreman_url |>
346350
347351 if $apache {
348- contain foreman::apache
352+ include foreman::apache
349353
350354 Class[' foreman::config' , ' foreman::database' ] -> Class[' foreman::apache' ]
355+ Class[' foreman::apache' , ' apache::service' ] -> Class[' foreman::running' ]
351356 if $ipa_authentication and $keycloak {
352357 fail(" ${facts['networking']['hostname']}: External authentication via IPA and Keycloak are mutually exclusive." )
353358 }
You can’t perform that action at this time.
0 commit comments