From 77547bdd110fef6000c69d9b2b79b9e75c0ec412 Mon Sep 17 00:00:00 2001 From: Daniel Castro Date: Fri, 8 Nov 2024 11:19:10 +0000 Subject: [PATCH 1/2] create sudoers file before redborder-monitor install --- resources/recipes/configure.rb | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/resources/recipes/configure.rb b/resources/recipes/configure.rb index 869c315..e702dd8 100644 --- a/resources/recipes/configure.rb +++ b/resources/recipes/configure.rb @@ -34,6 +34,15 @@ end end +# Sudoers +template '/etc/sudoers.d/redborder-manager' do + source 'redborder-manager.erb' + owner 'root' + group 'root' + mode '0440' + retries 2 +end + consul_config 'Configure Consul Server' do cdomain node['redborder']['cdomain'] dns_local_ip node['consul']['dns_local_ip'] @@ -658,15 +667,6 @@ end end -# Sudoers -template '/etc/sudoers.d/redborder-manager' do - source 'redborder-manager.erb' - owner 'root' - group 'root' - mode '0440' - retries 2 -end - # Pending Changes.. # pending_changes==0 -> has changes to apply at next chef-client run # pending_changes==1 -> chef-client has to run once From 666fe163243d560674be52a395776f8afbc3a882 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pablo=20P=C3=A9rez?= Date: Mon, 11 Nov 2024 14:36:07 +0000 Subject: [PATCH 2/2] release 4.4.5 --- CHANGELOG.md | 5 +++++ resources/metadata.rb | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 926413c..a1854ee 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,11 @@ cookbook-rb-manager CHANGELOG =============== +## 4.4.5 + + - Daniel Castro + - [77547bd] create sudoers file before redborder-monitor install + ## 4.4.4 - ptorresred diff --git a/resources/metadata.rb b/resources/metadata.rb index f5271f5..a7de350 100644 --- a/resources/metadata.rb +++ b/resources/metadata.rb @@ -5,7 +5,7 @@ maintainer_email 'git@redborder.com' license 'AGPL-3.0' description 'Installs/Configures redborder manager' -version '4.4.4' +version '4.4.5' depends 'rb-common' depends 'chef-server'