Gitlab Community Edition Instance

Skip to content
Snippets Groups Projects
unbound.pp 590 B
Newer Older
  • Learn to ignore specific revisions
  • Benedikt Wegmann's avatar
    Benedikt Wegmann committed
    # unbound installieren
    
    class ubuntu_server::unbound{
    
        File{
            owner => 'root',
            group => 'root',
            mode  => '0644',
        }
    
        package{'unbound':
            ensure => present,
        }
    
        file{'/etc/unbound/unbound.conf.d/prefetch.conf':
            ensure  => present,
            source  => 'puppet:///modules/ubuntu_server/etc/unbound/unbound.conf.d/prefetch.conf',
            require => Package['unbound'],
            notify  => Service['unbound'],
        }
    
        service { 'unbound':
            ensure  => running,
            enable  => true,
            require => Package['unbound'],
        }
    }