[Puppet Users] Bolt 1.2.0 now available

2018-10-30 Thread Puppet Product Updates
Hello Everyone,

Today we’re happy to announce the release of Bolt 1.2.0. Highlights in this
release include:

   - A bolt apply command you can use to apply Puppet manifest code
   directly to targets
   - Python and Ruby helper libraries for tasks
   - Redacted passwords for printed Target objects

For more information, check out the release notes:
https://puppet.com/docs/bolt/latest/bolt_release_notes.html


To try this version of Bolt, follow the installation instructions for your
operating system at:
https://puppet.com/docs/bolt/latest/bolt_installing.html


Thanks!

-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/CA%2B%2BkvaqG-uYrnBd5487trbb%2BNtna-%2B-4bf0-vLGFQkubL0i_kQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Puppet Users] puppet.conf ini heading

2018-10-30 Thread Matt Zagrabelny
On Tue, Oct 30, 2018 at 5:10 PM Justin Stoller  wrote:

>
>
> On Tue, Oct 30, 2018 at 2:34 PM Matt Zagrabelny 
> 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 ` 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 puppet-users+unsubscr...@googlegroups.com.
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.


Re: [Puppet Users] puppet.conf ini heading

2018-10-30 Thread Justin Stoller
On Tue, Oct 30, 2018 at 2:34 PM Matt Zagrabelny  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
>
> However, if I remove the "master" section heading in the puppet.conf file,
> I get the results I expect:
>
> # cat /etc/puppet/puppet.conf
> node_terminus  = exec
> external_nodes = /opt/bin/my-enc
> # systemctl restart puppet-master.service
> # puppet config print external_nodes
> /opt/bin/my-enc
>
> Should I file a bug or is this somehow expected?
>

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 ` 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.

HTH,
Justin

1.
https://github.com/puppetlabs/puppet/blob/5.5.x/lib/puppet/application/master.rb#L274


Thanks!
>
> -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 puppet-users+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/puppet-users/CAOLfK3UsJHY%2BpFMXUpM1H4%2BL6FajzPj01x09EqfAcWHnkSqb1Q%40mail.gmail.com
> 
> .
> 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 puppet-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/CA%2B%3DBEqVWin1P6KjyDPwsQ5MyhfaYab9-Wi%3Dtxkf5wij0vYVxFg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


[Puppet Users] puppet.conf ini heading

2018-10-30 Thread Matt Zagrabelny
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

However, if I remove the "master" section heading in the puppet.conf file,
I get the results I expect:

# cat /etc/puppet/puppet.conf
node_terminus  = exec
external_nodes = /opt/bin/my-enc
# systemctl restart puppet-master.service
# puppet config print external_nodes
/opt/bin/my-enc

Should I file a bug or is this somehow expected?

Thanks!

-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 puppet-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/CAOLfK3UsJHY%2BpFMXUpM1H4%2BL6FajzPj01x09EqfAcWHnkSqb1Q%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


[Puppet Users] how to manage a resource to single instance using hiera fqdn in a datacenter.

2018-10-30 Thread linuxlearning . world481

I'm new to hiera. can someone please guide with some references how to 
install a package only to a single node for the 20 nodes in a datacenter 
pointing to the same role using hiera fqdn. 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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/f86a578a-204b-4476-8f42-b0f472d37978%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.