The Puppet Labs Issue Tracker has Moved: https://tickets.puppetlabs.com
--genconfig creating invalid configuration
|Assignee:||Patrick Carlisle||% Done:|
|Affected Puppet version:||2.7.3||Branch:||https://github.com/puppetlabs/puppet/pull/536|
Ticket tracking is now hosted in JIRA: https://tickets.puppetlabs.com
This issue is currently not available for export. If you are experiencing the issue described below, please file a new ticket in JIRA. Once a new ticket has been created, please add a link to it that points back to this Redmine ticket.
Puppet 2.7.3 using passenger
(/File[/var/lib/puppet/facts]) Not removing directory; use 'force' to override (/File[/var/lib/puppet/facts]) Not removing directory; use 'force' to override (/File[/var/lib/puppet/facts]/ensure) change from directory to file failed: Could not set 'file on ensure: Is a directory - /var/lib/puppet/facts
factdest = /var/lib/puppet/facts/ in /etc/puppet/puppet.conf
factsource = puppet://puppet/facts/
or both allows the puppet master to start.
#2 Updated by Chris Blumentritt over 3 years ago
I am not using anything. When I comment one of them out I guess it uses what ever is default. The following is a snippet from puppet.conf which would allow puppet to be started (note I am using passenger):
# Where Puppet should store facts that it pulls down from the central # server. # The default value is '$vardir/facts/'. # factdest = /var/lib/puppet/facts/ # From where to retrieve facts. The standard Puppet `file` type # is used for retrieval, so anything that is a valid file source can # be used here. # The default value is 'puppet://$server/facts/'. factsource = puppet://puppet/facts/
It might be just a conflict when running as a puppet master