Issue #3235 has been updated by Michael Stahnke. Description updated Status changed from Unreviewed to Closed
I can't reproduce this on modern versions of puppet. (2.7.9). Puppet apply runs fine. There is no content in /var/lib/puppet/lib/ so, it runs fine and continues to do so. ---------------------------------------- Bug #3235: Puppet only runs once sucessfully with factor libraries https://projects.puppetlabs.com/issues/3235 Author: Lawrence Ludwig Status: Closed Priority: Normal Assignee: Category: file Target version: Affected Puppet version: 0.25.4 Keywords: Branch: If I wipe clean the lib/factor folder for Puppet will run only the first time. Future runs fail with 'force' to override error. Here is the output [root@devcentos5 lib]# /usr/sbin/puppetd --onetime --no-daemonize --logdest console warning: Setting 'catalog_format' is deprecated; use 'preferred_serialization_format' instead. notice: Ignoring --listen on onetime run notice: /File[/var/lib/puppet/lib/facter]/ensure: created notice: /File[/var/lib/puppet/lib/facter/mysql.rb]/ensure: content changed '{md5}b9cb5688d5a40677b5d62f2721dc20ee' to '{md5}b9cb5688d5a40677b5d62f2721dc20ee' notice: /File[/var/lib/puppet/lib/facter/raidcontroller.rb]/ensure: content changed '{md5}5d2a84f4fbadcc0609fb8f5846a63811' to '{md5}5d2a84f4fbadcc0609fb8f5846a63811' notice: /File[/var/lib/puppet/lib/facter/raidtype.rb]/ensure: content changed '{md5}f55a7f86396b374cb8cce92f5a48dccc' to '{md5}f55a7f86396b374cb8cce92f5a48dccc' notice: Finished catalog run in 36.52 seconds [root@devcentos5 lib]# /usr/sbin/puppetd --onetime --no-daemonize --logdest console warning: Setting 'catalog_format' is deprecated; use 'preferred_serialization_format' instead. notice: /File[/var/lib/puppet/lib/facter]: Not removing directory; use 'force' to override notice: /File[/var/lib/puppet/lib/facter]: Not removing directory; use 'force' to override err: /File[/var/lib/puppet/lib/facter]/ensure: change from directory to file failed: Could not set file on ensure: Is a directory - /var/lib/puppet/lib/facter Could not prepare for execution: Got 1 failure(s) while initializing: change from directory to file failed: Could not set file on ensure: Is a directory - /var/lib/puppet/lib/facter I have no manifests that touch the 'factor' or 'lib' folders. [root@devcentos5 lib]# facter --version 1.5.5 [root@devcentos5 lib]# puppet -V 0.25.4 -- 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.
