[Container-tools] Deduplication problem in answers.conf{,.sample}

Jeroen van Meeuwen kanarip at kanarip.ch
Mon Nov 16 10:17:07 UTC 2015


Hi there,

I'm trying to replicate the wordpress-mariadb example for a NodeJS 
application for collaborative editing and a MongoDB backend, but the 
following ends up in my answers.conf.sample when I run:

   $ atomic install kolab/manticore-atomicapp
   (...snip...)
   $ cat answers.conf.sample
   [mongodb-atomicapp]
   mongodb_admin_password = None
   image = centos/mongodb-26-centos7
   mongodb_password = None
   mongodb_username = None
   mongodb_quiet = True
   mongodb_noprealloc = True
   mongodb_smallfiles = True
   mongodb_database = None
   [manticore-atomicapp]
   image = kolab/manticore
   mongodb_database = None
   mongodb_password = None
   mongodb_hostname = mongodb:27017
   mongodb_username = None
   [general]
   namespace = default
   provider = kubernetes

While I would expect something closer to the following:

   $ atomic install projectatomic/wordpress-centos7-atomicapp
   (...snip...)
   $ cat answers.conf.sample
   [mariadb-atomicapp]
   db_pass = None
   db_name = None
   root_pass = MySQLPass
   db_user = None
   [general]
   namespace = default
   provider = kubernetes

The files I'm using are:

   - manticore-atomicapp:

     
https://github.com/kanarip/kolab-atomicapp/blob/master/05-manticore-atomicapp/Nulecule

   - mongodb-atomicapp:

     
https://github.com/kanarip/nulecule-library/blob/dev/mongodb-centos7-atomicapp/mongodb-centos7-atomicapp/Nulecule 
(pull request #22 against upstream)

I have attached the full output for both "atomic install" commands, and 
I do recognize some differences. Is there something about YAML vs. JSON 
being used, that requires me to do things differently?

Any insight would be greatly appreciated!

TIA,

-- 
Regards,

-- Jeroen
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: atomic-install-output.log.txt
URL: <http://listman.redhat.com/archives/container-tools/attachments/20151116/b20ff2d7/attachment.txt>


More information about the Container-tools mailing list