Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unexpected error #942

Open
jdyb opened this issue Apr 21, 2021 · 0 comments
Open

Unexpected error #942

jdyb opened this issue Apr 21, 2021 · 0 comments

Comments

@jdyb
Copy link

jdyb commented Apr 21, 2021

Hi!

Got the following and followed the instructions.
Anything more I can help with?

Best wishes,
Jon Dybeck


puppet-lint version: 2.4.2
ruby version: 2.7.3-p183
platform: x86_64-linux-musl
file path: manifests/init.pp
file contents:

# == Class: cwsens
class puppet_cwsens(
) {
  ensure_packages(['mosquitto'], { ensure => latest })
  $mosquitto_conf = @("EOT"/L)
    per_listener_settings true
    max_inflight_messages 0
    sys_interval 2
    allow_anonymous false
  | - EOI
  file { '/etc/mosquitto/mosquitto.conf':
    ensure  => present,
    owner   => root,
    group   => root,
    mode    => '0644',
    content => $mosquitto_conf,
    require => Package['mosquitto'],
  }
  service { 'mosquitto':
    ensure  => running,
    enable  => true,
    require => [
      File['/etc/mosquitto/mosquitto.conf'],
      Package['mosquitto'],
    ],
  }
}

error:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant