I got further along with setting up push job. Now when I try the start a push job on a node, I get this. How can I grant user “jenkins” access to this object? User “Jenkins” is not in the admins group, which is intentional.
NOTE: I can do other knife commands.
knife job start 'chef-client' mynode.domain.com
ERROR: You authenticated successfully to https://chef-server.domain.com/organizations/arq-dev as jenkins but you are not authorized for this action
Response: User or client 'jenkins' does not have access to that action on this server.
From: Fouts, Chris [mailto: " target="_blank"> ]
Sent: Tuesday, January 27, 2015 4:34 PM
To: " target="_blank">
Subject: [chef] Chef Push jobs primer/tutorial?
https://docs.chef.io/install_push_jobs.html
I’m trying to use Chef push for orchestrating my node configurations, and the best information I can find is in the above link. However, it’s still lack-luster. Is there a better tutorial somewhere? (I’ve looked)
For example, what does item #3 in above link mean?
· Add the following default attributes on all nodes that are managed by Chef push jobs:
"push_jobs": {
"package_url": "<package_url>",
"package_checksum": "<checksum>"
}
What is <package_url> and <checksum>, or where do I get those?
Chris
Mark Anderson - Community Engineering
mark " style="color:rgb(105,117,130)" target="_blank">@chef.io
Archive powered by MHonArc 2.6.16.