LoginSignup
0
0

More than 5 years have passed since last update.

Puppet 4.6 リリースノート ピックアップ

Last updated at Posted at 2016-08-18

Puppet4.6.0(2016/8/10リリース)の、リリースノートで個人的に気になる変更をピックアップしてみました。動作確認とかはしてないので、間違っている部分があればご指摘ください。

Puppet 4.6.0

New features

Identify manual change corrected by Puppet

This release adds a new report event field called corrective_change that is designed to detect manual change that has been corrected by a Puppet run.

This feature should help users to detect when an unexpected change occurred outside of Puppet, allowing better auditing and understanding around changes.

This feature achieves this by storing the last best known value for each property that is applied by Puppet, and comparing that against the values in the next Puppet run.

Puppet以外(手作業)で変更された部分がわかる、corrective_changeレポートイベントが追加されたようです。従来だと、Puppetの定義更新分の差分なのか、誰かが手で変えた差分なのか、見分けがつかず苦労したことがあったのですが、そのあたりが改良されているかもしれないです。

※ちょっと試してみました。
構成管理対象なサーバーが、ツール以外で変更されたのを確認する(Puppet corrective_change)

Specify multiple masters with server_list option

This change adds master failover functionality to the puppet agent. Using the new server_list option to specify multiple masters, an agent will now attempt to fall back to a functional master should a failure to download a catalog occur. The server_list setting can be either provided on the command line or configured in puppet.conf, and has the format server_list = master1_hostname:port,master2_hostname:port,master3_hostname:port.

The old server option can still be used to specify a single master, in which case failover will not be attempted and Puppet will behave as it always has. Specifying a single server with the server_list option has the same effect.

マスターを複数指定できるserver_listオプションが増えました。マスターが故障した際に、別のマスターを利用するための設定のようです。シングルマスターの場合、従来のserverオプションも使えますが、server_listでもよいそうです。(複数マスターの場合、cert情報の共有とか必要な気がしますが、リリースノートだけだとちょっとわからないです。)

Enhancements

PUP-6378: This adds a field to the report indicating which master was contacted during the run.

マスターを複数指定できるようになったのにあわせてか、puppet実行時にどのマスターを使っているかわかるようになったみたいです。

Misc bug fixes

PUP-6125: Running puppet agent --verbose used to generate log output to both console and syslog (or eventlog on Windows). When adding --logdest syslog option, log output was still sent to both the console and syslog (eventlog). Now adding --logdest syslog causes logging to be delivered only to syslog (eventlog) and not to the console.

--verboseオプションを使った場合にコンソールログとsyslogの両方にログが出ていたのが、--logdest syslogで、syslogだけにログを出すよう指定できるように修正されたようです。

参考

Puppet 4.6 Release Notes
https://docs.puppet.com/puppet/4.6/reference/release_notes.html

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0