Skip to content

Release 1.0.0 #12

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Dec 9, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
cookbook-rb-exporter CHANGELOG
===============

## 1.0.0

- manegron
- [50d2b13] change interface location

## 0.3.1

- Pedro Lima
Expand Down
2 changes: 1 addition & 1 deletion resources/metadata.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@
maintainer_email 'git@redborder.com'
license 'AGPL-3.0'
description 'Installs/Configures cookbook-rb-exporter'
version '0.3.1'
version '1.0.0'
6 changes: 3 additions & 3 deletions resources/providers/config.rb
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,9 @@
notifies :restart, 'service[rsyslog]', :delayed
end

if node['interfaces'] && !node['interfaces'].empty?
node['interfaces'].each do |iface_key, _orig_iface|
iface = node['interfaces'][iface_key].to_hash.clone
if node['redborder']['interfaces'] && !node['redborder']['interfaces'].empty?
node['redborder']['interfaces'].each do |iface_key, _orig_iface|
iface = node['redborder']['interfaces'][iface_key].to_hash.clone

arp_ifaces.push(iface_key) if iface['arp'] == 'true'

Expand Down
Loading