Score:0

how to prevent puppet to override any change you made on the linux server?

ie flag

i was trying to to change the timedatectl of one server from CST to EST. But everytime i made the change, puppet will override the change and bring it back to where it was after few minuite. How can i stop this from happen on that specific server? So my change remain. Thank you

mfinni avatar
cn flag
I'm sure there's a way, but why don't you fix the puppet manifest instead of trying to work around it? Puppet is doing exactly what it's supposed to be doing.
Score:4
la flag

How to prevent puppet to override any changes you made on the linux server?

You shouldn't.

You automate your system management with Puppet (or any other system management tool) to prevent exactly that: sysadmins making manual, temporary and/or most importantly: undocumented changes to systems.

If that systems needs to be in a different state, then make that change persistent via puppet.


Now if you're manually debugging something, you can temporarily disable the puppet agent until you found the exact settings you want to adjust. That should prevent puppet from reverting any adjustments you're making while you're still making them.

But that should result in:

  • an alert in your monitoring
  • once the correct settings have been found, you update them on the puppet server
  • enable the puppet agent again
  • puppet wil revert most (if not all) changes you made while debugging while only allowing the system to keep the changes that you also adjusted on the puppet server
I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.