diff options
Diffstat (limited to 'lib/puppet/provider/cron/crontab.rb')
-rw-r--r-- | lib/puppet/provider/cron/crontab.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/puppet/provider/cron/crontab.rb b/lib/puppet/provider/cron/crontab.rb index fec5511..8953109 100644 --- a/lib/puppet/provider/cron/crontab.rb +++ b/lib/puppet/provider/cron/crontab.rb @@ -1,3 +1,4 @@ +require_relative 'filetype' require 'puppet/provider/parsedfile' Puppet::Type.type(:cron).provide(:crontab, parent: Puppet::Provider::ParsedFile, default_target: ENV['USER'] || 'root') do @@ -21,7 +22,7 @@ Puppet::Type.type(:cron).provide(:crontab, parent: Puppet::Provider::ParsedFile, :crontab end - Puppet::Util::FileType.filetype(tabname) + Puppet::Provider::Cron::FileType.filetype(tabname) end self::TIME_FIELDS = [:minute, :hour, :monthday, :month, :weekday].freeze |