Skip to content

Crash on NoMethodError: undefined method #125

@Chartreusito

Description

@Chartreusito

puppet-lint version: 4.0.0
ruby version: 3.0.2-p107
platform: x86_64-linux-gnu
file path: modules//repos/manifests/lab_consol_de.pp
file contents:

#Lab Consol.de repos
class repos::lab_consol_de(
  $channel = 'stable',
){

    if($::facts[http_proxy]) {
      $options = "http-proxy=\"http://${::facts[http_proxy][host]}:${::facts[http_proxy][port]}/\""
    } else {
      $options = ''
    }
    apt::source { 'labs.consol.de':
      comment  => 'Consol.de repo',
      #location => "http://labs.consol.de/repo/${channel}/debian",
      location => "http://labs.consol.de/repo/stable/debian",
      release  => $::os[codename],
      repos    => 'main',
      pin      => '1000',
      key      => {
        id     => 'F2F97737B59ACCC92C23F8C7F8C1CA08A57B9ED7',
        source => 'https://labs.consol.de/repo/stable/RPM-GPG-KEY',
        #        options => $options
      },
      include  => {
        'src' => false,
        'deb' => true,
      },
    }


}

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions