Hi everyone,
Do You know if it is possible make sure puppet use the destination of symbolic link as a source file. Let me explain here is the situation. On my puppet master: # ls -al total 1976 drwxr-xr-x 2 user user 4096 Jul 26 16:45 . drwxr-xr-x 4 user user 4096 Jul 26 16:56 .. lrwxrwxrwx 1 user user 28 Jul 26 16:35 bind9-chroot-amd64-squeeze-LATEST.deb -> bind9-chroot_9.8.1_amd64.deb -rw-r--r-- 1 user user 403254 Jul 20 18:29 bind9-chroot_9.8.1_amd64.deb lrwxrwxrwx 1 user user 26 Jul 26 16:36 bind9-host-amd64-squeeze-LATEST.deb -> bind9-host_9.8.1_amd64.deb -rw-r--r-- 1 user user 58876 Jul 20 18:29 bind9-host_9.8.1_amd64.deb lrwxrwxrwx 1 user user 26 Jul 26 16:36 bind9utils-amd64-squeeze-LATEST.deb -> bind9utils_9.8.1_amd64.deb -rw-r--r-- 1 user user 121074 Jul 20 18:29 bind9utils_9.8.1_amd64.deb lrwxrwxrwx 1 user user 24 Jul 26 16:37 dnsutils-amd64-squeeze-LATEST.deb -> dnsutils_9.8.1_amd64.deb -rw-r--r-- 1 user user 142722 Jul 20 18:29 dnsutils_9.8.1_amd64.deb lrwxrwxrwx 1 user user 18 Jul 26 16:37 host-amd64-squeeze-LATEST.deb -> host_9.8.1_all.deb -rw-r--r-- 1 user user 17782 Jul 20 18:29 host_9.8.1_all.deb lrwxrwxrwx 1 user user 27 Jul 26 16:40 libbind9-80-amd64-squeeze-LATEST.deb -> libbind9-80_9.8.1_amd64.deb -rw-r--r-- 1 user user 40346 Jul 20 18:29 libbind9-80_9.8.1_amd64.deb lrwxrwxrwx 1 user user 24 Jul 26 16:41 libdns81-amd64-squeeze-LATEST.deb -> libdns81_9.8.1_amd64.deb -rw-r--r-- 1 user user 827854 Jul 20 18:29 libdns81_9.8.1_amd64.deb lrwxrwxrwx 1 user user 24 Jul 26 16:41 libisc83-amd64-squeeze-LATEST.deb -> libisc83_9.8.1_amd64.deb -rw-r--r-- 1 user user 196164 Jul 20 18:29 libisc83_9.8.1_amd64.deb lrwxrwxrwx 1 user user 26 Jul 26 16:41 libisccc80-amd64-squeeze-LATEST.deb -> libisccc80_9.8.1_amd64.deb -rw-r--r-- 1 user user 33356 Jul 20 18:29 libisccc80_9.8.1_amd64.deb lrwxrwxrwx 1 user user 27 Jul 26 16:42 libisccfg82-amd64-squeeze-LATEST.deb -> libisccfg82_9.8.1_amd64.deb -rw-r--r-- 1 user user 59924 Jul 20 18:29 libisccfg82_9.8.1_amd64.deb lrwxrwxrwx 1 user user 26 Jul 26 16:42 liblwres80-amd64-squeeze-LATEST.deb -> liblwres80_9.8.1_amd64.deb -rw-r--r-- 1 user user 58022 Jul 20 18:29 liblwres80_9.8.1_amd64.deb So I declared a 'file' resource with the source attribute as followed: source => "puppet:///modules/${module_name}/packages/libisc83-${::architecture}-${::lsbdistcodename}-LATEST.deb" So when I run puppet agent here is the result: # ls -al /var/lib/puppet/tmp/ total 32 drwxr-xr-x 2 puppet puppet 4096 Jul 26 18:02 . drwxr-x--- 12 puppet puppet 4096 Jul 25 16:11 .. lrwxrwxrwx 1 root root 28 Jul 26 18:02 bind9-chroot-amd64-squeeze.deb -> bind9-chroot_9.8.1_amd64.deb lrwxrwxrwx 1 root root 26 Jul 26 18:02 bind9-host-amd64-squeeze.deb -> bind9-host_9.8.1_amd64.deb lrwxrwxrwx 1 root root 26 Jul 26 18:02 bind9utils-amd64-squeeze.deb -> bind9utils_9.8.1_amd64.deb lrwxrwxrwx 1 root root 24 Jul 26 18:02 dnsutils-amd64-squeeze.deb -> dnsutils_9.8.1_amd64.deb lrwxrwxrwx 1 root root 18 Jul 26 18:02 host-amd64-squeeze.deb -> host_9.8.1_all.deb lrwxrwxrwx 1 root root 27 Jul 26 18:02 libbind9-80-amd64-squeeze.deb -> libbind9-80_9.8.1_amd64.deb lrwxrwxrwx 1 root root 24 Jul 26 18:02 libdns81-amd64-squeeze.deb -> libdns81_9.8.1_amd64.deb lrwxrwxrwx 1 root root 24 Jul 26 18:02 libisc83-amd64-squeeze.deb -> libisc83_9.8.1_amd64.deb lrwxrwxrwx 1 root root 26 Jul 26 18:02 libisccc80-amd64-squeeze.deb -> libisccc80_9.8.1_amd64.deb lrwxrwxrwx 1 root root 26 Jul 26 18:02 liblwres80-amd64-squeeze.deb -> liblwres80_9.8.1_amd64.deb I can't say this really what I want, I really want puppet to follow the symbolic link and get the actual file. Any idea how I could accomplish that behavior? Regards, JM -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.