##### PARA DEBIANs #######
DISTRO=`cat /etc/os-release | grep PRETTY_NAME | cut -d "(" -f2 | cut -d ")" -f 1` echo $DISTRO echo deb http://repos.uclv.edu.cu/debian $DISTRO main contrib non-free > /etc/apt/sources.list echo deb http://ftp.debian.org/debian $DISTRO-updates main contrib non-free >> /etc/apt/sources.list echo deb http://security.debian.org $DISTRO/updates main contrib non-free >> /etc/apt/sources.list apt-get update apt-get dist-upgrade -y apt-get install puppet -y puppet agent --test --server nms.uclv.edu.cu puppet agent --enable puppet agent –test –server nms.uclv.edu.cu