Sounds like you might want to look at using an ENC - see: http://docs.puppetlabs.com/guides/external_nodes.html
On 2 July 2013 19:30, Dax Jack <[email protected]> wrote: > I am working on a project that involves host names with now sequence to > them. > > I would like my "node" hostnames in nodes.pp to point to a file with a > list of these hostnames. > Example: node {path/filename} { > > instead of the usual: > > node 'www1.example.com' { > > or > > node /^www\d+$/ { > > > Can this be done? > > > Can anyone show my an example of how this was achieved? > > > Thanks in advance. > > -- > You received this message because you are subscribed to the Google Groups > "Puppet Users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > Visit this group at http://groups.google.com/group/puppet-users. > For more options, visit https://groups.google.com/groups/opt_out. > > > -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/puppet-users. For more options, visit https://groups.google.com/groups/opt_out.
