diff --git a/cookbooks/fb_timers/README.md b/cookbooks/fb_timers/README.md index 339a9482..5c363f96 100644 --- a/cookbooks/fb_timers/README.md +++ b/cookbooks/fb_timers/README.md @@ -52,6 +52,11 @@ A global attribute `node['fb_timers']['enable_named_slices']` controls whether the timer units that systemd sets up will be bound to an individual slice, versus using `timers.slice` for everything. +This cookbook does not setup timers until `node.firstboot_any_phase?` +phases are complete. This is due to timers not being required to bootstrap +a new system. If you have a lot of timers, this cookbook can eat up a lot of +first boot runtime. + ### Fields Required fields: diff --git a/cookbooks/fb_timers/recipes/default.rb b/cookbooks/fb_timers/recipes/default.rb index 82178c5a..bd7514b8 100644 --- a/cookbooks/fb_timers/recipes/default.rb +++ b/cookbooks/fb_timers/recipes/default.rb @@ -59,5 +59,5 @@ end fb_timers_setup 'fb_timers system setup' do - not_if { (node.firstboot_os? || node.firstboot_tier?) && node.in_shard?(79) } + not_if { node.firstboot_os? || node.firstboot_tier? } end