Missing puppet serverport configuration causes simp bootstrap to fail
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 48/100
Research direction
Start in lib/simp/cli/commands/bootstrap.rb at the track_output call on line 99, then compare it with the call on line 69 and inspect how puppet config determines the server port. Reproduce the bootstrap path where 8140 is returned instead of 8150; done means the intelligently selected puppetserver port is used, while the separate agent-configuration cause remains understood or documented.
Written by the indexing model from the issue text.
Description
Somewhere along the line, either simp config or simp bootstrap failed to set the serverport setting in my puppet.conf. As a result, when this puppet command is triggered and simp bootstrap runs puppet config to figure out the server port, it gets back the default value of 8140 rather than the configured puppetserver port, 8150. A quick fix for this would have been to simply pass @initial_puppetserver_port to the track_output call on line 99, like is done on line 69, thus ensuring that the port number thats intelligently selected would be what's used. I still need to figure out why my agent wasn't configured properly, though I think that's probably my fault since I'm attempting to run SIMP on rocky and I suspect something silently failed to set the agent setting somewhere along the line.
- Dominant language
- Ruby
- Stars
- 2
- Forks
- 12
- Avg merge
- 2d 21h
- Merged PRs (30d)
- 4
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from simp/rubygem-simp-cli
-
Dependency Dashboard Open
Difficulty 2/5 1-3 hours Newbie friendliness 25/100
simp/rubygem-simp-cli#200 ·
-
Difficulty 3/5 1-2 days Newbie friendliness 45/100
simp/rubygem-simp-cli#194 ·
-
community needs-attention
Difficulty 1/5 Under an hour Newbie friendliness 45/100
simp/rubygem-simp-cli#187 ·
All issues in simp/rubygem-simp-cli
Similar issues
-
user-reported
Difficulty 2/5 1-3 hours Newbie friendliness 85/100
Kong/developer.konghq.com#7316 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
TheOdinProject/curriculum#31408 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
bensheldon/good_job#1816 · 5 comments ·
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
notch8/utk_knapsack#148 ·
-
Difficulty 1/5 Under an hour Newbie friendliness 78/100
Homebrew/homebrew-cask#288729 · 1 comment ·