On Sun, May 1, 2011 at 12:48 AM, vagn scott wrote:
>
> 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" ],
>}
>
>
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
You can put a requires in the file resource
require => Package["packagename"]
then it will install the package first then put in the symlink.
On Sat, Apr 30, 2011 at 5:12 AM, Sans wrote:
> Dear all,
>
> I'm trying to do this. Say for example, I want this link: "liblcgdm.so
> -> liblcgdm.so.1.
Hi Sans!
On Sat, 30 Apr 2011 02:12 -0700, "Sans" wrote:
> Dear all,
>
> I'm trying to do this. Say for example, I want this link: "liblcgdm.so
> -> liblcgdm.so.1.8.0" to be present on the client only if "lcgdm-
> libs-1.8.0-1sec.sl5" is already listed. I already have this to create
> the link:
>
Dear all,
I'm trying to do this. Say for example, I want this link: "liblcgdm.so
-> liblcgdm.so.1.8.0" to be present on the client only if "lcgdm-
libs-1.8.0-1sec.sl5" is already listed. I already have this to create
the link:
file {
'liblcgdm.so':
ensure => symlink,
name => '/opt