Skip to content

Commit

Permalink
[HOPSWORKS-2546] Remove guard when adding service to kagent services …
Browse files Browse the repository at this point in the history
  • Loading branch information
kouzant authored May 14, 2021
1 parent 19cc707 commit 4ea2a06
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 4 deletions.
2 changes: 1 addition & 1 deletion Berksfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@ cookbook 'conda', github: "logicalclocks/conda-chef", branch: "master"
cookbook 'consul', github: "logicalclocks/consul-chef", branch: "master"

cookbook 'ulimit', github: "logicalclocks/chef-ulimit", branch: "master"

cookbook 'java', github: "logicalclocks/java", branch: "v7.0.0-1"
1 change: 0 additions & 1 deletion recipes/mgmd.rb
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,6 @@
config_file "#{node['ndb']['root_dir']}/config.ini"
restart_agent false
action :add
not_if { node['kagent']['enabled'].casecmp("false") == 0 }
end

kagent_config "#{service_name}" do
Expand Down
1 change: 0 additions & 1 deletion recipes/mysqld.rb
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,6 @@
log_file "#{node['ndb']['log_dir']}/mysql_#{found_id}_out.log"
restart_agent false
action :add
not_if { node['kagent']['enabled'].casecmp("false") == 0 }
end

homedir = node['ndb']['user'].eql?("root") ? "/root" : "/home/#{node['ndb']['user']}"
Expand Down
1 change: 0 additions & 1 deletion recipes/ndbd.rb
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,6 @@
log_file "#{node['ndb']['log_dir']}/ndb_#{found_id}_out.log"
restart_agent false
action :add
not_if { node['kagent']['enabled'].casecmp("false") == 0 }
end

# Here we set interrupts to be handled by only the first CPU
Expand Down

0 comments on commit 4ea2a06

Please sign in to comment.