Skip to content

Commit cf36ed1

Browse files
Fix shellcheck warnings and add RANCID operators guide
- Fix SC2155 warnings by separating declaration and assignment - Add comprehensive rancid-operators-guide.md for Git-based config review - Fix FORCE_OVERWRITE readonly issue (removed readonly to allow --force flag) - Update architecture diagram alignment in README.md - Add RCSSYS=git configuration to rancid.conf
1 parent b628003 commit cf36ed1

3 files changed

Lines changed: 1284 additions & 237 deletions

File tree

README.md

Lines changed: 27 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -61,33 +61,33 @@ deployment script automates the entire setup process on RHEL 10 systems.
6161
The deployment script follows a modular architecture with clear separation of concerns:
6262

6363
```text
64-
┌─────────────────────────────────────────────────────────
65-
deploy-rancid.sh
66-
67-
│ ┌──────────────┐ ┌──────────────┐ ┌──────────┐
68-
│ │ Configuration │───▶│ Installation │───▶│ Validation│
69-
│ │ Loading │ │ Functions │ │ Checks
70-
│ └──────────────┘ └──────────────┘ └──────────┘
71-
│ │ │ │
72-
│ ▼ ▼ │
73-
│ ┌──────────────────────────────────────────────────┐ │
74-
│ │ System Configuration Files │ │
75-
│ │ • /etc/rancid/rancid.conf │ │
76-
│ │ • /etc/cron.d/rancid │ │
77-
│ └──────────────────────────────────────────────────┘ │
78-
79-
│ ┌──────────────────────────────────────────────────┐ │
80-
│ │ RANCID Data Directory │ │
81-
│ │ /var/lib/rancid/ │ │
82-
│ │ ├── .cloginrc (credentials) │ │
83-
│ │ ├── .ssh/id_rancid (SSH key) │ │
84-
│ │ └── <group>/ │ │
85-
│ │ ├── router.db │ │
86-
│ │ ├── configs/ │ │
87-
│ │ ├── logs/ │ │
88-
│ │ └── .git/ (version control) │ │
89-
│ └──────────────────────────────────────────────────┘ │
90-
└─────────────────────────────────────────────────────────
64+
┌─────────────────────────────────────────────────────┐
65+
│ deploy-rancid.sh │
66+
│ │
67+
│ ┌──────────────┐ ┌──────────────┐ ┌──────────┐ │
68+
│ │ Configuration │─▶│ Installation │─▶│ Validation│ │
69+
│ │ Loading │ │ Functions │ │ Checks
70+
│ └──────────────┘ └──────────────┘ └──────────┘ │
71+
│ │ │ │
72+
│ ▼ ▼ │
73+
│ ┌──────────────────────────────────────────────┐ │
74+
│ │ System Configuration Files │ │
75+
│ │ • /etc/rancid/rancid.conf │ │
76+
│ │ • /etc/cron.d/rancid │ │
77+
│ └──────────────────────────────────────────────┘ │
78+
│ │
79+
│ ┌──────────────────────────────────────────────┐ │
80+
│ │ RANCID Data Directory │ │
81+
│ │ /var/lib/rancid/ │ │
82+
│ │ ├── .cloginrc (credentials) │ │
83+
│ │ ├── .ssh/id_rancid (SSH key) │ │
84+
│ │ └── <group>/ │ │
85+
│ │ ├── router.db │ │
86+
│ │ ├── configs/ │ │
87+
│ │ ├── logs/ │ │
88+
│ │ └── .git/ (version control) │ │
89+
│ └──────────────────────────────────────────────┘ │
90+
└─────────────────────────────────────────────────────┘
9191
```
9292

9393
### Configuration Flow

0 commit comments

Comments
 (0)