aboutsummaryrefslogtreecommitdiffstats
path: root/modules/buildsystem/templates/iurt.conf
Commit message (Collapse)AuthorAgeFilesLines
* buildsystem::distros: remove iurt_use_bootstrap optionNicolas Vigier2013-05-311-4/+0
| | | | This option is no longer needed with the no_mirror option.
* buildsystem: Add iurt_use_bootstrap option for distrosNicolas Vigier2013-05-301-0/+4
| | | | Option to select wether iurt should use bootstrap URL for medias.
* buildsystem/iurt.conf: add vendor and distributionNicolas Vigier2013-05-231-0/+2
|
* buildsystem: remove use of .each on hashesNicolas Vigier2013-05-231-2/+3
| | | | | | | | | | | | | | Remove use of "each" methods on hashes in template files. With ruby 1.8, the order in which the hash is enumerated is random. When using the each method to scan all hash keys and elements in template files, puppet will do unnecessary changes in files installed on the server, making it more difficult to see the real changes. In order to avoid this, we stop using the "each" method on hashes and instead use the "keys" method to get an array of all keys and sort it alphabetically. With ruby 1.9 the hashes enumerate their values in the order that the corresponding keys were inserted, but we are still using ruby 1.8 with Mageia 2.
* buildsystem: remove hardcoded repository hostnameNicolas Vigier2013-05-231-1/+1
| | | | | Use $buildsystem::var::repository::hostname to store repository hostname.
* buildsystem::var::distros: change $distros structureNicolas Vigier2013-05-231-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The $distros variable is hash containing settings about the distributions. It was something like this : $distro = { 'cauldron' => { 'arch' => [ 'i586', 'x86_64' ], 'medias' => { 'core' => [ 'release' ], }, 'base_medias' => [ 'core/release' ], }, } It is now something like this : $distro = { 'cauldron' => { 'arch' => [ 'i586', 'x86_64' ], 'medias' => { 'core' => { 'repos' => { 'release' => {}, }, }, }, 'base_medias' => [ 'core/release' ], }, } This should allow setting more infos about each medias / repos, that can be used in order to generate media.cfg config files.
* buildsystem::var::distros: Add option to select archNicolas Vigier2013-05-231-1/+1
| | | | Add an option to select supported arch of a distribution.
* buildsystem: use webstatus hostname config in iurt.confNicolas Vigier2013-05-231-1/+1
|
* buildsystem: use common iurt config file for all distrosNicolas Vigier2013-05-231-0/+29
All distributions now use the same template file for their iurt configuration file. The 'base_media' value has been added in the distributions configuration in buildsystem::var::distros to allow setting in iurt configuration the base_media that will be used to generate chroots. The iurt configuration now also contains all the medias in 'all_media', instead of only the 'release' medias previously.