Hi all, I'm using cobbler as our external node manager and it's working really well (including deployment of ActiveMQ from RI's RPMS and Mcollective - blog post coming soon!) however I've run into a problem with exim configuration files.
We use exim in a number of different configurations depending on the role of the server (webserver/antivirus/outbound STMP/etc.) and I'd like to be able to send the correct config file to the puppet node based upon the class that is provided by Cobbler (webserver/antivirusserver/mailserver/etc.). Is this possible? I'm sure it is, I just can't find the syntax on the puppetlabs site to make it work! If someone can give me help on this, I'll document it on my blog and give full credit! I kind of see it happening as follows: file { "/etc/exim/exim.conf": path => "/etc/exim/exim.conf", ensure => present, source => "puppet:///modules/exim/exim-$CLASSNAME.conf", owner => "exim", group => "exim", mode => 644, require => Package["exim"], } but I'm not too sure how to set the value of $CLASSNAME. Thanks in advance, Matt -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-us...@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.