Installs bash on FreeBSD

This commit is contained in:
7u83 2020-07-16 17:02:02 +00:00
parent 984ebd5ad2
commit ce08c1e093
2 changed files with 13 additions and 3 deletions

View File

@ -7,4 +7,15 @@ class plnxtools{
path => "/opt",
ensure => directory
}
if $::osfamily == 'FreeBSD' {
package {"bash":
ensure => installed
} ->
file {"/bin/bash":
ensure => link,
target => "/usr/local/bin/bash"
}
}
}

View File

@ -5,8 +5,8 @@
class plnxtools::nutch
() inherits plnxtools::nutch::params
{
class {"plnxtools": }
class {"plnxtools": }
->
archive { "/tmp/$filename":
ensure => present,
source => "$urlpath/${filename}",
@ -20,7 +20,6 @@ class plnxtools::nutch
File['opt_dir']
]
} ->
file { '/opt/nutch':
ensure => link,
target => "/opt/${dirname}",