diff options
author | varac <varacanero@zeromail.org> | 2016-01-22 17:05:26 +0100 |
---|---|---|
committer | varac <varacanero@zeromail.org> | 2016-01-22 17:08:32 +0100 |
commit | 69d2549a8b3b670b10d0efe079bcbc4ba066907d (patch) | |
tree | 3fa29cbc72344a56aba5f70d20880dbae72bdbb6 /puppet/modules/site_config/manifests/packages/uninstall.pp | |
parent | f5ecaaa1bd7412fc152b41e4cc522cd0dc43cc37 (diff) |
[bug] refactor build-essential package installation
In certain node setups, the webapp gems cannot get built
because `build-essential` and dependent packages were not
present.
I refactored the `site_config::packages::build_essential` class,
which now inherits `site_config::packages`. The latter class removes
all unneccessary (development) packages, but when the
`site_config::packages::build_essential` class is included, some
dev packages are overridden to be installed.
- Tested: [local]
- Resolves: #7834
Diffstat (limited to 'puppet/modules/site_config/manifests/packages/uninstall.pp')
-rw-r--r-- | puppet/modules/site_config/manifests/packages/uninstall.pp | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/puppet/modules/site_config/manifests/packages/uninstall.pp b/puppet/modules/site_config/manifests/packages/uninstall.pp deleted file mode 100644 index 12f527d9..00000000 --- a/puppet/modules/site_config/manifests/packages/uninstall.pp +++ /dev/null @@ -1,16 +0,0 @@ -# -# Uninstall build-essential and compilers, unless they have been explicitly installed elsewhere. -# -class site_config::packages::uninstall { - tag 'leap_base' - - # generally, dev packages are needed for installing ruby gems with native extensions. - # (nickserver, webapp, etc) - - if !defined(Package['build-essential']) { - package { - ['build-essential', 'g++', 'g++-4.7', 'gcc', 'gcc-4.6', 'gcc-4.7', 'cpp', 'cpp-4.6', 'cpp-4.7', 'libc6-dev']: - ensure => purged - } - } -}
\ No newline at end of file |