Class: Puppet::Application::Cert
- Inherits:
-
Puppet::Application
- Object
- Puppet::Application
- Puppet::Application::Cert
- Defined in:
- lib/puppet/application/cert.rb
Constant Summary
Constants inherited from Puppet::Application
Constants included from Util
Util::AbsolutePathPosix, Util::AbsolutePathWindows, Util::DEFAULT_POSIX_MODE, Util::DEFAULT_WINDOWS_MODE, Util::RFC_3986_URI_REGEX
Constants included from Util::POSIX
Util::POSIX::LOCALE_ENV_VARS, Util::POSIX::USER_ENV_VARS
Constants included from Util::SymbolicFileMode
Util::SymbolicFileMode::SetGIDBit, Util::SymbolicFileMode::SetUIDBit, Util::SymbolicFileMode::StickyBit, Util::SymbolicFileMode::SymbolicMode, Util::SymbolicFileMode::SymbolicSpecialToBit
Instance Attribute Summary
Attributes inherited from Puppet::Application
Instance Method Summary collapse
Methods inherited from Puppet::Application
[], #app_defaults, available_application_names, banner, clear!, clear?, clear_everything_for_tests, #configure_indirector_routes, controlled_run, #deprecate, #deprecated?, environment_mode, exit, find, get_environment_mode, #handle_logdest_arg, #handlearg, #initialize, #initialize_app_defaults, interrupted?, #log_runtime_environment, #main, #name, option, option_parser_commands, #preinit, restart!, restart_requested?, #run, #run_command, run_mode, #set_log_level, #setup_logs, stop!, stop_requested?, try_load_class
Methods included from Util
absolute_path?, benchmark, chuser, clear_environment, default_env, deterministic_rand, deterministic_rand_int, exit_on_fail, get_env, get_environment, logmethods, merge_environment, path_to_uri, pretty_backtrace, replace_file, safe_posix_fork, set_env, symbolizehash, thinmark, uri_encode, uri_query_encode, uri_to_path, which, withenv, withumask
Methods included from Util::POSIX
#get_posix_field, #gid, groups_of, #idfield, #methodbyid, #methodbyname, #search_posix_field, #uid
Methods included from Util::SymbolicFileMode
#normalize_symbolic_mode, #symbolic_mode_to_int, #valid_symbolic_mode?
Constructor Details
This class inherits a constructor from Puppet::Application
Instance Method Details
#help ⇒ Object
9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 |
# File 'lib/puppet/application/cert.rb', line 9 def help <<-HELP This command is no longer functional, please use `puppetserver ca` instead. puppet-cert(8) -- #{summary} ======== ACTIONS ------- Every action except 'list' and 'generate' requires a hostname to act on, unless the '--all' option is set. * clean: Use `puppetserver ca clean --certname NAME[,NAME...]` * fingerprint: Use openssl directly: `openssl x509 -noout -fingerprint -<digest> -inform pem -in certificate.crt` * generate: Use `puppetserver ca generate --certname NAME[,NAME...]` * list: Use `puppetserver ca list [--all]` * print: Use openssl directly: `openssl x509 -noout -text -in certificate.pem` * revoke: Use `puppetserver ca revoke --certname NAME[,NAME...]` * sign: Use `puppetserver ca sign --certname NAME[,NAME...]` * verify: Use `puppet ssl verify [--certname NAME]` * reinventory: Removed. OPTIONS ------- There are a couple important notes about previously-supported options. * --allow-dns-alt-names: In order to sign certificates with subject alternative names using `puppetserver ca sign`, the `allow-subject-alt-names` setting must be set to true in the `certificate-authority` section of Puppet Server's config. * --allow-authorization-extensions: In order to sign certificates with authorization extensions using `puppetserver ca sign`, the `allow-authorization-extensions` setting must be set to true in the `certificate-authority` section of Puppet Server's config. HELP end |
#parse_options ⇒ Object
72 73 74 75 |
# File 'lib/puppet/application/cert.rb', line 72 def puts help exit 1 end |
#setup ⇒ Object
68 69 70 |
# File 'lib/puppet/application/cert.rb', line 68 def setup deprecate end |