Bug #8694

scheduled_tasks bug report

Added by Justin Luth 9 months ago. Updated 9 months ago.

[ruby-core:56202]
Status:Third Party's Issue
Priority:Normal
Assignee:cruby-windows
Category:platform/windows
Target version:-
ruby -v:ruby 1.9.3p392 (2013-02-22) [i386-mingw32] Backport:1.9.3: UNKNOWN, 2.0.0: UNKNOWN

Description

gem crash trying to use a scheduled_task resource. I first tried using forward slashes, but had similar errors.

scheduledtask { "${sourceleft}":
require => File["${sourceleft}.config"],
command => "c:\program files\FreeFileSync\FreeFileSync.exe",
#arguments => "$config
file",
#ensure => present,
#enabled => true,
#user => 'one',
#password => '1',
#trigger => {
# schedule => 'daily',
# start_time => '09:30',
#}
}

Windows XP SP3. ruby 1.9.3p392 (2013-02-22) [i386-mingw32] Puppet 3.2.3

Notice: /Stage[main]//Freefilesync[me]/Package[c:\documents and settings\User\My
Documents\SIL.install_ffs]/ensure: created
c:/Program Files/Puppet Labs/Puppet/sys/ruby/lib/ruby/gems/1.9.1/gems/windows-ap
i-0.4.2/lib/windows/api.rb:489: [BUG] Segmentation fault
ruby 1.9.3p392 (2013-02-22) [i386-mingw32]

init.pp - manifest exhibiting the error. The manifest worked before I added the scheduled task resource (1.55 KB) Justin Luth, 07/26/2013 07:48 PM

error.log - puppet apply -e "freefilesync {me:}" (67.6 KB) Justin Luth, 07/26/2013 07:48 PM

History

#1 Updated by Nobuyoshi Nakada 9 months ago

  • Status changed from Open to Third Party's Issue

It crashes in win32-api.

Also available in: Atom PDF