Skip to content

Commit

Permalink
Fix resource ordering in splunk class so that splunk types will prope…
Browse files Browse the repository at this point in the history
…rly notify services
  • Loading branch information
treydock committed Feb 9, 2017
1 parent a2a0075 commit ca42986
Showing 1 changed file with 26 additions and 26 deletions.
52 changes: 26 additions & 26 deletions manifests/init.pp
Original file line number Diff line number Diff line change
Expand Up @@ -151,65 +151,65 @@
# arrays. They'll set the dependencies but not realize all Service resources
realize(Service[$virtual_service])

Package <| title == $package_name |> ->
Exec <| tag == 'splunk_server' |> ->
File <| tag == 'splunk_server' |> ->
Service <| title == $virtual_service |>
Package[$package_name] ->
Exec <| tag == 'splunk_server' |> ->
File <| tag == 'splunk_server' |> ->
Service[$virtual_service]

Package <| title == $package_name |> ->
Package[$package_name] ->
File <| tag == 'splunk_server' |> ->
Splunk_authentication <| tag == 'splunk_server' |> ~>
Service <| title == $virtual_service |>
Service[$virtual_service]

Package <| title == $package_name |> ->
Package[$package_name] ->
File <| tag == 'splunk_server' |> ->
Splunk_authorize <| tag == 'splunk_server' |> ~>
Service <| title == $virtual_service |>
Service[$virtual_service]

Package <| title == $package_name |> ->
Package[$package_name] ->
File <| tag == 'splunk_server' |> ->
Splunk_distsearch <| tag == 'splunk_server' |> ~>
Service <| title == $virtual_service |>
Service[$virtual_service]

Package <| title == $package_name |> ->
Package[$package_name] ->
File <| tag == 'splunk_server' |> ->
Splunk_indexes <| tag == 'splunk_server' |> ~>
Service <| title == $virtual_service |>
Service[$virtual_service]

Package <| title == $package_name |> ->
Package[$package_name] ->
File <| tag == 'splunk_server' |> ->
Splunk_input <| tag == 'splunk_server' |> ~>
Service <| title == $virtual_service |>
Service[$virtual_service]

Package <| title == $package_name |> ->
Package[$package_name] ->
File <| tag == 'splunk_server' |> ->
Splunk_limits <| tag == 'splunk_server' |> ~>
Service <| title == $virtual_service |>
Service[$virtual_service]

Package <| title == $package_name |> ->
Package[$package_name] ->
File <| tag == 'splunk_server' |> ->
Splunk_output <| tag == 'splunk_server' |> ~>
Service <| title == $virtual_service |>
Service[$virtual_service]

Package <| title == $package_name |> ->
Package[$package_name] ->
File <| tag == 'splunk_server' |> ->
Splunk_props <| tag == 'splunk_server' |> ~>
Service <| title == $virtual_service |>
Service[$virtual_service]

Package <| title == $package_name |> ->
Package[$package_name] ->
File <| tag == 'splunk_server' |> ->
Splunk_server <| tag == 'splunk_server' |> ~>
Service <| title == $virtual_service |>
Service[$virtual_service]

Package <| title == $package_name |> ->
Package[$package_name] ->
File <| tag == 'splunk_server' |> ->
Splunk_transforms <| tag == 'splunk_server' |> ~>
Service <| title == $virtual_service |>
Service[$virtual_service]

Package <| title == $package_name |> ->
Package[$package_name] ->
File <| tag == 'splunk_server' |> ->
Splunk_web <| tag == 'splunk_server' |> ~>
Service <| title == $virtual_service |>
Service[$virtual_service]

File {
owner => $splunk_user,
Expand Down

0 comments on commit ca42986

Please sign in to comment.