puppet-vmwaretools icon indicating copy to clipboard operation
puppet-vmwaretools copied to clipboard

add symlinks for pam-modules for proper function

Open AndreasPfaffeneder opened this issue 10 years ago • 4 comments

The rpms provided by vmware install a PAM-Service. This pam-service references modules not provided by RH. See https://access.redhat.com/solutions/977793 This extension creates symlinks to make the service working again or at least to prevent error messages.

AndreasPfaffeneder avatar Sep 07 '15 11:09 AndreasPfaffeneder

@AndreasPfaffeneder Why use an Exec and not a File resource for these symlinks?

razorsedge avatar Oct 14 '15 23:10 razorsedge

@AndreasPfaffeneder Was there a reason to use Exec resources instead of File for the symlinks?

razorsedge avatar Nov 03 '15 05:11 razorsedge

sorry for the late response: Intention was to prevent the creation of broken symlinks and only to create the symlink if the target really exists.

AndreasPfaffeneder avatar Nov 04 '15 12:11 AndreasPfaffeneder

Ah, that makes sense.

Could I convince you to provide an rspec test for the new code?

razorsedge avatar Nov 04 '15 14:11 razorsedge