After reading more hiera docs, I think that is the way to go. thanks Rob,

Jack

On Thu, Nov 2, 2017 at 2:13 PM, Rob Nelson <[email protected]> wrote:

> If the only difference is in the virtual hosts, then you should be able to
> apply the same classes to each and use different data only. Hiera, included
> with puppet, is a key/value pair lookup tool that can help here, so each
> node would receive their vhost data and only their vhosts. I think you
> should find plenty of hiera docs on puppet’s websites and others (I’m on my
> phone or I’d grab a link or three) and we are glad to help you here or on
> slack if you need more help with it.
>
> On Thu, Nov 2, 2017 at 12:44 PM <[email protected]> wrote:
>
>> Thanks Eric.  I've read that documentation and it always refers to
>> multiple nodes.  It just feels like I'm doing it wrong.  If I have a small
>> group of 4 web servers that all run different virtual hosts, the only way
>> to use the node classification groups is to pin each node to it's own group
>> and apply the classes to them.  I can do that, it just feels like there is
>> a better way.
>>
>> On Thursday, November 2, 2017 at 11:54:07 AM UTC-4, Eric Sorenson wrote:
>>
>>> Hi Jack, for puppet enterprise there's a built-in workflow for assigning
>>> classes to nodes - the phrase you're looking for is called "node
>>> classification" in puppet-speak.  here's the relevant doc:
>>> https://puppet.com/docs/pe/2017.3/managing_nodes/
>>> grouping_and_classifying_nodes.html
>>>
>>> hope this helps!
>>>
>> --eric0
>>>
>>
>>>
>>> On Thursday, November 2, 2017 at 5:37:29 AM UTC-7, [email protected]
>>> wrote:
>>>>
>>>> Hi,
>>>>     I'm a new puppet enterprise user (first post!) and I need to change
>>>> some settings on an individual node.  The module is created and it works in
>>>> my testing, but every method of applying the module to one machine feels
>>>> like I'm doing it wrong. What is the best way to accomplish this?  Feel
>>>> free to point me to some documentation, if I'm simply missing something.
>>>>
>>>> Thanks,
>>>>
>>>> Jack
>>>>
>>> --
>> 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 view this discussion on the web visit https://groups.google.com/d/
>> msgid/puppet-users/2f5ccbd2-fccd-4fea-b8d2-c2f2cd93d03c%
>> 40googlegroups.com
>> <https://groups.google.com/d/msgid/puppet-users/2f5ccbd2-fccd-4fea-b8d2-c2f2cd93d03c%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
> --
> Rob Nelson
>
> --
> You received this message because you are subscribed to a topic in the
> Google Groups "Puppet Users" group.
> To unsubscribe from this topic, visit https://groups.google.com/d/
> topic/puppet-users/Tkj5Bv6eQuc/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> [email protected].
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/puppet-users/CAC76iT-jtwD9gWTh5LtZvvZE%3DADJO5bFeVtQy_SSGfWibnYY6w%
> 40mail.gmail.com
> <https://groups.google.com/d/msgid/puppet-users/CAC76iT-jtwD9gWTh5LtZvvZE%3DADJO5bFeVtQy_SSGfWibnYY6w%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/CANf8kn0WrYoHwsCqgKRDqGfag5khbsfsx1nu16OA5_aXMwc7YA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to