Skip to content

Conversation

gmenuel
Copy link

@gmenuel gmenuel commented Oct 19, 2016

Durring the first run of this module the incron type might not work because the incrontab command is not found. Usually puppet wait for the last moment to check this, but the check at the end of the type incron forces the check to be done earlier.

François Conil and others added 2 commits October 19, 2016 15:39
During non-interactive runs, the incron module would look for incrontab in /root (which is a directory) and yield the following error:
```
Could not prefetch incron provider 'incrontab': Puppet::Util::FileType::FileTypeFlat could not read root: Is a directory - root
Puppet::Util::FileType::FileTypeFlat could not read root: Is a directory - root
```
This patch fixes the behaviour by pointing to the actual location for the incrontab file.
…ing the provider to soon (before the incron package is installed)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant