jclouds-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (JCLOUDS-1072) Add support for environment-specific run lists to Role and Role.Builder
Date Wed, 10 Feb 2016 11:46:18 GMT

    [ https://issues.apache.org/jira/browse/JCLOUDS-1072?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15140672#comment-15140672
] 

ASF subversion and git services commented on JCLOUDS-1072:
----------------------------------------------------------

Commit 27b3a844f89e311b2e25fc27e83659b3637dec2b in jclouds's branch refs/heads/master from
[~rongallagher]
[ https://git-wip-us.apache.org/repos/asf?p=jclouds.git;h=27b3a84 ]

JCLOUDS-1072: Add support for environment-specific run lists to Role


> Add support for environment-specific run lists to Role and Role.Builder
> -----------------------------------------------------------------------
>
>                 Key: JCLOUDS-1072
>                 URL: https://issues.apache.org/jira/browse/JCLOUDS-1072
>             Project: jclouds
>          Issue Type: Improvement
>          Components: jclouds-chef
>    Affects Versions: 1.9.2
>            Reporter: Ron Gallagher
>
> The Role and Role.Builder classes in the org.jclouds.chef.domain package don't provide
methods for manipulating environment-specific run list entries.
> The JSON representation of a Role that includes environment-specific run lists looks
like this:
> {code}
> {
>   "name": "jclouds-role",
>   "description": "",
>   "json_class": "Chef::Role",
>   "default_attributes": {
>   },
>   "override_attributes": {
>   },
>   "chef_type": "role",
>   "run_list": [
>   ],
>   "env_run_lists": {
>     "env1": [
>       "recipe[env1.alpha]",
>       "recipe[env1.bravo]"
>     ],
>     "env2": [
>       "recipe[env2.alpha]",
>       "recipe[env2.bravo]"
>     ]
>   }
> }
> {code}
> To address this gap, I suggest the following changes:
> # The constructor for org.jclouds.chef.domain.Role needs to include a parameter that
contains the environment run list.
> # The org.jclouds.chef.domain.Role should include a getter for the environment run list.
> # The org.jclouds.chef.domain.Role.Builder class should include a method for adding an
entry to the environment run list.
> I plan to prepare a pull request that will include these changes.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message