From ef94e3cfee08228f11473f9ac28632f3a8d8e636 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 12:02:24 +0100 Subject: [PATCH] Add configure common cookbook call (#140) --- 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 f5956ab7..2ee9625a 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 '1.8.0' +depends 'rb-common' depends 'chef-server' depends 'zookeeper' depends 'kafka' diff --git a/resources/recipes/configure.rb b/resources/recipes/configure.rb index 77e453ff..617840fc 100644 --- a/resources/recipes/configure.rb +++ b/resources/recipes/configure.rb @@ -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