Please look at
ldconfig -N
it will update the links for you.
You could try something like (warning untested)
class foo {
package { "liblcgdm":
notify => Exec[ "ldconfig::update" ],
}
include ldconfig::update
}
class ldconfig::update {
exec { "ldconfig -N":
refreshonly => true,
}
}
Of course, the package manager should set up these
links for you when installing the lib.
The other thing to note: If you are installing a library
without using the package manager you should run
ldconfig
anyway, in order to update your loader's idea of
what libraries exist, and where they are.
It also creates any missing links.
again, see ldconfig(8)
--
vagn
--
You received this message because you are subscribed to the Google Groups "Puppet
Users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/puppet-users?hl=en.