From 1b3f5473355e5ed5bdf8668e1a2211db202b1d2b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miguel=20Negr=C3=B3n?= <45871721+manegron@users.noreply.github.com> Date: Fri, 24 May 2024 10:39:44 +0100 Subject: [PATCH] Add configure common cookbook call (#23) --- resources/metadata.rb | 1 + resources/recipes/configure.rb | 4 ++++ 2 files changed, 5 insertions(+) diff --git a/resources/metadata.rb b/resources/metadata.rb index 525a6fb..0f43600 100644 --- a/resources/metadata.rb +++ b/resources/metadata.rb @@ -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' diff --git a/resources/recipes/configure.rb b/resources/recipes/configure.rb index 7a0f4a4..c5a7de3 100644 --- a/resources/recipes/configure.rb +++ b/resources/recipes/configure.rb @@ -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