Created
February 1, 2015 09:43
-
-
Save x-drum/b50c3f7cd9660c478e9a to your computer and use it in GitHub Desktop.
puppet: ReduceDebian
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
if $::operatingsystem == 'Debian' { | |
file { | |
'/etc/dpkg/dpkg.cfg.d/01_nolocale': | |
ensure => present, | |
source => 'puppet:///private/debian/dpkg_nolocale'; | |
'/etc/dpkg/dpkg.cfg.d/01_nodoc': | |
ensure => present, | |
source => 'puppet:///private/debian/dpkg_nodoc'; | |
} | |
} | |
cat << dpkg_nodoc: | |
path-exclude /usr/share/doc/* | |
path-exclude /usr/share/man/* | |
path-exclude /usr/share/groff/* | |
path-exclude /usr/share/info/* | |
path-exclude /usr/share/lintian/* | |
dpkg_nodoc: | |
cat << dpkg_nolocale: | |
path-exclude /usr/share/locale/* | |
path-include /usr/share/locale/en* | |
path-include /usr/share/locale/de* | |
path-include /usr/share/locale/es* | |
path-include /usr/share/locale/ja* | |
path-include /usr/share/locale/fr* | |
path-include /usr/share/locale/zh* | |
dpkg_nolocale: |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment