stratos-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chamila De Alwis <chami...@wso2.com>
Subject Re: The role of puppet agent in the spawned instance
Date Thu, 14 Aug 2014 18:43:04 GMT
Hi Udara,


On Thu, Aug 14, 2014 at 10:18 PM, Udara Liyanage <udara@wso2.com> wrote:

> configuring puppet master to read service type from that facter


With a brief search I found a puppetlabs doc[1] which dives in to facter.
It seems what you're suggesting is possible, but it would require changing
from node resource to case statements.

case $service_name {
  'php' : { include php }
  ...
}

[1] - http://puppetlabs.com/blog/facter-part-1-facter-101


Regards,
Chamila de Alwis
Software Engineer | WSO2 | +94772207163
Blog: code.chamiladealwis.com

Mime
View raw message