File: facts.rb

package info (click to toggle)
puppet-agent 8.10.0-6
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 27,404 kB
  • sloc: ruby: 286,820; sh: 492; xml: 116; makefile: 88; cs: 68
file content (11 lines) | stat: -rw-r--r-- 498 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
# frozen_string_literal: true

require_relative '../../puppet/application/indirection_base'

class Puppet::Application::Facts < Puppet::Application::IndirectionBase
  # Allows `puppet facts` actions to be run against environments that
  # don't exist locally, such as using the `--environment` flag to make a REST
  # request to a specific environment on a master. There is no way to set this
  # behavior per-action, so it must be set for the face as a whole.
  environment_mode :not_required
end