summaryrefslogtreecommitdiffstats
path: root/puppet/modules/icecc
Commit message (Collapse)AuthorAgeFilesLines
* Icecream: Disable on startupSimo Fält2014-09-161-1/+1
| | | | | | | | | There is a doubt that our installation doesn't work correctly, so this will disable the icecream so that we will see if it makes any difference in build times. Change-Id: I12068153adf47d568ded2039c9e29d49bd836d15 Reviewed-by: Tony Sarajärvi <tony.sarajarvi@digia.com>
* icecc: eliminated global $icecc_scheduler_hostRohan McGovern2012-08-242-1/+6
| | | | | | | | | | Replace with a class parameter, '$scheduler_host'. Defaults to unset, which means to use the autodiscovery by broadcast. Required for nodes.pp cleanup. Change-Id: I23bf26c1002f61a15252829bbf272ac33262a34b Reviewed-by: Toby Tomkins <toby.tomkins@nokia.com>
* icecc: fixed "ensure changed 'stopped' to 'running'" on every puppet runRohan McGovern2012-08-071-0/+2
| | | | | | | | | | | | The icecc init script does not have a working 'status' command (confirmed on Ubuntu 10.04, 11.10 and 12.04), so puppet would always think it is not running. Inform puppet of the missing 'status' command by hasstatus => false and judge the status by finding /usr/sbin/iceccd in the process table. Change-Id: Ic9e714db9da587292f5c3f15404ea8e191505ddd Reviewed-by: Kalle Lehtonen <kalle.ju.lehtonen@nokia.com>
* puppet: fixed dynamically scoped references to factsRohan McGovern2012-07-302-4/+4
| | | | | | | | | | | | | 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>
* icecc: fixed reference to missing file on Ubuntu 11.10Rohan McGovern2011-11-021-1/+3
| | | | | | | | We do not use the maybe_wait_for_real_hostname hack on Ubuntu 11.10. Add a check so we don't try to use that file if it doesn't exist. Change-Id: If57563cf97a78de16741bd0a7b2eaff01088fa57 Reviewed-by: Toby Tomkins <toby.tomkins@nokia.com>
* Initial commit.Rohan McGovern2011-01-135-0/+131