Installs bash on FreeBSD
This commit is contained in:
parent
984ebd5ad2
commit
ce08c1e093
|
@ -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"
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
@ -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}",
|
||||
|
|
Loading…
Reference in New Issue