Skip to content

Commit

Permalink
improved class ordering
Browse files Browse the repository at this point in the history
- moved host_config to front
- moved omnibus_config in front of install
 - closes voxpupuli#240
- made service a non-subscribe in init.pp ordering
 - required for voxpupuli#239

 closes voxpupuli#237
  • Loading branch information
LongLiveCHIEF committed Jun 2, 2018
1 parent a22d7ba commit db186b7
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
2 changes: 2 additions & 0 deletions manifests/host_config.pp
Original file line number Diff line number Diff line change
Expand Up @@ -36,4 +36,6 @@
group => 'root',
mode => '0644',
}
include gitlab::backup
}
7 changes: 3 additions & 4 deletions manifests/init.pp
Original file line number Diff line number Diff line change
Expand Up @@ -443,13 +443,12 @@
Hash $global_hooks = {},
) inherits gitlab::params {

contain gitlab::preinstall
contain gitlab::host_config
contain gitlab::omnibus_config
contain gitlab::install
contain gitlab::config
contain gitlab::service
contain gitlab::backup

Class['gitlab::preinstall'] -> Class['gitlab::install'] -> Class['gitlab::config'] ~> Class['gitlab::service'] -> Class['gitlab::backup']
Class['gitlab::host_config'] -> Class['gitlab::omnibus_config'] -> Class['gitlab::install'] -> Class['gitlab::service']

$custom_hooks.each |$name, $options| {
gitlab::custom_hook { $name:
Expand Down

0 comments on commit db186b7

Please sign in to comment.