diff --git a/manifests/inotify.pp b/manifests/inotify.pp index e0957ca..9edd773 100644 --- a/manifests/inotify.pp +++ b/manifests/inotify.pp @@ -12,7 +12,7 @@ #Validate variables validate_re($ensure, '^present$|^absent$') validate_array($syncfolders) - validate_string($sleeptime) + validate_string($sleeptimer) #The inotify script file { '/usr/local/bin/csync2-inotify': diff --git a/templates/csync2_body.erb b/templates/csync2_body.erb index c8153f8..6513816 100644 --- a/templates/csync2_body.erb +++ b/templates/csync2_body.erb @@ -5,7 +5,7 @@ include <%= incval %>; <% end -%> -<% if excludes -%> +<% if @excludes -%> <% Array(@excludes).sort.each do |excval| -%> exclude <%= excval %>; <% end -%>