Ich habe Puppet besiegt. :neocat_melt_happy:
=> More informations about this toot | More toots from june@social.nekover.se
Debugging Puppets exit code 1 without any errors in the debug output was truly a wonderful experience. /s
=> More informations about this toot | More toots from june@social.nekover.se
@june uh? i never had this.. did you see anything in the server logs?
=> More informations about this toot | More toots from rick@a.n0id.space
@rick As part of my work I was trying to get octocatalog-diff running for our Puppet configuration repo. It's a tool, which builds the Puppet catalog(s) of two branches locally and then diffs them for you, so one can get a clearer picture of the changes.
This tool then obviously runs puppet, specifically "puppet catalog compile" to compile the catalog. I was scratching my head for while, since this command would just exit and even the debug output would only show how it got values for various variables/facts(?).
Well, turns out the next variable/fact(?) it would process had it's value stored in an eyaml (yaml with encryption) and since the environment I was running in wouldn't have the decryption keys, that made puppet then fail apparently.
The thing is: It just failed, no error message, nothing. Only once I looked at the variables/facts(?) it processed right before failure and then looked into the source as well, is when I saw that the next value it would probably process would be a secret. And that is when it clicked that it must fail here somehow.
And indeed, ripping the secrets out and replacing them with dummy values made the command finally succeed.
=> More informations about this toot | More toots from june@social.nekover.se
@june ahahahahahaha sorry that i laught.. but i had the exacte same error with onceover last week :laughing_cirno:
ripping out the ecrypted values fixed it XDD
but at least onceover told me that it can't decrypt the values
=> More informations about this toot | More toots from rick@a.n0id.space
@rick Oh god :guralaugh:
But so weird, it just didn't tell me. I was so confused. :woozy_baa:
=> More informations about this toot | More toots from june@social.nekover.se
@june the world is really small sometimes xDD
but hey, good job, stuff like that is very annoying to tackle ^^
=> More informations about this toot | More toots from rick@a.n0id.space This content has been proxied by September (3851b).Proxy Information
text/gemini