Created
September 15, 2012 22:58
-
-
Save fbettag/3730238 to your computer and use it in GitHub Desktop.
ArchLinux Packer CFengine package method
This file contains hidden or 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
| body package_method packer { | |
| package_changes => "bulk"; | |
| package_list_command => "/usr/bin/pacman -Q"; | |
| package_list_name_regex => "([^\s]+).*"; | |
| package_list_version_regex => "[^\s]+ ([^\s\n\r]+)"; | |
| package_name_convention => "$(name)"; | |
| package_installed_regex => ".*"; | |
| package_name_regex => "([^\s]+).*"; | |
| package_version_regex => "[^\s]+ ([^\s\n\r]+)"; | |
| package_add_command => "/usr/bin/packer --noconfirm --noedit -S"; | |
| package_delete_command => "/usr/bin/pacman -R --noconfirm --noprogressbar --nosave"; | |
| package_update_command => "/usr/bin/packer --noconfirm --noprogressbar -U"; | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment