Recently I came across an interesting problem. I had to install kernel from branch 3.10 on CentOS6 and there was a need to update
grub.conf- change default kernel plus add boot option. Both mentioned operation had to be done in Puppet 3.7 (Augeas are of course also available in the higher version of Puppet). Sounds easy right?
Yesterday I faced quite interesting problem. In my SLS definition I was iterating over some hash of hashes and wanted to pass to Jinja template hash, which was present in current iteration.
One of my desktop box I recently got this message when I wanted to update it via
Fetched 1448 B in 8s (180 B/s) Reading package lists... Done W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://xxxxxxx ./ Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 0000000000
I recenty found this advice given by Randal Schwartz. I think most of programmers got some idea who he is. Anyway if you have not had to touch Perl here is the link to wiki page.
Here is the advice from Randal:
How to do it ? It’s actually very simple. You can achieve this by
unset HISTFILE. Of course in such case we only disable history for current session. What if we want to selectively do not put some commands into bash history ?