Displaying 1 result from an estimated 1 matches for "ntpdaemon".
Did you mean:
ftpdaemon
2011 Jan 21
2
Multiple Case statements
...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 {
case operatingsystem {
''CentOS'' {
case operatingsystemrelease {
''5.5'' => "ntpd",
''6.0'' => "ntpd"
}...