[Bug 751564] Review Request: The Aeolus Audrey Startup Agent

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxx> 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.
_______________________________________________
package-review mailing list
package-review@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/package-review



[Index of Archives]     [Fedora Legacy]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]     [Fedora Tools]