Issue #7008 has been updated by Garrett Honeycutt.
it appears that the manifests directory cannot be a symlink <pre> [root@puppet puppet]# service puppetmaster stop Stopping puppetmaster: [ OK ] [root@puppet puppet]# puppet --version 2.6.6 [root@puppet puppet]# ls -la total 20 drwxr-xr-x 2 root root 4096 Apr 8 18:13 . drwxr-xr-x. 73 root root 4096 Apr 8 18:10 .. -rw-r--r-- 1 root root 2346 Mar 10 11:46 auth.conf -rw-r--r-- 1 root root 381 Nov 2 14:17 fileserver.conf lrwxrwxrwx 1 root root 34 Apr 8 18:13 manifests -> /opt/sysops/puppet/code/manifests/ lrwxrwxrwx 1 root root 32 Apr 5 13:40 modules -> /opt/sysops/puppet/code/modules/ -rw-r--r-- 1 root root 1105 Apr 7 07:15 puppet.conf [root@puppet puppet]# service puppetmaster start Starting puppetmaster: [ OK ] </pre> Oh noes, the symlink has been replaced with a directory and a 0 byte site.pp <pre> [root@puppet puppet]# ls -la total 24 drwxr-xr-x 3 root root 4096 Apr 8 18:14 . drwxr-xr-x. 73 root root 4096 Apr 8 18:10 .. -rw-r--r-- 1 root root 2346 Mar 10 11:46 auth.conf -rw-r--r-- 1 root root 381 Nov 2 14:17 fileserver.conf drwxr-xr-x 2 root root 4096 Apr 8 18:14 manifests lrwxrwxrwx 1 root root 32 Apr 5 13:40 modules -> /opt/sysops/puppet/code/modules/ -rw-r--r-- 1 root root 1105 Apr 7 07:15 puppet.conf [root@puppet puppet]# ls -la manifests/ total 8 drwxr-xr-x 2 root root 4096 Apr 8 18:14 . drwxr-xr-x 3 root root 4096 Apr 8 18:14 .. -rw-r--r-- 1 root root 0 Apr 8 18:14 site.pp </pre> ---------------------------------------- Bug #7008: Puppet master destroys manifests directory on restart https://projects.puppetlabs.com/issues/7008 Author: Garrett Honeycutt Status: Accepted Priority: Normal Assignee: Category: Target version: Affected Puppet version: 2.6.6 Keywords: symlink manifests Branch: I have symlinked /etc/puppet/manifests to another directory being read off of NFS. Whenever the puppetmaster restarts, the manifests symlink changes to a directory with an empty site manifest. -- You have received this notification because you have either subscribed to it, or are involved in it. To change your notification preferences, please click here: http://projects.puppetlabs.com/my/account -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" 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-bugs?hl=en.
