Skip to content

Commit

Permalink
Update deploy fabfile for RHEL8
Browse files Browse the repository at this point in the history
This command updates the repo fabfile.py for deploys to RHEL8, from the
previous RHEL7 configuration. The only change has to do with the
location of the crawl database file itself, moving it from /var/tmp
to the deploy location in /opt/cfpb/website-indexer. This change is
necesssary due to the different volume configuration in our RHEL8 AMI.
  • Loading branch information
chosak committed Mar 15, 2024
1 parent 39d5c84 commit 0d4b7e6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fabfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
SOURCE_ROOT = f"{SOURCE_PARENT}/{SOURCE_DIRNAME}"

CRAWL_DIR = "/var/tmp"
CRAWL_DATABASE = f"{CRAWL_DIR}/crawl.sqlite3"
CRAWL_DATABASE = f"{SOURCE_ROOT}/crawl.sqlite3"
CRAWL_DATABASE_TMP = f"{CRAWL_DIR}/crawl-new.sqlite3"

LOGROTATE_DIR = "/etc/logrotate.d"
Expand Down

0 comments on commit 0d4b7e6

Please sign in to comment.