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

Chad Metcalf edited comment on WHIRR-385 at 9/15/11 7:35 PM:
-------------------------------------------------------------

Another snag though easier to fix is that currently we don't support arrays for 
these. For example using the ntp module...

{code}
ntp.servers=10.0.0.1
{code}

Works expanding to:
{code}
class {'ntp':
  servers => '10.0.0.1',
}
{code}

But there is no way to give an array.

{code}
ntp.servers=[10.0.0.1, 10.0.0.2]
#or
ntp.servers=10.0.0.1, 10.0.0.2
{code}

Expands to:

{code}
class {'ntp':
  servers => '[10.0.0.1, 10.0.0.2]',
}

#or

class {'ntp':
  servers => '10.0.0.1, 10.0.0.2',
}
{code}

We probably should either:

# take csv and convert to {{["foo", "bar", "baz"]}} though it makes single 
element arrays annoying
# do no quoting and the user specifies the exact string to be used

I'm for 2 since its easier, more general and probably less error prone.

      was (Author: metcalfc):
    Another snag though easier to fix is that currently we don't support arrays 
for these. For example using the ntp module...

{code}
ntp.servers=10.0.0.1
{code}

Works expanding to:
{code}
class {'ntp':
  servers => '10.0.0.1',
}
{code}

But there is no way to give an array.

{code}
ntp.servers=[10.0.0.1, 10.0.0.2]
#or
ntp.servers=10.0.0.1, 10.0.0.2
{code}

Expands to:

{code}
class {'ntp':
  servers => '[10.0.0.1, 10.0.0.2]',
}

#or

class {'ntp':
  servers => '10.0.0.1, 10.0.0.2',
}
{code}

We probably should either:

#take csv and convert to {{["foo", "bar", "baz"]}} though it makes single 
element arrays annoying
#do no quoting and the user specifies the exact string to be used

I'm for 2 since its easier, more general and probably less error prone.
  
> Implement support for using nodeless, masterless Puppet to provision and run 
> scripts
> ------------------------------------------------------------------------------------
>
>                 Key: WHIRR-385
>                 URL: https://issues.apache.org/jira/browse/WHIRR-385
>             Project: Whirr
>          Issue Type: New Feature
>          Components: new service
>    Affects Versions: 0.7.0
>            Reporter: Alex Heneveld
>         Attachments: WHIRR-385.patch, WHIRR-385.patch
>
>   Original Estimate: 168h
>  Remaining Estimate: 168h
>
> As a user of Whirr, I'd like to be able to use puppet scripts (manifests, 
> modules) from within Whirr to set up machines and clusters, because there are 
> a lot of OS-neutral capabilities and a large number of actively maintained 
> scripts which I could benefit from.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to