summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--manifests/init.pp2
1 files changed, 1 insertions, 1 deletions
diff --git a/manifests/init.pp b/manifests/init.pp
index 6a284e9..933a765 100644
--- a/manifests/init.pp
+++ b/manifests/init.pp
@@ -27,7 +27,7 @@ class ethercalc (
27 # file 27 # file
28 case $::operatingsystem { 28 case $::operatingsystem {
29 'Ubuntu': { 29 'Ubuntu': {
30 if $::operatingsystemrelease <= '14.04' { 30 if versioncmp($::operatingsystemrelease, '14.04') <= 0 {
31 $use_upstart = true 31 $use_upstart = true
32 if ! $nodejs_version { 32 if ! $nodejs_version {
33 $use_nodejs_version = '4.x' 33 $use_nodejs_version = '4.x'