Skip to content

Instantly share code, notes, and snippets.

@haus
Created October 8, 2012 03:53
Show Gist options
  • Save haus/3850636 to your computer and use it in GitHub Desktop.
Save haus/3850636 to your computer and use it in GitHub Desktop.
exec {"something":
command => "bash -c 'for i in `ls /etc/apt/keys.d/*.{asc,pub,key}`; do apt-key add \$i; done'",
path => "/usr/bin:/usr/sbin:/bin:/sbin",
logoutput => true,
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment