dotfiles/modules/config/manifests/fonts.pp

18 lines
343 B
ObjectPascal
Raw Normal View History

2017-08-12 18:59:43 +01:00
class config::fonts {
$fonts = [
2017-10-08 18:52:37 +01:00
'11-lcdfilter-default.conf',
'10-sub-pixel-rgb.conf',
'30-infinality-aliases.conf'
2017-08-12 18:59:43 +01:00
];
$fonts.each |String $font| {
2017-10-19 20:49:41 +01:00
file { "Enable $font font":
2017-08-12 18:59:43 +01:00
ensure => link,
2017-10-08 18:52:37 +01:00
path => "/etc/fonts/conf.d/$font",
mode => '0644',
2017-08-12 18:59:43 +01:00
source => "/etc/fonts/conf.avail/$font"
}
}
}