Initial version of FlexLM module. Includes only client tools.
This commit is contained in:
parent
945a9f2af3
commit
9769a06eff
2 changed files with 59 additions and 0 deletions
36
flexlm/manifests/init.pp
Normal file
36
flexlm/manifests/init.pp
Normal file
|
@ -0,0 +1,36 @@
|
|||
|
||||
# Install FlexLM license tools
|
||||
#
|
||||
class flexlm::client {
|
||||
|
||||
file { "/usr/local/bin/lmutil":
|
||||
ensure => present,
|
||||
source => "puppet:///files/packages/lmutil-${lmutil_package_latest}.${::architecture}.${::kernel}",
|
||||
mode => "0755",
|
||||
owner => "root",
|
||||
group => "root",
|
||||
}
|
||||
|
||||
file { [
|
||||
"/usr/local/bin/lmborrow",
|
||||
"/usr/local/bin/lmcksum",
|
||||
"/usr/local/bin/lmdiag",
|
||||
"/usr/local/bin/lmdown",
|
||||
"/usr/local/bin/lmhostid",
|
||||
"/usr/local/bin/lminstall",
|
||||
"/usr/local/bin/lmnewlog",
|
||||
"/usr/local/bin/lmpath",
|
||||
"/usr/local/bin/lmremove",
|
||||
"/usr/local/bin/lmreread",
|
||||
"/usr/local/bin/lmstat",
|
||||
"/usr/local/bin/lmswitch",
|
||||
"/usr/local/bin/lmver",
|
||||
]:
|
||||
ensure => link,
|
||||
target => "lmutil",
|
||||
owner => "root",
|
||||
group => "root",
|
||||
require => File["/usr/local/bin/lmutil"],
|
||||
}
|
||||
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue