Hi folks,
I have a couple of problems with chef
- I just setup chef, running everything on ScientificLinux 6.7,
I’ve installed chef client and push on client machine,
Also I added these attributes:
{
“push_jobs”: {
“whitelist”: {
“chef-client”: “chef-client”,
“ps”: “ps”
}
}
}
to node role
So ps doesn’t work from ws machine
[2017-01-13T18:08:52+00:00] INFO: [UNKNOWN] Job UNKNOWN: whitelist ‘ps’ to ‘’
[2017-01-13T18:08:52+00:00] INFO: [UNKNOWN] Job UNKNOWN: whitelist ‘ps’ to ‘’
[2017-01-13T18:08:52+00:00] ERROR: [chefcl1-stg-scl2.stg.internal] Received commit 2293fe2e12f3795570398bc171dc2a10, but command ‘ps’ is not in the whitelist!
- Pushy fails to run
[2017-01-13T18:09:13+00:00] INFO: [chefcl1-stg-scl2.stg.internal] Job 2293fe2e12f3bed02b4849c7cd0832c9 completed with exit code 0
[2017-01-13T18:09:22+00:00] INFO: [chefcl1-stg-scl2.stg.internal] Received abort
[2017-01-13T18:09:32+00:00] INFO: [chefcl1-stg-scl2.stg.internal] Received abort
[2017-01-13T18:09:42+00:00] INFO: [chefcl1-stg-scl2.stg.internal] Received abort
[2017-01-13T18:09:52+00:00] INFO: [chefcl1-stg-scl2.stg.internal] Received abort
[2017-01-13T18:10:02+00:00] INFO: [chefcl1-stg-scl2.stg.internal] Received abort
[2017-01-13T18:10:12+00:00] INFO: [chefcl1-stg-scl2.stg.internal] Received abort
[2017-01-13T18:10:22+00:00] INFO: [chefcl1-stg-scl2.stg.internal] Received abort
[2017-01-13T18:10:32+00:00] INFO: [chefcl1-stg-scl2.stg.internal] Received abort
[2017-01-13T18:10:42+00:00] INFO: [chefcl1-stg-scl2.stg.internal] Received abort
[2017-01-13T18:10:52+00:00] INFO: [chefcl1-stg-scl2.stg.internal] Received abort
[2017-01-13T18:11:02+00:00] INFO: [chefcl1-stg-scl2.stg.internal] Received abort
[2017-01-13T18:11:12+00:00] INFO: [chefcl1-stg-scl2.stg.internal] Received abort
[2017-01-13T18:11:22+00:00] INFO: [chefcl1-stg-scl2.stg.internal] Received abort
[2017-01-13T18:11:32+00:00] INFO: [chefcl1-stg-scl2.stg.internal] Received abort
[2017-01-13T18:11:42+00:00] INFO: [chefcl1-stg-scl2.stg.internal] Received abort
[2017-01-13T18:11:52+00:00] INFO: [chefcl1-stg-scl2.stg.internal] Received abort
[2017-01-13T18:12:02+00:00] INFO: [chefcl1-stg-scl2.stg.internal] Received abort
[2017-01-13T18:12:12+00:00] INFO: [chefcl1-stg-scl2.stg.internal] Received abort
[2017-01-13T18:12:22+00:00] INFO: [chefcl1-stg-scl2.stg.internal] Received abort
[2017-01-13T18:12:32+00:00] INFO: [chefcl1-stg-scl2.stg.internal] Received abort
[2017-01-13T18:12:42+00:00] INFO: [chefcl1-stg-scl2.stg.internal] Received abort
[2017-01-13T18:12:52+00:00] INFO: [chefcl1-stg-scl2.stg.internal] Received abort
[2017-01-13T18:13:02+00:00] INFO: [chefcl1-stg-scl2.stg.internal] Received abort
[2017-01-13T18:13:12+00:00] INFO: [chefcl1-stg-scl2.stg.internal] Received abort
[2017-01-13T18:13:22+00:00] INFO: [chefcl1-stg-scl2.stg.internal] Received abort
[2017-01-13T18:13:32+00:00] INFO: [chefcl1-stg-scl2.stg.internal] Received abort
[2017-01-13T18:13:42+00:00] INFO: [chefcl1-stg-scl2.stg.internal] Received abort
[2017-01-13T18:13:52+00:00] INFO: [chefcl1-stg-scl2.stg.internal] Received abort
[2017-01-13T18:14:02+00:00] INFO: [chefcl1-stg-scl2.stg.internal] Received abort
[2017-01-13T18:14:12+00:00] INFO: [chefcl1-stg-scl2.stg.internal] Received abort
[2017-01-13T18:14:22+00:00] INFO: [chefcl1-stg-scl2.stg.internal] Received abort
[2017-01-13T18:14:32+00:00] INFO: [chefcl1-stg-scl2.stg.internal] Received abort
[2017-01-13T18:14:42+00:00] INFO: [chefcl1-stg-scl2.stg.internal] Received abort
I didn’t set up with instructions from chef team, since I had no luck on redhad systems with runit
Thanks everyone