diff --git a/.github/workflows/apply.yaml b/.github/workflows/apply.yaml index a18516ae40..12dc81f347 100644 --- a/.github/workflows/apply.yaml +++ b/.github/workflows/apply.yaml @@ -27,7 +27,7 @@ jobs: strategy: matrix: os: [ubuntu-latest, windows-latest] - ruby: [2.7, 3.1] + ruby: [2.7, 3.2] runs-on: ${{ matrix.os }} steps: - name: Checkout repository diff --git a/.github/workflows/bolt_server.yaml b/.github/workflows/bolt_server.yaml index c03b2035ea..c2f5d3b4f3 100644 --- a/.github/workflows/bolt_server.yaml +++ b/.github/workflows/bolt_server.yaml @@ -28,7 +28,7 @@ jobs: strategy: matrix: os: [ubuntu-latest, windows-latest] - ruby: [2.7, 3.1] + ruby: [2.7, 3.2] runs-on: ${{ matrix.os }} steps: - name: Checkout repository diff --git a/.github/workflows/bolt_spec.yaml b/.github/workflows/bolt_spec.yaml index ea381f3887..1e79c00d59 100644 --- a/.github/workflows/bolt_spec.yaml +++ b/.github/workflows/bolt_spec.yaml @@ -28,7 +28,7 @@ jobs: strategy: matrix: os: [ubuntu-latest, windows-latest] - ruby: [2.7, 3.1] + ruby: [2.7, 3.2] runs-on: ${{ matrix.os }} steps: - name: Checkout repository diff --git a/.github/workflows/docker_transport.yaml b/.github/workflows/docker_transport.yaml index 007c3c0ce7..426fecd1b4 100644 --- a/.github/workflows/docker_transport.yaml +++ b/.github/workflows/docker_transport.yaml @@ -20,7 +20,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - ruby: [2.7, 3.1] + ruby: [2.7, 3.2] steps: - name: Checkout repository uses: actions/checkout@v2 diff --git a/.github/workflows/linux.yaml b/.github/workflows/linux.yaml index 070898b36c..133cb9feb4 100644 --- a/.github/workflows/linux.yaml +++ b/.github/workflows/linux.yaml @@ -20,7 +20,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - ruby: [2.7, 3.1] + ruby: [2.7, 3.2] steps: - name: Checkout repository uses: actions/checkout@v2 diff --git a/.github/workflows/local_transport.yaml b/.github/workflows/local_transport.yaml index c06b429c02..e414c6d79e 100644 --- a/.github/workflows/local_transport.yaml +++ b/.github/workflows/local_transport.yaml @@ -27,7 +27,7 @@ jobs: strategy: matrix: os: [ubuntu-latest, windows-latest] - ruby: [2.7, 3.1] + ruby: [2.7, 3.2] runs-on: ${{ matrix.os }} steps: - name: Checkout repository diff --git a/.github/workflows/modules.yaml b/.github/workflows/modules.yaml index 61f7327402..22452df20b 100644 --- a/.github/workflows/modules.yaml +++ b/.github/workflows/modules.yaml @@ -20,7 +20,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - ruby: [2.7, 3.1] + ruby: [2.7, 3.2] steps: - name: Checkout repository uses: actions/checkout@v2 @@ -39,7 +39,7 @@ jobs: runs-on: windows-latest strategy: matrix: - ruby: [2.7, 3.1] + ruby: [2.7, 3.2] env: BOLT_WINDOWS: true steps: diff --git a/.github/workflows/orch_transport.yaml b/.github/workflows/orch_transport.yaml index b91d819d53..e7c59e22dd 100644 --- a/.github/workflows/orch_transport.yaml +++ b/.github/workflows/orch_transport.yaml @@ -27,7 +27,7 @@ jobs: strategy: matrix: os: [ubuntu-latest, windows-latest] - ruby: [2.7, 3.1] + ruby: [2.7, 3.2] runs-on: ${{ matrix.os }} steps: - name: Checkout repository diff --git a/.github/workflows/ssh_transport.yaml b/.github/workflows/ssh_transport.yaml index 951ea59ed2..ea794620ec 100644 --- a/.github/workflows/ssh_transport.yaml +++ b/.github/workflows/ssh_transport.yaml @@ -20,7 +20,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - ruby: [2.7, 3.1] + ruby: [2.7, 3.2] steps: - name: Checkout repository uses: actions/checkout@v2 diff --git a/.github/workflows/unit.yaml b/.github/workflows/unit.yaml index 560eccb10c..e4f956c227 100644 --- a/.github/workflows/unit.yaml +++ b/.github/workflows/unit.yaml @@ -24,7 +24,7 @@ jobs: strategy: matrix: os: [ubuntu-latest, windows-latest] - ruby: [2.7, 3.1] + ruby: [2.7, 3.2] runs-on: ${{ matrix.os }} steps: - name: Checkout repository diff --git a/.github/workflows/windows.yaml b/.github/workflows/windows.yaml index c441229e97..4d7d356591 100644 --- a/.github/workflows/windows.yaml +++ b/.github/workflows/windows.yaml @@ -27,7 +27,7 @@ jobs: runs-on: windows-latest strategy: matrix: - ruby: [2.7, 3.1] + ruby: [2.7, 3.2] env: WINDOWS_AGENTS: true steps: @@ -58,7 +58,7 @@ jobs: runs-on: windows-latest strategy: matrix: - ruby: [2.7, 3.1] + ruby: [2.7, 3.2] env: BOLT_WINDOWS: true steps: diff --git a/.github/workflows/winrm_transport.yaml b/.github/workflows/winrm_transport.yaml index 061ac8df7a..3b0fc135f0 100644 --- a/.github/workflows/winrm_transport.yaml +++ b/.github/workflows/winrm_transport.yaml @@ -27,7 +27,7 @@ jobs: runs-on: windows-latest strategy: matrix: - ruby: [2.7, 3.1] + ruby: [2.7, 3.2] steps: - name: Checkout repository uses: actions/checkout@v2 diff --git a/Gemfile b/Gemfile index 9847ad465a..402d31a67e 100644 --- a/Gemfile +++ b/Gemfile @@ -23,6 +23,10 @@ end # Optional paint gem for rainbow outputter gem "paint", "~> 2.2" +gem "orchestrator_client", git: "https://github.com/donoghuc/orchestrator_client-ruby.git", branch: "ruby-3.2" +gem "rubyntlm", git: "https://github.com/larskanis/rubyntlm.git", branch: "openssl-3-legacy" +gem "puppet", git: "https://github.com/puppetlabs/puppet.git", branch: 'main' + group(:test) do gem "beaker-hostgenerator" gem "mocha", '~> 1.4.0' diff --git a/bolt.gemspec b/bolt.gemspec index 635c1f829d..dde821836a 100644 --- a/bolt.gemspec +++ b/bolt.gemspec @@ -52,7 +52,7 @@ Gem::Specification.new do |spec| spec.add_dependency "jwt", "~> 2.2" spec.add_dependency "logging", "~> 2.2" spec.add_dependency "minitar", "~> 0.6" - spec.add_dependency "net-scp", "~> 1.2" + spec.add_dependency "net-scp", "~> 4.0" spec.add_dependency "net-ssh", ">= 4.0", "< 8.0" spec.add_dependency "net-ssh-krb", "~> 0.5" spec.add_dependency "orchestrator_client", "~> 0.5" diff --git a/lib/bolt/transport/winrm/connection.rb b/lib/bolt/transport/winrm/connection.rb index 2f34ffa037..ac635eb083 100644 --- a/lib/bolt/transport/winrm/connection.rb +++ b/lib/bolt/transport/winrm/connection.rb @@ -91,7 +91,7 @@ def connect ) rescue StandardError => e raise Bolt::Node::ConnectError.new( - "Failed to connect to #{endpoint}: #{e.message}", + "Failed to connect to #{endpoint}: #{e.message} #{e.backtrace}", 'CONNECT_ERROR' ) end