Issue #8410 has been updated by Nick Lewis. Status changed from Accepted to In Topic Branch Pending Merge
Branch available at https://github.com/nicklewis/puppet/tree/ticket/2.7.x/8410. Pull request https://github.com/puppetlabs/puppet/pull/54. This provider has full support for the exec type, except it is unable to run commands as other users/groups. If they are specified, it will fail with a message indicating such. The implementation of the posix provider has been moved into a base class, Puppet::Provider::Exec, from which the others inherit. The difference between the posix and windows providers is now only in how they look for their command to validate its existence (the windows provider will look for cmd.exe, cmd.bat, cmd.ps1, and cmd.com, in addition to just cmd). This branch also includes a fairly large refactor of Puppet::Util.execute, splitting the bulk of the functionality involved with actually running commands into two platform-specific methods, execute_posix and execute_windows. Additionally, there is a platform-aware helper method Puppet::Util.absolute_path?(path, platform) which will return true if the path is an absolute path on the platform specified (:posix or :windows), and will default to the current platform if none is specified. This can be used in the future to validate paths on a non-Windows master which need to be used on a Windows agent. ---------------------------------------- Feature #8410: Exec provider for Windows https://projects.puppetlabs.com/issues/8410 Author: Jacob Helwig Status: In Topic Branch Pending Merge Priority: Normal Assignee: Category: windows Target version: 2.7.x Affected Puppet version: Keywords: Branch: Basic ability to run commands. Commands must either be present in PATH, or fully specified. -- 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.
