Skip to content

Instantly share code, notes, and snippets.

@furlongm
Created December 20, 2016 03:43
Show Gist options
  • Save furlongm/07de95d6ee301e2c08a4c4487a20d107 to your computer and use it in GitHub Desktop.
Save furlongm/07de95d6ee301e2c08a4c4487a20d107 to your computer and use it in GitHub Desktop.
#!/bin/bash
find /etc -name "*.rpmnew" -exec sh -c 'mv {} $(dirname {})/$(basename {} .rpmnew)' \;
puppet agent -t
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment