Skip to content

Commit

Permalink
Merge pull request #8 from frconil/master
Browse files Browse the repository at this point in the history
Fixes an issue where non-interactive runs fail
  • Loading branch information
alexgoodchild committed Feb 23, 2015
2 parents ed7f286 + 2e30399 commit e7babce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/puppet/provider/incron/parsed.rb
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
require 'puppet/provider/parsedfile'

Puppet::Type.type(:incron).provide(:incrontab, :parent => Puppet::Provider::ParsedFile, :default_target => ENV["USER"] || "root", :filetype => :flat) do
Puppet::Type.type(:incron).provide(:incrontab, :parent => Puppet::Provider::ParsedFile, :default_target => ENV["USER"] || "/var/spool/incron/root", :filetype => :flat) do
commands :incrontab => "incrontab"

text_line :comment, :match => %r{^\s*#}, :post_parse => proc { |record|
Expand Down

0 comments on commit e7babce

Please sign in to comment.