class ubuntu::optimizacion { # package { [ 'autossh', 'iftop', 'dstat' ]: ensure => installed } # sudo sysctl vm.swappiness=5 # sudo su -c 'echo vm.swappiness=5 >> /etc/sysctl.conf' # http://www.markghigliotti.com/2008/12/22/setting-up-prelink-and-preload-on-intrepid-ibex-810/ package { [ 'preload' ]: ensure => installed } }