Skip to content
This repository has been archived by the owner on Jan 24, 2018. It is now read-only.

Commit

Permalink
Few fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
lasley committed Dec 30, 2016
1 parent be1aaaa commit 7bca20b
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
5 changes: 3 additions & 2 deletions clouder_template_red_october/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -41,12 +41,13 @@ Usage

To use this module, you need to:

#. Create a Red October application in Clouder
#. Create a new service in the Clouder Control Panel
#. Select ``Red October`` as the application & configure everything else to preference

Known issues / Roadmap
======================

* The container is currently using a self-signed certificate. This should be changed once a CA exists.
* The service is currently using a self-signed certificate. This should be changed once a CA exists.
* Runit is being installed via community repos, which are HTTP only. This is insecure.

Bug Tracker
Expand Down
1 change: 0 additions & 1 deletion clouder_template_red_october/data/application.xml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@
<field name="name">Red October</field>
<field name="code">redoctober</field>
<field name="type_id" ref="application_type_redoctober" />
<field name="tag_ids" eval="[(4, ref('tag_cert_authority'))]" />
<field name="child_ids"
eval="[(4, ref('application_redoctober_data')),
(4, ref('application_redoctober_exec')),
Expand Down
2 changes: 1 addition & 1 deletion clouder_template_red_october/models/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
# Copyright 2016 LasLabs Inc.
# License LGPL-3.0 or later (http://www.gnu.org/licenses/lgpl.html).

from . import container
from . import service
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@
from odoo import api, models


class ClouderContainer(models.Model):
_inherit = 'clouder.container'
class ClouderService(models.Model):
_inherit = 'clouder.service'

@api.multi
def deploy_post(self):
super(ClouderContainer, self).deploy_post()
super(ClouderService, self).deploy_post()
for record in self:
if record.application_id.type_id.name == 'redoctober':
if record.application_id.code == 'data':
Expand Down

0 comments on commit 7bca20b

Please sign in to comment.