Bruce, I think what you are saying is clicking now. Now does puppet allow any variable substitution?
class role::basic_host { host { 'localhost': ip => '127.0.0.1', host_aliases => 'localhost.localdomain', ensure => 'present' } host { $fqdn: ip => $primary_ipaddress, host_aliases => $hostname, ensure => 'present' } host { ${fqdn/1/2/}: ip => $primary_ip, ensure => 'present' } } On Jan 10, 10:24 am, Bruce Richardson <itsbr...@workshy.org> wrote: > On Mon, Jan 10, 2011 at 08:11:02AM -0800, trey85stang wrote: > > Upon further reading, it looks like what I want would be better > > accomplished with using stored configs? > > No. That's for something else. Since you have 6000 nodes in your > environment, you probably want to look at External Nodes, which would > scale better for you than describing all 6000 nodes in a text file. > > http://docs.puppetlabs.com/guides/external_nodes.html > > -- > Bruce > > I object to intellect without discipline. I object to power without > constructive purpose. -- Spock -- 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.