Skip to content

Commit f414f45

Browse files
jaymzhfacebook-github-bot
authored andcommitted
fb_letsencrypt: fix lack of starting timer (facebook#286)
Summary: `:enable` isn't enough, timers actually need to be started. Signed-off-by: Phil Dibowitz <phil@ipom.com> Pull Request resolved: facebook#286 Differential Revision: D70206854 fbshipit-source-id: ec5b9832651ed736bcb68e03c0c851cea43effb2
1 parent cacccdb commit f414f45

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cookbooks/fb_letsencrypt/recipes/default.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,11 +34,11 @@
3434
service 'conditionally enable certbot.timer' do
3535
only_if { node['fb_letsencrypt']['enable_package_timer'] }
3636
service_name 'certbot.timer'
37-
action :enable
37+
action [:enable, :start]
3838
end
3939

4040
service 'conditionally disable certbot.timer' do
4141
not_if { node['fb_letsencrypt']['enable_package_timer'] }
4242
service_name 'certbot.timer'
43-
action :disable
43+
action [:stop, :disable]
4444
end

0 commit comments

Comments
 (0)