Project

General

Profile

Bug #8694

scheduled_tasks bug report

Added by Justin Luth over 3 years ago. Updated over 3 years ago.

Status:
Third Party's Issue
Priority:
Normal
Assignee:
cruby-windows
ruby -v:
ruby 1.9.3p392 (2013-02-22) [i386-mingw32]
[ruby-core:56202]

Description

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

scheduled_task { "${source_left}":
require => File["${source_left}.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 View - puppet apply -e "freefilesync {me:}" (67.6 KB) Justin Luth, 07/26/2013 07:48 PM

History

#1 [ruby-core:56204] Updated by Nobuyoshi Nakada over 3 years ago

  • Status changed from Open to Third Party's Issue

It crashes in win32-api.

Also available in: Atom PDF