Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HTTP 403 error when using pushy resource #1

Open
cfoutsgit opened this issue Jan 30, 2015 · 5 comments
Open

HTTP 403 error when using pushy resource #1

cfoutsgit opened this issue Jan 30, 2015 · 5 comments

Comments

@cfoutsgit
Copy link

I wanted to orchestrate the client runs so that node-A runs chef-client, and when it finishes, it pushes node-B to run its chef-client. In node-A's cookbook I have this

do other stuff

lastly do this

pushy "chef-client" do
action :run
nodes [ "node-B" ]
end

However, the user passed to the server is not a member of the pushy_job_writers group, hence I get an HTTP 403 Forbidden error. There is no workaround for this problem.

@markan
Copy link

markan commented Jun 2, 2015

Are you able to add the 'node-A' client to the pushy_job_writers group? I think that should let you do what you want. If not, we should track this as a bug in the push server.

@sumeshkanayi
Copy link

I did a try with this LWRP today and it worked like a charm . Yes we have to add the node to pushy_job_writers through knife edit

@saurav2104
Copy link

Hi
Can you please tell how I can add my clients to the pushy_job_writers group. I have access o chef manage and have already created the group in chef manage. But it's not working for me. I think I am not following the steps properly.

Thanks

@sumeshkanayi
Copy link

Hi Saurav,
You have to use knife for that
GUI won't work
On 09-Apr-2016 3:41 pm, "saurav2104" [email protected] wrote:

Hi
Can you please tell how I can add my the clients to the pushy_job_writers
group. I have access o chef manage and have already created the group in
chef manage. But it's not working for me. I think I am not following the
steps properly.

Thanks


You are receiving this because you commented.
Reply to this email directly or view it on GitHub
#1 (comment)

@saurav2104
Copy link

Hi Sumesh,
Added using knife edit
Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants