Skip to content

Commit

Permalink
Add configure common cookbook call (#140)
Browse files Browse the repository at this point in the history
  • Loading branch information
manegron authored May 24, 2024
1 parent 8b6e02e commit ef94e3c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions resources/metadata.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
long_description IO.read(File.join(File.dirname(__FILE__), 'README.md'))
version '1.8.0'

depends 'rb-common'
depends 'chef-server'
depends 'zookeeper'
depends 'kafka'
Expand Down
4 changes: 4 additions & 0 deletions resources/recipes/configure.rb
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,10 @@
# manager services
manager_services = manager_services()

rb_common_config "Configure common" do
action :configure
end

rb_selinux_config "Configure Selinux" do
if shell_out("getenforce").stdout.chomp == "Disabled"
action :remove
Expand Down

0 comments on commit ef94e3c

Please sign in to comment.