Skip to content

Issue - Run PingFed as a service  #2

@ChefMadeEasy

Description

@ChefMadeEasy
     Greetings Scott,

I've downloaded your cookbook as-is and ran it on rhel 7, all looks good except the last step that runs PingFederate as a service. Any recommendations on how to fix this issue?
Thanks much!

=========
Error executing action enable on resource 'service[pingfederate]'

       Mixlib::ShellOut::ShellCommandFailed
       ------------------------------------
       Expected process to exit with [0], but received '1'
       ---- Begin output of /bin/systemctl --system enable pingfederate ----
       STDOUT: 
       STDERR: Failed to execute operation: Access denied
       ---- End output of /bin/systemctl --system enable pingfederate ----
       Ran /bin/systemctl --system enable pingfederate returned 1
       
       Resource Declaration:
       ---------------------
       # In /tmp/kitchen/cache/cookbooks/pingfederate/recipes/pingfederate.rb
       
       101: service 'pingfederate' do
       102:   action [:enable]
       103: end

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions