Issue #3646 has been updated by James Turnbull. Status changed from Available In Testing Branch to Closed Affected Puppet version deleted (2.6.5rc1)
---------------------------------------- Feature #3646: no easy way to pass facts to "puppetmasterd --compile" https://projects.puppetlabs.com/issues/3646 Author: Alan Barrett Status: Closed Priority: Normal Assignee: James Turnbull Category: plumbing Target version: 2.6.5 Affected Puppet version: Keywords: Branch: http://github.com/jhelwig/puppet/tree/tickets/2.6.x/3646-fix-documentation-fix-fix When running "puppetmasterd --compile ${client_fqdn}", it appears that the catalog is compiled as if no facts about the client are available. Even $hostname and $fqdn are undefined. This can very easily lead to failure to compile the catalog, because most people refer to fact variables in their catalogs. It would be nice if there was a way of passing a file full of facts on the command line, e.g. "puppetmasterd --compile ${client_fqdn} --factsfile ${file_full_of_facts}". It might make sense to default to reading facts from a cache where they might have been saved on a previous run, such as /var/puppet/yaml/facts/${client_fqdn}.yaml. -- 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.
