Provider: psmodule

Defined in:
lib/puppet/provider/package/psmodule.rb
Resource type:
package

Overview

Features

  • installable
  • uninstallable
  • upgradeable
  • versionable

Confines

  • operatingsystem — windows
  • feature — powershellget

Commands

  • powershell — if File.exist?("#{ENV['SYSTEMROOT']}\\sysnative\\WindowsPowershell\\v1.0\\powershell.exe") "#{ENV['SYSTEMROOT']}\\sysnative\\WindowsPowershell\\v1.0\\powershell.exe" elsif File.exist?("#{ENV['SYSTEMROOT']}\\system32\\WindowsPowershell\\v1.0\\powershell.exe") "#{ENV['SYSTEMROOT']}\\system32\\WindowsPowershell\\v1.0\\powershell.exe" else 'powershell.exe' end