
Security News
Rspack Introduces Rslint, a TypeScript-First Linter Written in Go
Rspack launches Rslint, a fast TypeScript-first linter built on typescript-go, joining in on the trend of toolchains creating their own linters.
This gem is used to execute Puppet module acceptance tests (beaker) for Windows using WinRM instead of SSH.
TODO: rspec test for this gem
This gem has two gem dependencies:
Add this line to your spec_helper_acceptance.rb:
require 'kpn_winrm'
Make sure the gem is installed:
$ gem install kpn_winrm
This gem contains 2 functions:
This function can be used to apply a puppet manifest on the beaker node using winrm.
The functions has 3 parameters:
The host definition on which to execute the commands, for one node tests set this to default
.
The ruby variable containting the manifest to apply, example:
pp = <<-PP
user { 'testuser':
password => 'Dummy1234qwer!',
groups => ['Administrators'],
}
PP
A hash of options, which can have one of the following:
Example
apply_manifest_on_winrm(default, pp, :catch_failures => true)
apply_manifest_on_winrm(default, pp, :catch_changes => true)
Run a command on the beaker node via winrm.
The functions has 3 parameters:
The host definition on which to execute the commands, for one node tests set this to default
.
The command which should be executed via WinRM.
A hash of options, which can have one of the following:
Example
winrm_command(default, 'SecEdit /export /cfg c:\cfg.txt')
FAQs
Unknown package
We found that kpn_winrm demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Rspack launches Rslint, a fast TypeScript-first linter built on typescript-go, joining in on the trend of toolchains creating their own linters.
Security News
Hacker Demonstrates How Easy It Is To Steal Data From Popular Password Managers
Security News
Oxlint’s new preview brings type-aware linting powered by typescript-go, combining advanced TypeScript rules with native-speed performance.