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::PUPPET_STACK_INSERTION_FRAME, 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, format_backtrace_array, format_puppetstack_frame, get_env, get_environment, logmethods, merge_environment, path_to_uri, pretty_backtrace, replace_file, resolve_stackframe, safe_posix_fork, set_env, skip_external_facts, symbolizehash, thinmark, uri_encode, uri_query_encode, uri_to_path, uri_unescape, 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 "This command is no longer functional, please use `puppetserver ca` instead.\n\npuppet-cert(8) -- \#{summary}\n========\n\nACTIONS\n-------\nEvery action except 'list' and 'generate' requires a hostname to act on,\nunless the '--all' option is set.\n\n* clean:\nUse `puppetserver ca clean --certname NAME[,NAME...]`\n\n* fingerprint:\nUse openssl directly:\n`openssl x509 -noout -fingerprint -<digest> -inform pem -in certificate.crt`\n\n* generate:\nUse `puppetserver ca generate --certname NAME[,NAME...]`\n\n* list:\nUse `puppetserver ca list [--all]`\n\n* print:\nUse openssl directly:\n`openssl x509 -noout -text -in certificate.pem`\n\n* revoke:\nUse `puppetserver ca revoke --certname NAME[,NAME...]`\n\n* sign:\nUse `puppetserver ca sign --certname NAME[,NAME...]`\n\n* verify:\nUse `puppet ssl verify [--certname NAME]`\n\n* reinventory:\nRemoved.\n\nOPTIONS\n-------\nThere are a couple important notes about previously-supported options.\n\n* --allow-dns-alt-names:\nIn order to sign certificates with subject alternative names using\n`puppetserver ca sign`, the `allow-subject-alt-names` setting must be\nset to true in the `certificate-authority` section of Puppet Server's\nconfig.\n\n* --allow-authorization-extensions:\nIn order to sign certificates with authorization extensions using\n`puppetserver ca sign`, the `allow-authorization-extensions` setting must be\nset to true in the `certificate-authority` section of Puppet Server's\nconfig.\n" 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 |
#summary ⇒ Object
5 6 7 |
# File 'lib/puppet/application/cert.rb', line 5 def summary _("Manage certificates and requests (Disabled)") end |