juju-deployer does not error on incorrect config option

Bug #1488667 reported by Thomi Richards
4
This bug affects 1 person
Affects Status Importance Assigned to Milestone
juju-deployer
Confirmed
Low
Unassigned

Bug Description

I'm trying to deploy multiple units of apache. My config file looks like this:

~~~
snappy-product-integration:
    series: trusty
    services:
        apache2:
            charm: apache2
            constraints: mem=2G cpu-cores=2
            expose: true
            units: 2
            options:
                servername: spi.canonical.com
               # other options
~~~

This is based on the docs at:

http://pythonhosted.org/juju-deployer/config.html

However it turns out that the juju-deployer version I'm using wants 'num_units', instead of 'units', but DOES NOT ERROR when given the 'units' config option. Instead, it silently does the wrong thing.

Please either make juju-deployer error on options it doesn't understand, or make the docs up-to-date with the current juju-deployer version.

Tom Haddon (mthaddon)
Changed in juju-deployer:
status: New → Confirmed
importance: Undecided → Low
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.