diff options
author | Chris Brinker <chris.brinker@gmail.com> | 2012-09-19 08:30:10 -0700 |
---|---|---|
committer | Chris Brinker <chris.brinker@gmail.com> | 2012-09-19 08:30:10 -0700 |
commit | 6fe2b9ddfa70b450042f8bf720af7b6288b66569 (patch) | |
tree | 6baac7ab377c26ea74933af2aae0b80f39c39c10 | |
parent | 159da3b0dd3c0a8c4811183eaff37dc9148313bb (diff) | |
download | bcfg2-6fe2b9ddfa70b450042f8bf720af7b6288b66569.tar.gz bcfg2-6fe2b9ddfa70b450042f8bf720af7b6288b66569.tar.bz2 bcfg2-6fe2b9ddfa70b450042f8bf720af7b6288b66569.zip |
Allowing the assertion of a profile for a host to be supplied by the bcfg2.conf file. This is useful if you have a dynamic system and only the client has information on which profile to use.
-rw-r--r-- | src/lib/Bcfg2/Options.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/Bcfg2/Options.py b/src/lib/Bcfg2/Options.py index 6ac9cafb1..ff7c3ce70 100644 --- a/src/lib/Bcfg2/Options.py +++ b/src/lib/Bcfg2/Options.py @@ -585,7 +585,8 @@ CLIENT_PROFILE = \ Option('Assert the given profile for the host', default=None, cmd='-p', - odesc='<profile>') + odesc='<profile>', + cf=('client', 'profile')) CLIENT_RETRIES = \ Option('The number of times to retry network communication', default='3', |