Skip to content

Commit

Permalink
Merge pull request #22 from lsst-it/ip-typo
Browse files Browse the repository at this point in the history
Fix typo in netspeed script
  • Loading branch information
glennmorris authored Apr 17, 2024
2 parents 2dab844 + c1e49e8 commit 00620f0
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 2 deletions.
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,14 @@ All notable changes to this project will be documented in this file.
Each new release typically also includes the latest modulesync defaults.
These should not affect the functionality of the module.

## [v2.2.1](https://github.com/lsst-it/puppet-ccs_monit/tree/v2.2.1) (2024-03-28)

[Full Changelog](https://github.com/lsst-it/puppet-ccs_monit/compare/v2.2.0...v2.2.1)

**Implemented enhancements:**

- \(files/monit\_hwraid\) no error if RAID not configured [\#21](https://github.com/lsst-it/puppet-ccs_monit/pull/21) ([glennmorris](https://github.com/glennmorris))

## [v2.2.0](https://github.com/lsst-it/puppet-ccs_monit/tree/v2.2.0) (2024-03-26)

[Full Changelog](https://github.com/lsst-it/puppet-ccs_monit/compare/v2.1.0...v2.2.0)
Expand Down
2 changes: 1 addition & 1 deletion files/monit_netspeed
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ eth0=$(nmcli -g ip4.address,general.device dev show 2> /dev/null | \
## If a bridge, find the real interface.
## Eg lsst-vs01 shows "p5p1" and "vnet0".
ip -br link show type bridge | grep -q "^$eth0 " && \
eth0=$(ip -c -br link show master "$eth0" | grep -v ^v | cut -f1 -d' ')
eth0=$(ip -br link show master "$eth0" | grep -v ^v | cut -f1 -d' ')

speed=$(ethtool "$eth0" 2> /dev/null | sed -n 's/.*Speed: *\([0-9]*\).*/\1/p')

Expand Down
2 changes: 1 addition & 1 deletion metadata.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "lsst-ccs_monit",
"version": "2.2.1",
"version": "2.2.2",
"author": "AURA/LSST/SLAC",
"summary": "Manage monit.",
"license": "Apache-2.0",
Expand Down

0 comments on commit 00620f0

Please sign in to comment.