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' diff --git a/resources/recipes/configure.rb b/resources/recipes/configure.rb index 9f3b9f6..7bc4511 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'] @@ -667,15 +676,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