-
Notifications
You must be signed in to change notification settings - Fork 42
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
Update function for work with Vault secured with Letsencrypt certificates #44
Labels
enhancement
New feature or request
Comments
Hey @ntanaskovic, welcome to GitHub! In order to submit your changes, please:
The voxpupuli team will then be able to review your work, Thanks! |
Hi Romain,
thank you for your reply.
I've never submitted any PRs to repos on Github, but I am using git
every day for my work where we have our own Gitea server. I am familiar
with the process as I am submitting PRs to our own repositories every
day by using Linux cli tools (git and vi). In short this is what I've
done, please review and let me know what I am doing wrong:
git clone https://github.com/voxpupuli/puppet-vault_lookup
cd puppet-vault_lookup
git branch nikola
git checkout nikola
... make changes, test etc
bundle exec rake lint
bundle exec rake validate
ruby -c lib/puppet/functions/vault_lookup/lookup.rb
Syntax OK
---> syntax:manifests
---> syntax:templates
---> syntax:hiera:yaml
Now I am ready to git push my changes and create PR, but I am getting
403 (denied)
git push --set-upstream origin nikola
Username for 'https://github.com': ntanaskovic
Password for ***@***.***': (I am using my
Github token here)
remote: Permission to voxpupuli/puppet-vault_lookup.git denied to
ntanaskovic.
fatal: unable to access
'https://github.com/voxpupuli/puppet-vault_lookup/': The requested URL
returned error: 403
I appreciate your help with this.
Best regards
Nikola
…On 07/10/2021 00:24, Romain Tartière wrote:
Hey @ntanaskovic <https://github.com/ntanaskovic>, welcome to GitHub!
In order to submit your changes, please:
1. Fork this repo
<https://docs.github.com/en/get-started/quickstart/fork-a-repo>
2. Push your changes to your fork
3. Create a pull request
<https://docs.github.com/en/github/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests>
The voxpupuli team will then be able to review your work,
Thanks!
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#44 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/APCTXP3PUHRPJZQW34FDSBLUFTLD3ANCNFSM5FPCR7DQ>.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
|
Good start! So you have a git repository which is a clone of ours and a branch with your work! Next steps:
Does this help? |
Hi Romain,
ah it is that simple, I will keep in mind and know in the future - thank
you for your patience with me.
I have created PR just now, let me know if I need to provide any other
information.
Best regards
Nikola
…On 07/10/2021 17:28, Romain Tartière wrote:
Good start!
So you have a git repository which is a clone of ours and a branch
with your work! Next steps:
1. On https://github.com/voxpupuli/puppet-vault_lookup
<https://github.com/voxpupuli/puppet-vault_lookup> click on the
"fork" button, this will create
https://github.com/ntanaskovic/puppet-vault_lookup
<https://github.com/ntanaskovic/puppet-vault_lookup> where you can
push code;
2. In your repo add the remote (check that you have send your SSH key
in GitHub settings. If you prefer to type in passwords, you can
use the https url… both URL are visible by clicking on the "Code"
green button on the page of your fork):
git remote add ntanaskovic ***@***.***
***@***.***>:ntanaskovic/puppet-vault_lookup.git
3. Push your branch to your fork:
git push -u ntanaskovic nikola
4. Open a Pull Request (I think that the post-commit message will
contain the appropriate link).
Does this help?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#44 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/APCTXPYMSLQMUBEGICOCJ43UFXDDJANCNFSM5FPCR7DQ>.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
|
Hi Romain,
did you get a chance to review my PR yet ? I know you guys are busy so
if there is anything that I can do to help let me know please.
Best regards
Nikola
…On 07/10/2021 19:43, Nikola Tanaskovic wrote:
Hi Romain,
ah it is that simple, I will keep in mind and know in the future -
thank you for your patience with me.
I have created PR just now, let me know if I need to provide any other
information.
Best regards
Nikola
On 07/10/2021 17:28, Romain Tartière wrote:
>
> Good start!
>
> So you have a git repository which is a clone of ours and a branch
> with your work! Next steps:
>
> 1. On https://github.com/voxpupuli/puppet-vault_lookup click on the
> "fork" button, this will create
> https://github.com/ntanaskovic/puppet-vault_lookup where you can
> push code;
> 2. In your repo add the remote (check that you have send your SSH
> key in GitHub settings. If you prefer to type in passwords, you
> can use the https url… both URL are visible by clicking on the
> "Code" green button on the page of your fork):
> git remote add ntanaskovic
> ***@***.***:ntanaskovic/puppet-vault_lookup.git
> 3. Push your branch to your fork:
> git push -u ntanaskovic nikola
> 4. Open a Pull Request (I think that the post-commit message will
> contain the appropriate link).
>
> Does this help?
>
> —
> You are receiving this because you were mentioned.
> Reply to this email directly, view it on GitHub
> <#44 (comment)>,
> or unsubscribe
> <https://github.com/notifications/unsubscribe-auth/APCTXPYMSLQMUBEGICOCJ43UFXDDJANCNFSM5FPCR7DQ>.
> Triage notifications on the go with GitHub Mobile for iOS
> <https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
> or Android
> <https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
>
>
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi there,
your function works well with Vault port secured with Puppet certificates, however we needed to use Vault with multiple Puppet masters. For that I've made a fork of your repository, and updated it to use newer "HTTP::Client" library so that it will work with Vault secured with Letsencrypt certificates. I've tested it and can provide documentation as well. Can you please add me as a contributor, so that I can submit my changes as Pull Request ? I've created separate branch as "nikola".
Thanks
Affected Puppet, Ruby, OS and module versions/distributions
How to reproduce (e.g Puppet code you use)
What are you seeing
What behaviour did you expect instead
Output log
Any additional information you'd like to impart
The text was updated successfully, but these errors were encountered: