diff options
author | varac <varacanero@zeromail.org> | 2016-01-23 00:31:20 +0100 |
---|---|---|
committer | varac <varacanero@zeromail.org> | 2016-01-23 00:31:20 +0100 |
commit | 28a369a77e198105b4a892a2d0d92ea43f8046d0 (patch) | |
tree | d91ab19e1841f2adb2759bd4c7021cdf26a46fc0 /puppet/modules | |
parent | 69d2549a8b3b670b10d0efe079bcbc4ba066907d (diff) |
[feat] Don't remove portmap on vagrant
Vagrant uses portmap and nfs-common for mounting shared folders using
nfs.
Diffstat (limited to 'puppet/modules')
-rw-r--r-- | puppet/modules/site_config/manifests/packages.pp | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/puppet/modules/site_config/manifests/packages.pp b/puppet/modules/site_config/manifests/packages.pp index 4cd45bc9..140189a4 100644 --- a/puppet/modules/site_config/manifests/packages.pp +++ b/puppet/modules/site_config/manifests/packages.pp @@ -14,7 +14,7 @@ class site_config::packages { 'eject', 'ftp', 'g++', 'g++-4.6', 'g++-4.7', 'g++-4.8', 'g++-4.9', 'gcc', 'gcc-4.6', 'gcc-4.7', 'gcc-4.8', 'gcc-4.9', - 'laptop-detect', 'libc6-dev', 'libssl-dev', 'lpr', 'make', 'portmap', + 'laptop-detect', 'libc6-dev', 'libssl-dev', 'lpr', 'make', 'pppconfig', 'pppoe', 'pump', 'qstat', 'samba-common', 'samba-common-bin', 'smbclient', 'tcl8.5', 'tk8.5', 'os-prober', 'unzip', 'xauth', 'x11-common', @@ -22,9 +22,10 @@ class site_config::packages { ensure => purged; } - notice($::site_config::params::environment) - if $::site_config::params::environment != 'local' { - package { [ 'nfs-common', 'nfs-kernel-server', 'rpcbind' ]: + # leave a few packages installed on local environments + # vagrant i.e. needs them for mounting shared folders + if $::site_config::params::environment != 'local' { + package { [ 'nfs-common', 'nfs-kernel-server', 'rpcbind', 'portmap' ]: ensure => purged; } } |