The Journal of Simon Hanmer

Tech, Family and Random Stuff

Category

snippets

Controlling file permissions with Puppet without controlling content

Have you ever wanted to control the permissions of a file in Puppet without worrying about the contents of the file? As an example, we needed to deploy a private/public key pair – we didn’t want to place the keys… Continue reading →

Overriding an automatically updated /etc/resolv.conf

If you’re using a linux host, you might find that your domain name is being overwritten on reboots, and trying to amend /etc/resolv.conf is similarly affected. If this is happening to you, this should fix it on most Linuxes –… Continue reading →

© 2017 The Journal of Simon Hanmer — Powered by WordPress

Theme by Anders NorenUp ↑