On Tue, Oct 30, 2018 at 5:10 PM Justin Stoller <[email protected]> wrote:

>
>
> On Tue, Oct 30, 2018 at 2:34 PM Matt Zagrabelny <[email protected]>
> wrote:
>
>> Greetings,
>>
>> I'm running puppet 5.5.6 (Debian testing.)
>>
>> I'm seeing some curious and inconsistent results from where I put config
>> settings in /etc/puppet/puppet.conf. When I use the [master] heading, the
>> "external_nodes" setting is read by the puppet master:
>>
>> # cat /etc/puppet/puppet.conf
>> [master]
>> node_terminus  = exec
>> external_nodes = /opt/bin/my-enc
>> # systemctl restart puppet-master.service
>> # puppet config print external_nodes
>> none
>>
>>
[...]


> When your master run it uses only certain sections of the config file
> (mainly "master" and "main"[1]), while config print will by default use the
> section "main". You can use the `--section <section>` flag to act on a
> specific section. If you don't specify a section in the puppet.conf the
> setting will be applied to the "main" section.
>
> eg `puppet config print --section master external_nodes` should give you
> want you want.
>

Indeed it does!

Thanks, Justin!

-m

-- 
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/CAOLfK3Wb3CDDv1CUA-UpWL7Jnr2NK7k_5-UJRqoHiv-1Ws6AYA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to