Page MenuHomePhabricator

smokeping config puppetization issue?
Closed, ResolvedPublic

Description

when reinstalling hooft, i edited smokeping config in puppet and merged,

then ran puppet on netmon1001 the smokeping host, but the config file stayed unchanged

i then edited it manually. this is to follow-up and check into the puppet manifest details

Event Timeline

the puppet edit was here:

https://gerrit.wikimedia.org/r/#/c/280466/2/modules/smokeping/files/config.d/Targets

so modules/smokeping/files/config.d/Targets

the file on the server is /etc/smokeping/config.d/Targets but it did not change after the puppet run

Dzahn triaged this task as Low priority.Apr 19 2016, 1:44 AM
Marostegui assigned this task to Dzahn.
Marostegui subscribed.

This looks resolved:

root@netmon1002:/etc/smokeping# puppet agent -t
Info: Using configured environment 'production'
Info: Retrieving pluginfacts
Info: Retrieving plugin
Info: Retrieving locales
Info: Loading facts
Info: Caching catalog for netmon1002.wikimedia.org
Info: Applying configuration version '(72c93d4bfb) Luca Toscano - Decommission analytics1056 from the Hadoop cluster'
Notice: /Stage[main]/Smokeping/File[/etc/smokeping/config.d/Targets]/content:
--- /etc/smokeping/config.d/Targets	2020-10-20 07:20:39.955692658 +0000
+++ /tmp/puppet-file20201020-4968-1yo5jsl	2020-10-20 07:20:56.767783374 +0000
@@ -1,5 +1,4 @@
 #####################################################################
-#
 ### THIS FILE IS MANAGED BY PUPPET
 ### puppet:///modules/smokeping/config.d/Targets
 #####################################################################

Info: Computing checksum on file /etc/smokeping/config.d/Targets
Info: /Stage[main]/Smokeping/File[/etc/smokeping/config.d/Targets]: Filebucketed /etc/smokeping/config.d/Targets to puppet with sum db20eabf4a91532ff7fcba1630114984
Notice: /Stage[main]/Smokeping/File[/etc/smokeping/config.d/Targets]/content:

Notice: /Stage[main]/Smokeping/File[/etc/smokeping/config.d/Targets]/content: content changed '{md5}db20eabf4a91532ff7fcba1630114984' to '{md5}96ce3a16f3fc8f338e7376cbb34159d5'
Info: /Stage[main]/Smokeping/File[/etc/smokeping/config.d/Targets]: Scheduling refresh of Service[smokeping]
Notice: /Stage[main]/Smokeping/Service[smokeping]: Triggered 'refresh' from 1 event
Notice: Applied catalog in 15.91 seconds