• About Me
  • Resources
  • Projects
    • SkyblockPlugin
    • GitHub
    • Varnish Dashboard
    • NodeFTPD
    • Util.php
    • WordPress Access Control
  • Contact Info
  • Resume/CV
Brandon Wamboldt
Software Development & DevOps

Puppet

  • DevOps

Puppet Tip: Preinstall Stage

Posted on November 25, 2013November 25, 2013by Brandon Wamboldt

If you have some commands that you want to run before everything else, it can be annoying to add a require statement to every resource (as Puppet doesn’t execute things in order). Luckily you can get around this using stages. stage { ‘preinstall’: before => Stage[‘main’] } class apt_get_update { file { ‘/etc/apt/sources.list’: ensure => […]

Read More
1 Comment
  • DevOps

Puppet Tip: Set global exec path

Posted on November 25, 2013by Brandon Wamboldt

Here’s a quick tip you might not know about. In Puppet, you can set a global path option for all Exec resources. This saves you from having to prefix all of your commands with the absolute path. Just throw this at the top of your file: Exec { path => [‘/usr/sbin’, ‘/usr/bin’, ‘/sbin’, ‘/bin’] } […]

Read More
3 Comments
  • DevOps

Don’t use symlinks in Vagrant for config files

Posted on November 16, 2013by Brandon Wamboldt

I’ve been building a lot of Vagrant machines lately, and I’m learning a few things to make the process easier/optimal. One of the things I recently discovered was that you should avoid using symlinks for your config files, if you’re using a provisioner like Puppet. I had gotten into the habit of just symlinking config […]

Read More
1 Comment
I'm a team lead, software developer, and devops engineer (depending on the day). I love programming, and having a blog allows me to share things I've learned with others, and hopefully save somebody a bit of time!

Disclaimer: Any opinions expressed are solely my own and do not express the views or opinions of my employer.

Recent Posts

  • Debugging an Internet issue
  • Everything I googled in a week as a senior developer
  • Creating an Effective Resume
  • Interview Tips for Software Developers
  • Tmux & Cygwin
Activello Theme by Colorlib Powered by WordPress