Created
August 13, 2013 15:44
-
-
Save tateeskew/6222531 to your computer and use it in GitHub Desktop.
Install sudo-ldap on Ubuntu using salt cmd.run state
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
install_sudo-ldap: | |
cmd.run: | |
- name: apt-get -q -y -o DPkg::Options::=--force-confold -o DPkg::Options::=--force-confdef install sudo-ldap | |
- env: SUDO_FORCE_REMOVE=yes |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Wanted to leave a quick note for others (and my future self) of what my final state looked like since I happened across this via Google while I was getting this to work.
It's not documented as far as I can tell, but
env
is passed through tomodule.aptpkg
.