Details
-
Bug
-
Status: Closed
-
Normal
-
Resolution: Fixed
-
PUP 3.7.2
-
-
2
-
Windows 2016-06-15, Windows 2016-06-29
Description
Every puppet run I have a scheduled task that gets re-applied even though there was no change. After doing some digging, it looks like it applies correctly, but on the next run, it is only comparing a part of the argument string instead of the full string.
It looks like when doing the comparison, it is only reading in the first 256 characters instead of the entire string.
scheduled_task { 'cloud_backup':
ensure => present,
command => 'C:\Program Files\Duplicati\Duplicati.CommandLine.exe',
arguments => template('fdlic/duplicati/backup.erb'),
trigger =>
}
arguments changed 'backup --ftp-username=empty --ftp-password=empty --max-upload-pr-second=500kb --thread-priority=BelowNormal --use-ssl --passphrase=empty --aes-encryption-dont-allow-fallback=true --full-if-older-than=1M --exclude=.wma --exclude=.mp3 --exclu' to 'backup --ftp-username=empty --ftp-password=empty --max-upload-pr-second=500kb --thread-priority=BelowNormal --use-ssl --passphrase=empty --aes-encryption-dont-allow-fallback=true --full-if-older-than=1M --exclude=.wma --exclude=.mp3 --exclude=.acc' --exclude=.mp4 --exclude=.avi --exclude=.3gp --exclude=.mpg --exclude=.mov
Attachments
Issue Links
- relates to
-
PUP-1498 scheduled_task won't update command
-
- Closed
-