summaryrefslogtreecommitdiffstats
path: root/puppet/modules/distcc
Commit message (Collapse)AuthorAgeFilesLines
* distcc: setup distcc hosts with interactive node configSamuli Piippo2012-10-242-2/+2
| | | | | | | | | | In Mac, setup Distcc hosts during the interactive node configuration. Also change the used data format from array to plain string in the template. Change-Id: Ie37927cc5b703ea9eae87339bfe97ab1738e2413 Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com> Reviewed-by: Janne Anttila <janne.anttila@digia.com>
* Change copyrights from Nokia to DigiaSergio Ahumada2012-09-271-0/+41
| | | | | | | | Change copyrights and license headers from Nokia to Digia Change-Id: I663e6fde9d2df2814463be90018014e599322efc Reviewed-by: Janne Anttila <janne.anttila@digia.com> Reviewed-by: Lars Knoll <lars.knoll@digia.com>
* distcc: eliminated global $distcc_hostsRohan McGovern2012-08-242-1/+5
| | | | | | | | | | Replace with a class parameter, '$hosts'. Defaults to 'localhost' (no distribution). Required for nodes.pp cleanup. Change-Id: I05df3ffb54f777d8856417fa6cbd68e47b0a1c42 Reviewed-by: Toby Tomkins <toby.tomkins@nokia.com>
* puppet: fixed dynamically scoped references to factsRohan McGovern2012-07-301-1/+1
| | | | | | | | | | | | | Since puppet 2.7, dynamic variable lookup is deprecated. Variables should be explicitly scoped to a namespace, or '$::' for globals (including facts). Fixes some warnings of the form: Dynamic lookup of $somevar at somefile is deprecated. Change-Id: I7bd84ee73f9c911e28c00a7795cb92ec8ef6dee4 Reviewed-by: Kalle Lehtonen <kalle.ju.lehtonen@nokia.com>
* Removed unnecessary and harmful "import *"Rohan McGovern2012-07-191-2/+0
| | | | | | | | | | | | This is unnecessary at least since puppet 2.6; as long as the .pp files are named matching the module names, puppet will find the files automatically. This is harmful when attempting to use 'puppet parser validate', which will complain about the init.pp files including themselves. Change-Id: I858bdf4d469c82993f839b618b1d0395b89ce7e1 Reviewed-by: Sergio Ahumada <sergio.ahumada@nokia.com>
* distcc: specify hosts as array, and fix orderingRohan McGovern2011-02-071-1/+1
| | | | | | | | | | | | | It is clearer for distcc_hosts to be an array, and it also makes it simpler to (e.g.) shuffle the array to make up for distcc's lack of scheduler. Note that the distcc module must be included _after_ distcc_hosts is set, which was not previously the case. Reviewed-by: Sergio Ahumada Change-Id: I244653e2b927aec0e06385f75ce7ab9a2cccbb18
* Initial commit.Rohan McGovern2011-01-134-0/+35