Bug #3235

Puppet only runs once sucessfully with factor libraries

Added by Lawrence Ludwig almost 2 years ago. Updated 19 days ago.

Status:Closed Start date:02/23/2010
Priority:Normal Due date:
Assignee:- % Done:

0%

Category:file
Target version:-
Affected Puppet version:0.25.4 Branch:
Keywords:
Votes: 0

Description

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

History

Updated by James Turnbull almost 2 years ago

  • Category set to file
  • Status changed from Unreviewed to Accepted
  • Assignee set to Jesse Wolfe

Updated by Joshua Lifton about 1 month ago

  • Assignee deleted (Jesse Wolfe)

This issue was assigned to a former Puppet Labs employee. Adding back to the pool of unreviewed issues.

Updated by Ben Hughes 20 days ago

  • Description updated (diff)
  • Status changed from Accepted to Unreviewed

Updated by Michael Stahnke 19 days ago

  • Description updated (diff)
  • 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.

Also available in: Atom PDF