Issue #13009 has been updated by Josh Cooper.

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


----------------------------------------
Bug #13009: scheduled_task provider considers unix style paths to be out of sync
https://projects.puppetlabs.com/issues/13009#change-64096

Author: Jeff McCune
Status: In Topic Branch Pending Review
Priority: Normal
Assignee: Josh Cooper
Category: provider
Target version: 2.7.x
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