Hi Udara,

On Thu, Aug 14, 2014 at 10:18 PM, Udara Liyanage <ud...@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

Reply via email to