## Yum repository management Configure: - yum-cron - yum.conf ### Example File hiera.yaml: ``` :hierarchy: ... - yum # yum::description ... ``` Restart puppetserver if needed File yum.yaml: ``` # yum repositories description Note: descr is mandatory (yumrepo use descr to populate the repository name attribute) yum::description: linuxtech-release: descr: Linuxtech release baseurl: http://linuxsoft.cern.ch/linuxtech/el6/release/ http://pkgrepo.linuxtech.net/el6/release/ mirrorlist: http://pkgrepo.linuxtech.net/el6/release/mirrorlist.txt gpgkey: http://pkgrepo.linuxtech.net/el6/release/RPM-GPG-KEY-LinuxTECH.NET enabled: 1 gpgcheck: 1 metadata_expire: 7d skip_if_unavailable: 0 linuxtech-testing: descr: Linuxtech testing baseurl: http://linuxsoft.cern.ch/linuxtech/el6/testing/ http://pkgrepo.linuxtech.net/el6/testing/ mirrorlist: http://pkgrepo.linuxtech.net/el6/testing/mirrorlist.txt gpgkey: http://pkgrepo.linuxtech.net/el6/release/RPM-GPG-KEY-LinuxTECH.NET enabled: 0 gpgcheck: 1 metadata_expire: 7d skip_if_unavailable: 0 yum::repositories: base: - linuxtech-release - linuxtech-testing ``` File .yaml: ``` yum::profile: base yum::exclude: cuda* libsmbios* smbios-utils* ```