Skip to content

Commit

Permalink
Add configure common cookbook call (#23)
Browse files Browse the repository at this point in the history
  • Loading branch information
manegron authored May 24, 2024
1 parent 7ade8ff commit 1b3f547
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 '0.1.6'

depends 'rb-common'
depends 'rb-selinux'
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 @@ -11,6 +11,10 @@
# proxy services
proxy_services = proxy_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 1b3f547

Please sign in to comment.