Skip to content

$::operatingsystemmajrelease string compares with integer on Puppet 4.x #40

@gothicx

Description

@gothicx

if $::osfamily == 'RedHat' {

  •    if $::operatingsystemmajrelease >= 6 {
    
  •    if $::operatingsystemmajrelease >= '6' {
    

This actually fixes the issue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions