[
https://issues.apache.org/jira/browse/WHIRR-385?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13105851#comment-13105851
]
Chad Metcalf commented on WHIRR-385:
------------------------------------
So the reason I decoupled {{Module}} from {{Manifest}} was to allow multiple
modules to be cloned to satisfy dependencies. Which would allow:
{code}
Module mod_stdlib = new Module('stdlib',
'[email protected]/somewhere/puppet-stdlib.git')
Module mod_nginx = new Module('nginx',
'[email protected]/somewhere/puppet-nginx.git')
Manifest nginx = new Manifest('nginx')
{code}
My suggestion would be to run through the properties collecting a list of roles
and a set of modules. Once you've parsed the properties file you've got the
list of roles and the set of unique modules to checkout. So something like:
{code}
puppet:[email protected]/someone/puppet-ntp.git
puppet:[email protected]/someone/puppet-stdlib.git,[email protected]/someone/puppet-nginx.git
puppet:[email protected]/someone/puppet-stdlib.git,[email protected]/someone/puppet-foobar.git
{code}
Will result in four modules getting cloned. Or better yet just add:
{code}
puppet:[email protected]/someone/puppet-ntp.git
puppet:[email protected]/someone/puppet-nginx.git
puppet:[email protected]/someone/puppet-stdlib.git
puppet:[email protected]/someone/puppet-foobar.git
{code}
module-dir maps to {{Module}} anyway. If {{Module}} expands to be able to deal
with tarballs then you don't have to do anything special. Roles map to
{{Manifest}} and module-dir map to {{Modules}}.
RE: nginx you're probably right.
> 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, 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