Skip to content
This repository was archived by the owner on Nov 11, 2021. It is now read-only.
This repository was archived by the owner on Nov 11, 2021. It is now read-only.

Hostname isn't set without gateway #208

@baurmatt

Description

@baurmatt

Expected Behavior

Using the following snippet on a CentOS maschine should configure the hostname:

class { '::network':
  hostname => $::fqdn,
}

Actual Behavior

Nothing happens

Steps to Reproduce the Problem

Use snippet from above

Specifications

Problem is that the hostname gets only configured if the gateway gets configured as well.
https://github.com/example42/puppet-network/blob/master/manifests/init.pp#L265

This should at least fail.

Metadata

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