Charm Needed: Nginx
Bug #994699 reported by
Brandon Holtsclaw
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Juju Charms Collection |
Incomplete
|
Medium
|
Brandon Holtsclaw |
Bug Description
Nginx "Base" charm
Related branches
Changed in charms: | |
assignee: | nobody → Brandon Holtsclaw (imbrandon) |
description: | updated |
Changed in charms: | |
assignee: | Brandon Holtsclaw (imbrandon) → nobody |
importance: | Undecided → Medium |
status: | New → Fix Committed |
Changed in charms: | |
status: | Confirmed → Incomplete |
To post a comment you must log in.
Hi Brandon. Thanks for submitting another full-featured charm. :)
Blockers:
* No maintainer -
$ charm proof
E: Charms need a maintainer (See RFC2822) - Name <email>
* NFS relation does nothing
I: relation nfs has no hooks
* readme doesn't explain how to actually use the charm
I really don't know what to do with this charm. Is it just for forking into other charms? I'm not sure what this charm gives me beyond 'apt-get install nginx'. Please explain this in readme.
Style questions:
* Using php, but then not using php?
run('mkdir -p /mnt/ramdisk/ phpfpm- cache') ; tmp-cache' );
run('mkdir -p /mnt/ramdisk/
run('mkdir -p /mnt/www');
Why are you using 'run' instead of just the 'mkdir' function?
* Wrong word in template
## placed by juju, do not edit or you will loose your changes
I suspect that should be 'will lose your changes'
* Using templates, but with static only values
$options = array('webroot'); :replace( $options, $values, template: :read(' default' )); :write( '/etc/nginx/ sites-enabled/ default' ,$default_ site);
$values = array('/mnt/www');
$default_site = template:
template:
This seems.. fairly confusing. Whats the idea there?
* Using a non standard templating language
I'm not sure we should allow full implementations of templating in individual charms... heredocs or something established would make a lot more sense.
Setting to Incomplete until issues are addressed.