Skip to content

Commit

Permalink
Merge branch 'master' into feature/18393_update_hosts_file
Browse files Browse the repository at this point in the history
  • Loading branch information
JPeraltaNic committed Sep 2, 2024
2 parents cc8b9a6 + b271475 commit 982e2b0
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 1 deletion.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
cookbook-rb-proxy CHANGELOG
===============

## 0.4.0

- Miguel Alvarez
- [56ef242] Add chronyd cookbook

## 0.3.0

- nilsver
Expand Down
2 changes: 2 additions & 0 deletions resources/attributes/default.rb
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@
default['redborder']['services']['k2http'] = true
default['redborder']['services']['redborder-exporter'] = true
default['redborder']['services']['clamav'] = true
default['redborder']['services']['chrony'] = true

default['redborder']['systemdservices']['chef-client'] = ['chef-client']
default['redborder']['systemdservices']['kafka'] = ['kafka']
Expand All @@ -75,3 +76,4 @@
default['redborder']['systemdservices']['radiusd'] = ['radiusd']
default['redborder']['systemdservices']['k2http'] = ['k2http']
default['redborder']['systemdservices']['redborder-exporter'] = ['rb-exporter']
default['redborder']['systemdservices']['chrony'] = ['chronyd']
3 changes: 2 additions & 1 deletion resources/metadata.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
maintainer_email 'git@redborder.com'
license 'AGPL-3.0'
description 'Installs/Configures redborder proxy'
version '0.3.0'
version '0.4.0'

depends 'rb-common'
depends 'rb-selinux'
Expand All @@ -25,3 +25,4 @@
depends 'k2http'
depends 'rbcgroup'
depends 'rb-clamav'
depends 'rb-chrony'
8 changes: 8 additions & 0 deletions resources/recipes/configure.rb
Original file line number Diff line number Diff line change
Expand Up @@ -174,6 +174,14 @@
action(proxy_services['clamav'] ? :add : :remove)
end

rb_chrony_config 'Configure Chrony' do
if proxy_services['chrony']
action :add
else
action :remove
end
end

# MOTD
manager = `grep 'cloud_address' /etc/redborder/rb_init_conf.yml | cut -d' ' -f2`

Expand Down

0 comments on commit 982e2b0

Please sign in to comment.