Remove a host entry with Puppet

Remove a host entry with Puppet

1

Votes

class remove_host_entry {

  host { 'syslog':
    ensure => 'absent',
  }

  host { 'ntpserver.example.com':
    ensure => 'absent',
  }

}

Vote Here

You must earn at least 1 vote on your snippets to be allowed to vote

Terms Of Use

Privacy Policy

Featured snippets are MIT license

Gears & Masters

Advertise

DevOpsnipp.com © 2020

medium.png