Add Check Point Gaia (FW1) management and firewall appliances to explorers #339
No reviewers
Labels
No labels
bugfix
cleanup
discussion
documentation
doing
done
feature
improvement
packaging
Stale
testing
TODO
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: ungleich-public/cdist#339
Loading…
Reference in a new issue
No description provided.
Delete branch ":master"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Add Check Point Gaia (FW1) management and firewall appliances to explorers
@ -22,2 +22,4 @@
set +e
case "$("$__explorer/os")" in
checkpoint)
cat /etc/cp-release|sed -e 's/.* R\([1-9][0-9]*\)\.[0-9]*$/\1/'
You can use
sed ... /etc/cp-release
directly without the need of cat@ -39,0 +43,4 @@
fi
printf 'The file "%s" is missing. Please create it before using %s on it.\n' "$file" "${__type##*/}" >&2
exit 1
fi
This change seems to be a stray change / should probably not be included in this PR
@ -30,1 +33,4 @@
ifexists
Only apply the line if the file exists.
Same same, seems like this change is also incorrect for this PR
@ -118,1 +118,4 @@
# Appliances
if grep -q '^Check Point Gaia' /etc/cp-release 2>/dev/null; then
Question regarding the string
Check Point Gaia
- is that the only one to look for? Or are there otherCheck Point ...
devices?Nice PR, just a few small things to improve
@stephan Re line / this branch: the easiest is probably if you remove the line changes from HEAD and force push your branch. https://www.atlassian.com/git/tutorials/rewriting-history is a good start for this.
There is no issue (actually I did not even check the line changes) with the changes, just trying to keep the history clean/merge what can be reviewed easily.
If this is the first checkpoint device we have, let's keep the identification as is, as it is what we know by now. If someone later discovers are more general pattern, we'll switch to that.
Merged. In case you are not yet on Matrix, you might want to checkout https://chat.with.ungleich.ch, there is a channel #cdist:ungleich.ch.
We will soon release cdist 7.0.0 - potentially with the new linux changes.