When running cookbook through root, it runs the chef-client but not as oracle

when running cookbook through root it runs the cookbook but when running through oracle , it does nothing and gives this error:

chef-client

Running handlers:
Running handlers complete
Chef Client failed. 0 resources updated in 00 seconds

There isn’t a ton of information provided here but I expect that this oracle user lacks necessary permissions to do anything useful.

@priyanshu if you bootstrap the node with oracle, you will know the exact issue. I agree with @cheeseplus, this is more of insufficient permission related issue for the user oracle.