Skip to content

Instantly share code, notes, and snippets.

@patcon
Created October 16, 2015 19:40
Show Gist options
  • Save patcon/32e942c560dee6727f43 to your computer and use it in GitHub Desktop.
Save patcon/32e942c560dee6727f43 to your computer and use it in GitHub Desktop.
workstation Recipe: os-hardening::pam
workstation * execute[update-pam] action nothing (skipped due to action :nothing)
workstation * apt_package[pam-ccreds] action remove (up to date)
workstation * apt_package[pam-cracklib] action remove (up to date)
workstation * apt_package[pam-passwdqc] action install (up to date)
workstation * template[/usr/share/pam-configs/passwdqc] action create (up to date)
workstation * apt_package[libpam-modules] action install (up to date)
workstation * template[/usr/share/pam-configs/tally2] action create (up to date)
workstation * execute[update-pam] action run
workstation
workstation ================================================================================
workstation Error executing action `run` on resource 'execute[update-pam]'
workstation ================================================================================
workstation
workstation Errno::ENOENT
workstation -------------
workstation No such file or directory - update-pam
workstation
workstation Resource Declaration:
workstation ---------------------
workstation # In /var/chef/cache/cookbooks/os-hardening/recipes/pam.rb
workstation
workstation 96: execute 'update-pam'
workstation 97:
workstation
workstation Compiled Resource:
workstation ------------------
workstation # Declared in /var/chef/cache/cookbooks/os-hardening/recipes/pam.rb:96:in `from_file'
workstation
workstation execute("update-pam") do
workstation action [:run]
workstation retries 0
workstation retry_delay 2
workstation default_guard_interpreter :execute
workstation command "update-pam"
workstation backup 5
workstation returns 0
workstation declared_type :execute
workstation cookbook_name "os-hardening"
workstation recipe_name "pam"
workstation end
workstation
workstation
workstation Running handlers:
workstation [2015-10-16T19:36:47+00:00] ERROR: Running exception handlers
workstation Running handlers complete
workstation [2015-10-16T19:36:47+00:00] ERROR: Exception handlers complete
workstation Chef Client failed. 10 resources updated in 06 minutes 16 seconds
workstation [2015-10-16T19:36:47+00:00] FATAL: Stacktrace dumped to /var/chef/cache/chef-stacktrace.out
workstation [2015-10-16T19:36:47+00:00] ERROR: execute[update-pam] (os-hardening::pam line 96) had an error: Errno::ENOENT: No such file or directory - update-pam
workstation [2015-10-16T19:36:48+00:00] FATAL: Chef::Exceptions::ChildConvergeError: Chef run process exited unsuccessfully (exit code 1)
rake aborted!
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment