Bug #13009

scheduled_task provider considers unix style paths to be out of sync

Added by Jeff McCune over 1 year ago. Updated 10 months ago.

Status:ClosedStart date:03/07/2012
Priority:NormalDue date:
Assignee:Josh Cooper% Done:

0%

Category:provider
Target version:2.7.19
Affected Puppet version:2.7.8 Branch:https://github.com/puppetlabs/puppet/pull/828
Keywords:scheduled_task ftw windows

Description

Overview

In my manifests I need to make sure I’ve specified a windows style path for the command parameter. If I use unix style slashes, the provider considers the resource to be out of sync.

Work Around

Force everything to windows style paths.

$task_command = "${node_vardir}/pe_compliance/puppet_inspect_wrapper.cmd"
$task_command_path = inline_template('<%= task_command.gsub(/\//, "\\") %>')

Related issues

Related to Puppet - Bug #13008: TypeError when trying to manage scheduled_task arguments Closed 03/07/2012
Related to Puppet - Feature #8414: Task scheduler type/provider for Windows Closed 07/13/2011

History

#1 Updated by Patrick Carlisle over 1 year ago

  • Status changed from Unreviewed to Accepted

#2 Updated by Nigel Kersten about 1 year ago

  • Affected Puppet version deleted (2.7.12rc2)

Whats' the status of this? I can’t close off the parent roadmap item until these blocking tickets are closed.

#3 Updated by Jeff McCune about 1 year ago

Nigel Kersten wrote:

Whats' the status of this? I can’t close off the parent roadmap item until these blocking tickets are closed.

It’s not fixed yet, but I changed the link from “blocks” to related to so you should be able to close #11205 if you’d like.

#4 Updated by Josh Cooper about 1 year ago

  • Status changed from Accepted to In Topic Branch Pending Review
  • Assignee set to Josh Cooper
  • Affected Puppet version set to 2.7.8
  • Branch set to https://github.com/puppetlabs/puppet/pull/828

#5 Updated by Patrick Carlisle 12 months ago

  • Status changed from In Topic Branch Pending Review to Merged - Pending Release
  • Target version changed from 2.7.x to 2.7.18

#6 Updated by Josh Cooper 11 months ago

  • Target version changed from 2.7.18 to 2.7.19

#7 Updated by Moses Mendoza 11 months ago

  • Status changed from Merged - Pending Release to Closed

Released in 2.7.19rc1.

#8 Updated by Matthaus Owens 10 months ago

Released in Puppet 3.0.0-rc4

Also available in: Atom PDF