Mailing List Archives
Authenticated access
|
|
|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [HTCondor-users] Local Config with Files and Dir
- Date: Mon, 13 May 2013 23:41:41 +0200
- From: Lukas Slebodnik <lukas.slebodnik@xxxxxxxxx>
- Subject: Re: [HTCondor-users] Local Config with Files and Dir
I hope that next example help you.
root@hostname:~# condor_config_val -config
Configuration source:
/etc/condor/condor_config
Local configuration sources:
/etc/condor/config.d/00personal_condor.config
/etc/condor/config.d/11_hibernation.conf
/etc/condor/config.d/20_local_worker.config
/etc/condor/config.d/40_z_debug.conf
/home/condor/local/cc.local
/home/condor/local/cc.custom
root@hostname:~# condor_config_val -v EXTRA_VAR
EXTRA_VAR: "default_val"
Defined in '/home/condor/local/cc.local', line 2.
root@hostname:~# echo "LOCAL_CONFIG_DIR=/home/condor/local/config.d" >> /home/condor/local/cc.local
root@hostname:~# condor_config_val -config
Configuration source:
/etc/condor/condor_config
Local configuration sources:
/etc/condor/config.d/00personal_condor.config
/etc/condor/config.d/11_hibernation.conf
/etc/condor/config.d/20_local_worker.config
/etc/condor/config.d/40_z_debug.conf
/home/condor/local/cc.local
/home/condor/local/cc.custom
/home/condor/local/config.d/01_overrride.conf
root@hostname:~# condor_config_val -v EXTRA_VAR
EXTRA_VAR: "overrrided_val"
Defined in '/home/condor/local/config.d/01_overrride.conf', line 1.
Regards,
Lukas
On Mon, May 13, 2013 at 04:18:20PM -0400, William Strecker-Kellogg wrote:
> Hi all,
>
> If I set up condor as follows:
>
> LOCAL_CONFIG_FILE = $(LOCAL_DIR)/cc.local,$(LOCAL_DIR)/cc.custom
> LOCAL_CONFIG_DIR = /etc/condor/config.d/
>
> and I place a file /etc/condor/config.d/01_test that has some directive
> in it, I notice it is parsed before the files explicitly listed, as follows:
>
> 05/13/13 15:58:12 Using local config sources:
> 05/13/13 15:58:12 /etc/condor/config.d/01_test
> 05/13/13 15:58:12 /home/condor/local/cc.local
> 05/13/13 15:58:12 /home/condor/local/cc.custom
>
> I would like to be able to override directives in my local-files with
> extra (puppet managed) files from my config.d, by having the
> local_config_dir parsed after the local_config_file, is this possible
> without moving all local-config into the config.d?
>
> Thank You,
> Will Strecker-Kellogg
> RACF Condor Admin/BNL
>
> _______________________________________________
> HTCondor-users mailing list
> To unsubscribe, send a message to htcondor-users-request@xxxxxxxxxxx with a
> subject: Unsubscribe
> You can also unsubscribe by visiting
> https://lists.cs.wisc.edu/mailman/listinfo/htcondor-users
>
> The archives can be found at:
> https://lists.cs.wisc.edu/archive/htcondor-users/