Skip to content

Instantly share code, notes, and snippets.

@jeffmccune
Created June 29, 2012 00:26
Show Gist options
  • Save jeffmccune/3014923 to your computer and use it in GitHub Desktop.
Save jeffmccune/3014923 to your computer and use it in GitHub Desktop.
Puppet cannot load face

Current behavior of 3.0rc

With cloud provisioner installed puppet help is totally broken because a single face action throws an Exception.

STDERR

Error: Could not autoload puppet/face/node/classify: no such file to load -- fog
Error: Could not autoload puppet/face/node: Could not autoload puppet/face/node/classify: no such file to load -- fog
Error: Failed to load face node:
Error: Could not find version current of node
Error: Try 'puppet help help help' for usage

STDOUT

no printable characters

Proposed UX/UI

We plan to mark the summary for the face subcommand as unavailable and continue loading the summaries for other faces.

STDERR

Error: Could not autoload puppet/face/node/classify: no such file to load -- fog
Error: Could not autoload puppet/face/node: Could not autoload puppet/face/node/classify: no such file to load -- fog
Error: Failed to load face node:
Error: Could not autoload puppet/face/node_aws/bootstrap: no such file to load -- fog
Error: Could not autoload puppet/face/node_aws: Could not autoload puppet/face/node_aws/bootstrap: no such file to load -- fog
Error: Failed to load face node_aws:
Error: Could not autoload puppet/face/node_vmware/create: no such file to load -- fog
Error: Could not autoload puppet/face/node_vmware: Could not autoload puppet/face/node_vmware/create: no such file to load -- fog
Error: Failed to load face node_vmware:

STDOUT

Usage: puppet  [options]  [options]

Available subcommands:
    
  agent             The puppet agent daemon
  apply             Apply Puppet manifests locally
  ca                Local Puppet Certificate Authority management.
  catalog           Compile, save, view, and convert catalogs.
  cert              Manage certificates and requests
  certificate       Provide access to the CA for certificate management.
  certificate_request  Manage certificate requests.
  certificate_revocation_list  Manage the list of revoked certificates.
  config            Interact with Puppet's configuration options.
  describe          Display help about resource types
  device            Manage remote network devices
  doc               Generate Puppet documentation and references
  facts             Retrieve and store facts.
  file              Retrieve and store files in a filebucket
  filebucket        Store and retrieve files in a filebucket
  help              Display Puppet help.
  inspect           Send an inspection report
  instrumentation_data  Manage instrumentation listener accumulated data.
  instrumentation_listener  Manage instrumentation listeners.
  instrumentation_probe  Manage instrumentation probes.
  key               Create, save, and remove certificate keys.
  kick              Remotely control puppet agent
  man               Display Puppet manual pages.
  master            The puppet master daemon
  module            Creates, installs and searches for modules on the Puppet Forge.
  ! node            ! Subcommand unavailable due to error check STDERR.
  ! node_aws        ! Subcommand unavailable due to error check STDERR.
  ! node_vmware     ! Subcommand unavailable due to error check STDERR.
  parser            Interact directly with the parser.
  plugin            Interact with the Puppet plugin system.
  queue             Queuing daemon for asynchronous storeconfigs
  report            Create, display, and submit reports.
  resource          The resource abstraction layer shell
  resource_type     View classes, defined resource types, and nodes from all manifests.
  secret_agent      Mimics puppet agent.
  status            View puppet server status.

See 'puppet help  ' for help on a specific subcommand action.
See 'puppet help ' for help on a specific subcommand.
Puppet v3.0.0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment