[Bug 751564] Review Request: The Aeolus Audrey Startup Agent
bugzilla at redhat.com
bugzilla at redhat.com
Tue Nov 8 13:05:21 UTC 2011
Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug.
https://bugzilla.redhat.com/show_bug.cgi?id=751564
--- Comment #12 from Jim Meyering <meyering at redhat.com> 2011-11-08 08:05:21 EST ---
For the record, here's the latest --help output:
usage: audrey_startup.py [-h] [-e ENDPOINT] [-k OAUTH_KEY] [-s OAUTH_SECRET]
[-p] [-L {DEBUG,INFO,WARNING,ERROR,CRITICAL}]
[--version]
Audrey Start
optional arguments:
-h, --help show this help message and exit
-e ENDPOINT, --endpoint ENDPOINT
Config Server endpoint url
-k OAUTH_KEY, --key OAUTH_KEY
oAuth Key
-s OAUTH_SECRET, --secret OAUTH_SECRET
oAuth Secret
-p, --pwd Log and look for configs in pwd
-L {DEBUG,INFO,WARNING,ERROR,CRITICAL}, --log_level
{DEBUG,INFO,WARNING,ERROR,CRITICAL}
Logging Level
Like --pw=PASSWORD before it, the oauth arguments
should not be exposed on the command line.
--------------------------------------
Also, I see two uses of a hard-coded URL:
$ grep 169 audrey_startup.py
EC2_USER_DATA_URL = 'http://169.254.169.254/latest/user-data'
self.ec2_user_data_url = 'http://169.254.169.254/latest/user-data'
Obviously the literal URL should appear only once, but the
real question is whether it should appear at all.
Shouldn't it be specified via an option?
--
Configure bugmail: https://bugzilla.redhat.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
More information about the package-review
mailing list