Commit 06fbd0b1 authored by Adam Lewenberg's avatar Adam Lewenberg
Browse files

version 1.0.0

parent bc13efff
Loading
Loading
Loading
Loading

CHANGELOG.md

0 → 100644
+20 −0
Original line number Diff line number Diff line
# Changelog
All notable changes to this project will be documented in this file.

This file's format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

The date string is generated with this command: `date --iso-8601=seconds`.

## [1.0.0] - 2026-06-04T16:11:17-07:00

### Changed

- Replace `base::wallet` with Alex Tayts' `wallet` native type.

### Removed

- Remove `$use_pepublic_wallet` parameter (both branches now use the
  `wallet` native type, so the conditional is no longer needed).

+8 −21
Original line number Diff line number Diff line
@@ -26,7 +26,6 @@
define patchman_client (
  Enum['present', 'absent'] $ensure = 'present',
  $wallet_client_netrc              = undef,
  Boolean $use_pepublic_wallet      = false,
)
{
  if ($wallet_client_netrc  == undef) {
@@ -45,7 +44,6 @@ define patchman_client (
  # filename in case this define is called more than once.
  $netrc_path = "/etc/patchman/${patchman_server}.netrc"

  if ($use_pepublic_wallet) {
  wallet { $wallet_client_netrc:
    ensure  => $ensure,
    type    => 'file',
@@ -55,17 +53,6 @@ define patchman_client (
    mode    => '0660',
    require => Class['Patchman_client::Install_package'],
  }
  } else {
    base::wallet { $wallet_client_netrc:
      ensure  => $ensure,
      type    => 'file',
      path    => $netrc_path,
      owner   => 'root',
      group   => 'root',
      mode    => '0660',
      require => Class['Patchman_client::Install_package'],
    }
  }

  $patchman_conf_path = "/etc/patchman/${patchman_server}.conf"
  file { $patchman_conf_path: