From 8983683bc0b03a0f76c786dfc2525c8c50475210 Mon Sep 17 00:00:00 2001 From: Andrey Danin Date: Fri, 14 Jun 2013 15:33:56 +0400 Subject: [PATCH] Set MCollective TTL to 60 years. --- bootstrap/sync/etc/mcollective/server.cfg | 6 ++++++ puppet/cobbler/templates/snippets/mcollective_conf.erb | 6 ++++++ puppet/mcollective/templates/client.cfg.erb | 6 ++++++ 3 files changed, 18 insertions(+) diff --git a/bootstrap/sync/etc/mcollective/server.cfg b/bootstrap/sync/etc/mcollective/server.cfg index 8b9903797..48184ea35 100644 --- a/bootstrap/sync/etc/mcollective/server.cfg +++ b/bootstrap/sync/etc/mcollective/server.cfg @@ -6,6 +6,12 @@ loglevel = debug direct_addressing = 1 daemonize = 1 +# Set huge value of ttl to avoid cases with unsyncronized time between nodes +# bash$ date -d '2033-5-18 3:33:20 UTC' +%s +# 2000000000 +# It means that ttl equals 63 years and a half. +ttl = 2000000000 + # Plugins securityprovider = psk plugin.psk = unset diff --git a/puppet/cobbler/templates/snippets/mcollective_conf.erb b/puppet/cobbler/templates/snippets/mcollective_conf.erb index b51441b02..ee0ca540e 100644 --- a/puppet/cobbler/templates/snippets/mcollective_conf.erb +++ b/puppet/cobbler/templates/snippets/mcollective_conf.erb @@ -9,6 +9,12 @@ loglevel = debug daemonize = 1 direct_addressing = 1 +# Set huge value of ttl to avoid cases with unsyncronized time between nodes +# bash$ date -d '2033-5-18 3:33:20 UTC' +%s +# 2000000000 +# It means that ttl equals 63 years and a half. +ttl = 2000000000 + # Plugins securityprovider = psk plugin.psk = $mco_pskey diff --git a/puppet/mcollective/templates/client.cfg.erb b/puppet/mcollective/templates/client.cfg.erb index 4d04b6cff..4d4559aaf 100644 --- a/puppet/mcollective/templates/client.cfg.erb +++ b/puppet/mcollective/templates/client.cfg.erb @@ -5,6 +5,12 @@ logfile = /var/log/mcollective.log loglevel = info direct_addressing = 1 +# Set huge value of ttl to avoid cases with unsyncronized time between nodes +# bash$ date -d '2033-5-18 3:33:20 UTC' +%s +# 2000000000 +# It means that ttl equals 63 years and a half. +ttl = 2000000000 + # Plugins securityprovider = psk plugin.psk = <%= pskey %>