Skip to content

Commit

Permalink
Shard out disabling running during firstboot (provisioning)
Browse files Browse the repository at this point in the history
Summary:
- Let's defer setting up systemd timers till after workload.ready on boxes
  - These should not be needed for provisioning a new box ready for workload
- If there are, we should fix (e.g. explicitly run the timers .service file or command from chef)
  - Use not_if to shard out and eventually gate all of our infra out of first boot setup of systemd timers
  - Good for OSS people to do too ...

Differential Revision: D59290162

fbshipit-source-id: 52168797949fb4fae5330d301c1b9deb5a0116b4
  • Loading branch information
cooperlees authored and facebook-github-bot committed Jul 3, 2024
1 parent e478f19 commit 66c88ad
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion cookbooks/fb_timers/recipes/default.rb
Original file line number Diff line number Diff line change
Expand Up @@ -58,4 +58,6 @@
group node.root_group
end

fb_timers_setup 'fb_timers system setup'
fb_timers_setup 'fb_timers system setup' do
not_if { (node.firstboot_os? || node.firstboot_tier?) && node.in_shard?(0) } # __BUMP__
end

0 comments on commit 66c88ad

Please sign in to comment.