On 01/21/2011 07:31 PM, Jockster wrote:
I am writing my first module for ntp, I have a few different versions
of Linux and also releases. The code worked when I only had one flavor
of Linux but now I have four and possibly more flavors. My snippet
that doesn't work is as follows; ( I am not even sure this is the
route I should be going if anyone has a better way please advise.
Thank you in advance)

$ntp_service = $ntpdaemon {

Hi,

I believe the above line lacks a '?'.

$ntp_service = $ntpdaemon ? {

But I'm not entirely sure this syntax is valid in variable assignments (which is not the same as assigning resource parameter values, is it?)

HTH,
Felix

--
You received this message because you are subscribed to the Google Groups "Puppet 
Users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.

Reply via email to