├── .devcontainer ├── Dockerfile ├── README.md └── devcontainer.json ├── .fixtures.yml ├── .gitattributes ├── .github ├── pull_request_template.md └── workflows │ ├── ci.yml │ ├── mend.yml │ ├── nightly.yml │ ├── release.yml │ └── release_prep.yml ├── .gitignore ├── .gitpod.Dockerfile ├── .gitpod.yml ├── .pdkignore ├── .puppet-lint.rc ├── .rspec ├── .rubocop.yml ├── .rubocop_todo.yml ├── .sync.yml ├── .vscode └── extensions.json ├── .yardopts ├── CHANGELOG.md ├── CODEOWNERS ├── CONTRIBUTING.md ├── Gemfile ├── HISTORY.md ├── LICENSE ├── NOTICE ├── README.md ├── REFERENCE.md ├── Rakefile ├── data └── common.yaml ├── hiera.yaml ├── lib └── puppet │ └── provider │ └── exec │ ├── powershell.rb │ └── pwsh.rb ├── metadata.json ├── pdk.yaml ├── provision.yaml └── spec ├── acceptance ├── exec_powershell_spec.rb ├── exec_pwsh_spec.rb └── files │ ├── command-to-outfile.ps1 │ ├── get-command-posix.ps1 │ ├── get-command-win.ps1 │ ├── param_script-posix.ps1 │ ├── param_script.ps1 │ └── services.ps1 ├── default_facts.yml ├── fixtures └── scripts │ └── install_pwsh │ ├── darwin.sh │ ├── debian_10.sh │ ├── debian_11.sh │ ├── debian_8.sh │ ├── debian_9.sh │ ├── rhel.sh │ ├── ubuntu_16.04.sh │ ├── ubuntu_18.04.sh │ ├── ubuntu_20.04.sh │ ├── ubuntu_22.04.sh │ └── windows.ps1 ├── spec_helper.rb ├── spec_helper_acceptance.rb ├── spec_helper_acceptance_local.rb └── unit └── provider └── exec ├── powershell_spec.rb └── pwsh_spec.rb /.devcontainer/Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/puppetlabs/puppetlabs-powershell/HEAD/.devcontainer/Dockerfile -------------------------------------------------------------------------------- /.devcontainer/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/puppetlabs/puppetlabs-powershell/HEAD/.devcontainer/README.md -------------------------------------------------------------------------------- /.devcontainer/devcontainer.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/puppetlabs/puppetlabs-powershell/HEAD/.devcontainer/devcontainer.json -------------------------------------------------------------------------------- /.fixtures.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/puppetlabs/puppetlabs-powershell/HEAD/.fixtures.yml -------------------------------------------------------------------------------- /.gitattributes: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/puppetlabs/puppetlabs-powershell/HEAD/.gitattributes -------------------------------------------------------------------------------- /.github/pull_request_template.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/puppetlabs/puppetlabs-powershell/HEAD/.github/pull_request_template.md -------------------------------------------------------------------------------- /.github/workflows/ci.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/puppetlabs/puppetlabs-powershell/HEAD/.github/workflows/ci.yml -------------------------------------------------------------------------------- /.github/workflows/mend.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/puppetlabs/puppetlabs-powershell/HEAD/.github/workflows/mend.yml -------------------------------------------------------------------------------- /.github/workflows/nightly.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/puppetlabs/puppetlabs-powershell/HEAD/.github/workflows/nightly.yml -------------------------------------------------------------------------------- /.github/workflows/release.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/puppetlabs/puppetlabs-powershell/HEAD/.github/workflows/release.yml -------------------------------------------------------------------------------- /.github/workflows/release_prep.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/puppetlabs/puppetlabs-powershell/HEAD/.github/workflows/release_prep.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/puppetlabs/puppetlabs-powershell/HEAD/.gitignore -------------------------------------------------------------------------------- /.gitpod.Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/puppetlabs/puppetlabs-powershell/HEAD/.gitpod.Dockerfile -------------------------------------------------------------------------------- /.gitpod.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/puppetlabs/puppetlabs-powershell/HEAD/.gitpod.yml -------------------------------------------------------------------------------- /.pdkignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/puppetlabs/puppetlabs-powershell/HEAD/.pdkignore -------------------------------------------------------------------------------- /.puppet-lint.rc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/puppetlabs/puppetlabs-powershell/HEAD/.puppet-lint.rc -------------------------------------------------------------------------------- /.rspec: -------------------------------------------------------------------------------- 1 | --color 2 | --format documentation 3 | -------------------------------------------------------------------------------- /.rubocop.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/puppetlabs/puppetlabs-powershell/HEAD/.rubocop.yml -------------------------------------------------------------------------------- /.rubocop_todo.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/puppetlabs/puppetlabs-powershell/HEAD/.rubocop_todo.yml -------------------------------------------------------------------------------- /.sync.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/puppetlabs/puppetlabs-powershell/HEAD/.sync.yml -------------------------------------------------------------------------------- /.vscode/extensions.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/puppetlabs/puppetlabs-powershell/HEAD/.vscode/extensions.json -------------------------------------------------------------------------------- /.yardopts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/puppetlabs/puppetlabs-powershell/HEAD/.yardopts -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/puppetlabs/puppetlabs-powershell/HEAD/CHANGELOG.md -------------------------------------------------------------------------------- /CODEOWNERS: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/puppetlabs/puppetlabs-powershell/HEAD/CODEOWNERS -------------------------------------------------------------------------------- /CONTRIBUTING.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/puppetlabs/puppetlabs-powershell/HEAD/CONTRIBUTING.md -------------------------------------------------------------------------------- /Gemfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/puppetlabs/puppetlabs-powershell/HEAD/Gemfile -------------------------------------------------------------------------------- /HISTORY.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/puppetlabs/puppetlabs-powershell/HEAD/HISTORY.md -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/puppetlabs/puppetlabs-powershell/HEAD/LICENSE -------------------------------------------------------------------------------- /NOTICE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/puppetlabs/puppetlabs-powershell/HEAD/NOTICE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/puppetlabs/puppetlabs-powershell/HEAD/README.md -------------------------------------------------------------------------------- /REFERENCE.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/puppetlabs/puppetlabs-powershell/HEAD/REFERENCE.md -------------------------------------------------------------------------------- /Rakefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/puppetlabs/puppetlabs-powershell/HEAD/Rakefile -------------------------------------------------------------------------------- /data/common.yaml: -------------------------------------------------------------------------------- 1 | --- {} 2 | -------------------------------------------------------------------------------- /hiera.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/puppetlabs/puppetlabs-powershell/HEAD/hiera.yaml -------------------------------------------------------------------------------- /lib/puppet/provider/exec/powershell.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/puppetlabs/puppetlabs-powershell/HEAD/lib/puppet/provider/exec/powershell.rb -------------------------------------------------------------------------------- /lib/puppet/provider/exec/pwsh.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/puppetlabs/puppetlabs-powershell/HEAD/lib/puppet/provider/exec/pwsh.rb -------------------------------------------------------------------------------- /metadata.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/puppetlabs/puppetlabs-powershell/HEAD/metadata.json -------------------------------------------------------------------------------- /pdk.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | ignore: [] 3 | -------------------------------------------------------------------------------- /provision.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/puppetlabs/puppetlabs-powershell/HEAD/provision.yaml -------------------------------------------------------------------------------- /spec/acceptance/exec_powershell_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/puppetlabs/puppetlabs-powershell/HEAD/spec/acceptance/exec_powershell_spec.rb -------------------------------------------------------------------------------- /spec/acceptance/exec_pwsh_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/puppetlabs/puppetlabs-powershell/HEAD/spec/acceptance/exec_pwsh_spec.rb -------------------------------------------------------------------------------- /spec/acceptance/files/command-to-outfile.ps1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/puppetlabs/puppetlabs-powershell/HEAD/spec/acceptance/files/command-to-outfile.ps1 -------------------------------------------------------------------------------- /spec/acceptance/files/get-command-posix.ps1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/puppetlabs/puppetlabs-powershell/HEAD/spec/acceptance/files/get-command-posix.ps1 -------------------------------------------------------------------------------- /spec/acceptance/files/get-command-win.ps1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/puppetlabs/puppetlabs-powershell/HEAD/spec/acceptance/files/get-command-win.ps1 -------------------------------------------------------------------------------- /spec/acceptance/files/param_script-posix.ps1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/puppetlabs/puppetlabs-powershell/HEAD/spec/acceptance/files/param_script-posix.ps1 -------------------------------------------------------------------------------- /spec/acceptance/files/param_script.ps1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/puppetlabs/puppetlabs-powershell/HEAD/spec/acceptance/files/param_script.ps1 -------------------------------------------------------------------------------- /spec/acceptance/files/services.ps1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/puppetlabs/puppetlabs-powershell/HEAD/spec/acceptance/files/services.ps1 -------------------------------------------------------------------------------- /spec/default_facts.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/puppetlabs/puppetlabs-powershell/HEAD/spec/default_facts.yml -------------------------------------------------------------------------------- /spec/fixtures/scripts/install_pwsh/darwin.sh: -------------------------------------------------------------------------------- 1 | brew install --cask powershell 2 | -------------------------------------------------------------------------------- /spec/fixtures/scripts/install_pwsh/debian_10.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/puppetlabs/puppetlabs-powershell/HEAD/spec/fixtures/scripts/install_pwsh/debian_10.sh -------------------------------------------------------------------------------- /spec/fixtures/scripts/install_pwsh/debian_11.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/puppetlabs/puppetlabs-powershell/HEAD/spec/fixtures/scripts/install_pwsh/debian_11.sh -------------------------------------------------------------------------------- /spec/fixtures/scripts/install_pwsh/debian_8.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/puppetlabs/puppetlabs-powershell/HEAD/spec/fixtures/scripts/install_pwsh/debian_8.sh -------------------------------------------------------------------------------- /spec/fixtures/scripts/install_pwsh/debian_9.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/puppetlabs/puppetlabs-powershell/HEAD/spec/fixtures/scripts/install_pwsh/debian_9.sh -------------------------------------------------------------------------------- /spec/fixtures/scripts/install_pwsh/rhel.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/puppetlabs/puppetlabs-powershell/HEAD/spec/fixtures/scripts/install_pwsh/rhel.sh -------------------------------------------------------------------------------- /spec/fixtures/scripts/install_pwsh/ubuntu_16.04.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/puppetlabs/puppetlabs-powershell/HEAD/spec/fixtures/scripts/install_pwsh/ubuntu_16.04.sh -------------------------------------------------------------------------------- /spec/fixtures/scripts/install_pwsh/ubuntu_18.04.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/puppetlabs/puppetlabs-powershell/HEAD/spec/fixtures/scripts/install_pwsh/ubuntu_18.04.sh -------------------------------------------------------------------------------- /spec/fixtures/scripts/install_pwsh/ubuntu_20.04.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/puppetlabs/puppetlabs-powershell/HEAD/spec/fixtures/scripts/install_pwsh/ubuntu_20.04.sh -------------------------------------------------------------------------------- /spec/fixtures/scripts/install_pwsh/ubuntu_22.04.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/puppetlabs/puppetlabs-powershell/HEAD/spec/fixtures/scripts/install_pwsh/ubuntu_22.04.sh -------------------------------------------------------------------------------- /spec/fixtures/scripts/install_pwsh/windows.ps1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/puppetlabs/puppetlabs-powershell/HEAD/spec/fixtures/scripts/install_pwsh/windows.ps1 -------------------------------------------------------------------------------- /spec/spec_helper.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/puppetlabs/puppetlabs-powershell/HEAD/spec/spec_helper.rb -------------------------------------------------------------------------------- /spec/spec_helper_acceptance.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/puppetlabs/puppetlabs-powershell/HEAD/spec/spec_helper_acceptance.rb -------------------------------------------------------------------------------- /spec/spec_helper_acceptance_local.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/puppetlabs/puppetlabs-powershell/HEAD/spec/spec_helper_acceptance_local.rb -------------------------------------------------------------------------------- /spec/unit/provider/exec/powershell_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/puppetlabs/puppetlabs-powershell/HEAD/spec/unit/provider/exec/powershell_spec.rb -------------------------------------------------------------------------------- /spec/unit/provider/exec/pwsh_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/puppetlabs/puppetlabs-powershell/HEAD/spec/unit/provider/exec/pwsh_spec.rb --------------------------------------------------------------------------------