Issue #13009 has been updated by Patrick Carlisle.

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

Merged in 
<https://github.com/puppetlabs/puppet/commit/c737f5066e6ae43f742daf3920e54dcfdd974cf3>
----------------------------------------
Bug #13009: scheduled_task provider considers unix style paths to be out of sync
https://projects.puppetlabs.com/issues/13009#change-66618

Author: Jeff McCune
Status: Merged - Pending Release
Priority: Normal
Assignee: Josh Cooper
Category: provider
Target version: 2.7.18
Affected Puppet version: 2.7.8
Keywords: scheduled_task ftw windows
Branch: https://github.com/puppetlabs/puppet/pull/828


# 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(/\//, "\\") %>')


-- 
You have received this notification because you have either subscribed to it, 
or are involved in it.
To change your notification preferences, please click here: 
http://projects.puppetlabs.com/my/account

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Bugs" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/puppet-bugs?hl=en.

Reply via email to