Renamed gcc as gnu::gcc
This commit is contained in:
parent
9efcac9bf6
commit
11cd7e0d56
4 changed files with 28 additions and 27 deletions
|
@ -1,3 +1,28 @@
|
|||
# Install GCC.
|
||||
#
|
||||
# On Linux hosts this will also install headers required for compiling
|
||||
# kernel modules.
|
||||
#
|
||||
class gnu::gcc {
|
||||
|
||||
package { "gcc":
|
||||
ensure => installed,
|
||||
}
|
||||
|
||||
if $::kernel == Linux {
|
||||
package { "kernel-headers":
|
||||
name => $::operatingsystem ? {
|
||||
"debian" => "linux-libc-dev",
|
||||
"ubuntu" => "linux-libc-dev",
|
||||
default => [ "kernel-headers", "kernel-devel", ],
|
||||
},
|
||||
ensure => installed,
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
# Install GNU make.
|
||||
#
|
||||
class gnu::make {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue