Skip to content

Commit

Permalink
Add repository for CentOS 9 AppStream
Browse files Browse the repository at this point in the history
Differential Revision: D63031295

fbshipit-source-id: 954cc8192a832ef4adef28b214b34965a5e06777
  • Loading branch information
fabianishere authored and facebook-github-bot committed Sep 20, 2024
1 parent ca4b8c5 commit 031b222
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
3 changes: 3 additions & 0 deletions itchef/cookbooks/fb_helpers/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -246,6 +246,9 @@ your node.
* `node.aristaeos_4_30_or_newer?`
Is network switch running Arista EOS and OS version is 4.30 or newer

* `node.aristaeos_4_32_or_newer?`
Is network switch running Arista EOS and OS version is 4.32 or newer

* `node.embedded?`
Is embedded Linux, implies 'node.aristaeos?'. These devices likely have
minimal packages installed, little space, and/or some non-persistent
Expand Down
4 changes: 4 additions & 0 deletions itchef/cookbooks/fb_helpers/libraries/node_methods.rb
Original file line number Diff line number Diff line change
Expand Up @@ -540,6 +540,10 @@ def aristaeos_4_30_or_newer?
self.aristaeos? && self._self_version >= self._canonical_version('4.30')
end

def aristaeos_4_32_or_newer?
self.aristaeos? && self._self_version >= self._canonical_version('4.32')
end

def embedded?
self.aristaeos?
end
Expand Down

0 comments on commit 031b222

Please sign in to comment.