mpalmer / lvmsync

Synchronise LVM LVs across a network by sending only snapshotted changes
http://theshed.hezmatt.org/lvmsync
GNU General Public License v3.0
382 stars 61 forks source link

Symlink with Puppet module #12

Closed sid3windr closed 10 years ago

sid3windr commented 10 years ago

Hi,

I just noticed you included a puppet manifest, however...

root@puppet:/etc/puppet/modules/lvmsync/files# ls -l total 0 lrwxrwxrwx 1 root root 10 Apr 29 11:55 lvmsync -> ../lvmsync

notice: /Stage[main]/Lvmsync/File[/usr/local/sbin/lvmsync]/ensure: created notice: Finished catalog run in 6.16 seconds root@dmz-vm1:~# lvmsync -bash: lvmsync: command not found root@dmz-vm1:~# ls -l /usr/local/sbin total 0 lrwxrwxrwx 1 root root 10 Apr 29 12:06 lvmsync -> ../lvmsync

That won't work ;)

mpalmer commented 10 years ago

Yeah, Puppet is a right pest with symlinks in sources. The problem's totally gone now, though, since I'm rolling a gem and installing that instead.