OCF_Directories(3pm)
π OCF_Directories π
okay bestie, welcome to OCF_Directories β it's a Perl module (a 3pm page, if you're clocking the vibe) from the User Contributed Perl Documentation corner of the world, and it's literally just here to hand you the binaries and binary options you need when you're building Resource Agents. that's it. that's the whole gig. π
β¨ SYNOPSIS β¨
the way you summon this thing is so simple, bestie:
use FindBin;
use lib "$FindBin::RealBin/../../lib/heartbeat/";
use OCF_Directories;
yeah. that's it. import it and go. π
πΈ DESCRIPTION πΈ
so like, this module got ported from the ocf-directories shell script over in the resource-agents project. no cap. if you wanna see where it came from, the origin story lives here:
<https://github.com/ClusterLabs/resource-agents/>
fr fr, it's a glow-up of the original shell script, now serving Perl realness. π¦
π VARIABLES π
these are the variables this module exports, and yes, we're listing every single one because they're all icons and none of them are getting left behind:
$INITDIRβ¨$HA_DIRβ¨$HA_RCDIRβ¨$HA_CONFDIRβ¨$HA_CFβ¨$HA_VARLIBβ¨$HA_RSCTMPβ¨$HA_RSCTMP_OLDβ¨$HA_FIFOβ¨$HA_BINβ¨$HA_SBIN_DIRβ¨$HA_DATEFMTβ¨$HA_DEBUGLOGβ¨$HA_RESOURCEDIRβ¨$HA_DOCDIRβ¨$__SCRIPT_NAMEβ¨$HA_VARRUNβ¨- `$HA_VARLOCK`` β¨
$ocf_prefixβ¨$ocf_exec_prefixβ¨
twenty of them. a whole squad. a full friend group of variables, all showing up to the function together. π«Ά
ngl, $__SCRIPT_NAME has that double-underscore main character energy and we respect it.
π COPYRIGHT AND LICENSE π
Copyright (C) 2016: Jehan-Guillaume de Rorthais and Mael Rimbault. π
Licensed under the PostgreSQL License. periodt.
and that's the whole page, bestie!! πβ this was OCF_Directories(3pm), served fresh from perl v5.38.2 on 2024-03-18 β mwah, drink some water, and go read your Resource Agent docs responsibly. ππ§πΈ
π¦ where this page comes from
- debian trixie: resource-agents-paf 2.3.0-2 Β· PostgreSQL
- ubuntu noble: resource-agents-paf 2.3.0-2 Β· PostgreSQL
- ubuntu questing: resource-agents-paf 2.3.0-2
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms