I thought about that too, but I think it is to dangerous, if someone edits the file locali and it then gets overwritten...
I think I ensure, that multipath is not installed via kickstart and do it the way pete suggested.... On Jun 4, 1:52 pm, David Schmitt <[email protected]> wrote: > Rene schrieb: > > > Hi > > > I want to deploy a customized /etc/multipath.conf file for all our > > server. Any idea I can do this with puppet? The file should be > > editable (to mask some wwid etc...). I could try it with file > > { replace => false} but, if the rpm is allready installed it will not > > get initialized. > > > Any ideas? > > In that case I would recommend editing and distributing the file from > the puppetmaster. e.g. like this: > > file { "/etc/multipath.conf": > source => [ "puppet:///files/multipath.conf/$hostname", > "puppet:///files/multipath.conf/default" ], > mode => 0644, ... > > } > > That way you can have per-host files in > /etc/puppet/files/multipath.conf/ and use a default file else. > > Regards, DavidS > > -- > dasz.at OG Tel: +43 (0)664 2602670 Web:http://dasz.at > Klosterneuburg UID: ATU64260999 > > FB-Nr.: FN 309285 g FB-Gericht: LG Korneuburg --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en -~----------~----~----~----~------~----~------~--~---
