File tree Expand file tree Collapse file tree
cookbooks/boxcutter_chef/recipes Expand file tree Collapse file tree Original file line number Diff line number Diff line change 7979node . default [ 'fb_timers' ] [ 'jobs' ] [ 'taste-untester' ] = {
8080 'calendar' => FB ::Systemd ::Calendar . every ( 5 ) . minutes ,
8181 'command' => '/usr/local/sbin/taste-untester' ,
82- 'environment' => {
83- 'CONFLINK' => '/etc/cinc/client.rb' ,
84- 'PRODCONF' => '/etc/cinc/client-prod.rb' ,
85- 'CERTLINK' => '/etc/cinc/client.pem' ,
86- 'PRODCERT' => '/etc/cinc/client-prod.pem' ,
87- 'STAMPFILE' => '/etc/cinc/test_timestamp' ,
82+ 'service_options' => {
83+ 'Environment' => [
84+ "CONFLINK=#{ ::File . join ( config_dir , 'client.rb' ) } " ,
85+ "PRODCONF=#{ ::File . join ( config_dir , 'client-prod.rb' ) } " ,
86+ "CERTLINK=#{ ::File . join ( config_dir , 'client.pem' ) } " ,
87+ "PRODCERT=#{ ::File . join ( config_dir , 'client-prod.pem' ) } " ,
88+ "STAMPFILE=#{ ::File . join ( config_dir , 'test_timestamp' ) } " ,
89+ ] ,
8890 } ,
8991}
9092node . default [ 'fb_timers' ] [ 'jobs' ] [ 'remove_override_files' ] = {
You can’t perform that action at this time.
0 commit comments