Hi,

On Tue, 2012-09-11 at 17:16 +0200, Andreas Ntaflos wrote:
> On 11/09/12 16:00, Sandra Schlichting wrote:
> > Hi all =)
> > 
> > Does anyone know of a module that can configure the DNS on Ubuntu 12.04
> > clients?
> > 
> > This module works for CentOS and Ubuntu < 12.04
> > 
> > http://forge.puppetlabs.com/saz/resolv_conf
> > 
> > but in Ubuntu 12.04 you can't just overwrite the /etc/resolv.conf
> > anymore. DNS have to be set in /etc/network/interfaces
> 
> Not necessarily. I have not tried this myself yet, but you can put
> static DNS settings in /etc/resolvconf/resolv.conf.d/{head,base,tail}.
> Afterwards call "service resolvconf restart". See here for details:
> http://www.stgraber.org/2012/02/24/dns-in-ubuntu-12-04/
> 
> You should be able to adapt the resolv_conf module accordingly, or write
> your own.

Surely if you're statically configuring DNS on a server, you don't want
a dynamic DNS configuration daemon running on the same server.

Presumably something like:

package { 'resolvconf':
        ensure => purged
}

And then get on with your life?

Cheers,
-- 
Stephen Gran
Senior Systems Integrator - guardian.co.uk

Please consider the environment before printing this email.
------------------------------------------------------------------
Visit guardian.co.uk - newspaper of the year

www.guardian.co.uk    www.observer.co.uk     www.guardiannews.com 

On your mobile, visit m.guardian.co.uk or download the Guardian
iPhone app www.guardian.co.uk/iphone and iPad edition www.guardian.co.uk/iPad 
 
Save up to 37% by subscribing to the Guardian and Observer - choose the papers 
you want and get full digital access. 
Visit guardian.co.uk/subscribe 

---------------------------------------------------------------------
This e-mail and all attachments are confidential and may also
be privileged. If you are not the named recipient, please notify
the sender and delete the e-mail and all attachments immediately.
Do not disclose the contents to another person. You may not use
the information for any purpose, or store, or copy, it in any way.
 
Guardian News & Media Limited is not liable for any computer
viruses or other material transmitted with or as part of this
e-mail. You should employ virus checking software.

Guardian News & Media Limited

A member of Guardian Media Group plc
Registered Office
PO Box 68164
Kings Place
90 York Way
London
N1P 2AP

Registered in England Number 908396

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to puppet-users@googlegroups.com.
To unsubscribe from this group, send email to 
puppet-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.

Reply via email to