FAQ
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 puppet-users+unsubscribe@googlegroups.com.
To post to this group, send email to puppet-users@googlegroups.com.
Visit this group at http://groups.google.com/group/puppet-users.
For more options, visit https://groups.google.com/groups/opt_out.

Search Discussions

  • Dick Davies at Jul 3, 2013 at 12:50 pm
    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 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 puppet-users+unsubscribe@googlegroups.com.
    To post to this group, send email to puppet-users@googlegroups.com.
    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 puppet-users+unsubscribe@googlegroups.com.
    To post to this group, send email to puppet-users@googlegroups.com.
    Visit this group at http://groups.google.com/group/puppet-users.
    For more options, visit https://groups.google.com/groups/opt_out.

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
grouppuppet-users @
categoriespuppet
postedJul 2, '13 at 6:30p
activeJul 3, '13 at 12:50p
posts2
users2
websitepuppetlabs.com

2 users in discussion

Dax Jack: 1 post Dick Davies: 1 post

People

Translate

site design / logo © 2021 Grokbase