Skip to content

Documentation/examples for certonly suppress_cron_output not updated after removal of parameter #302

Closed
@cFire

Description

Affected Puppet, Ruby, OS and module versions/distributions

  • Puppet: 7.20.0
  • Ruby: 2.7.6p219
  • Distribution: Debian 11
  • Module version: 9.0.0

How to reproduce (e.g Puppet code you use)

letsencrypt::certonly { "LE_${user}_${domain}":
  ensure              => $ensure_default,
  manage_cron         => true,
  domains             => $domains,
  plugin              => 'apache',
  supress_cron_output => true,
}

What are you seeing

The above code is still correct according to documentation/examples but of course now produces an error when applying:
Error: Could not retrieve catalog from remote server: Error 500 on SERVER: Server Error: Evaluation Error: Error while evaluating a Resource Statement, Letsencrypt::Certonly[LE_redacted_redacted]: has no parameter named 'suppress_cron_output' (file: /etc/puppetlabs/code/environments/production/modules/site_apache/manifests/vhost/user.pp, line: 74) on node host.example.com.

It seems the suppress_cron_output parameter was removed in f6a6a4e in favor of the cron_output parameter which has the suppress option to replace the functionality. Documentation and example code was not updated to reflect these changes.

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions