Closed Bug 759488 Opened 12 years ago Closed 12 years ago

point non-puppetagain slaves toward local python mirrors

Categories

(Infrastructure & Operations Graveyard :: CIDuty, task)

task
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: dustin, Assigned: kmoir)

References

Details

Attachments

(1 file, 1 obsolete file)

This is basically bug 727283, but done for old puppet and opsi. It's probably best for it to just look like [global] no-index = true find-links = http://repos/python/packages rather than trying to get the redundancy we have in puppetagain.
(In reply to Dustin J. Mitchell [:dustin] from comment #0) > This is basically bug 727283, but done for old puppet and opsi. I don't think that's the bug you meant to link.
(In reply to Dustin J. Mitchell [:dustin] from comment #0) > It's probably best for it to just look like > > [global] > no-index = true > find-links = http://repos/python/packages > > rather than trying to get the redundancy we have in puppetagain. kmoir: is this something you could take on?
Assignee: nobody → kmoir
I couldn't find the puppetAgain bug to look at for reference. I assume this is just a change in the modules/python/manifests/virtualenv.pp in puppet-manifests?
Sorry, the bug is bug 757283. It will be a change to add ~cltbld/.pip/pip.conf with the contents in comment 0. Sorry for the bug number typo!
Attached patch patch (obsolete) — Splinter Review
The old puppet doesn't inherit the user characteristics from a central module etc so this just states them explicitly in the module. I didn't think it was worth refactoring since it's the old version.
Attachment #638406 - Flags: review?(dustin)
Comment on attachment 638406 [details] [diff] [review] patch Review of attachment 638406 [details] [diff] [review]: ----------------------------------------------------------------- Looks good to me. I've added r? rail since I haven't been following build/puppet-manifests for a long time, but that can likely be a simple "lgtm" review.
Attachment #638406 - Flags: review?(rail)
Attachment #638406 - Flags: review?(dustin)
Attachment #638406 - Flags: review+
Comment on attachment 638406 [details] [diff] [review] patch Review of attachment 638406 [details] [diff] [review]: ----------------------------------------------------------------- lgtm with some nits: ::: modules/python/manifests/pip.pp @@ +6,2 @@ > creates => "/usr/local/bin/pip", > + command => "/usr/bin/easy_install pip" ; extra space before ";" and ":" looks inconsistent with other manifests. ::: modules/python/manifests/user_pip_conf.pp @@ +2,5 @@ > + $user = $title > + $homedir_ = $operatingsystem ? { > + CentOS => "/home/$user", > + Darwin => "/Users/$user", > + default => $homedir, Do you really need $homedir as a parameter? It can't be used on CentOS and Darwin from what I see here. @@ +5,5 @@ > + Darwin => "/Users/$user", > + default => $homedir, > + } > + $group = $operatingsystem ? { > + CentOS => "$user", The line above can be dropped since it matches "default". @@ +22,5 @@ > + owner => $user, > + group => $group, > + mode => 0644 ; > + } > +} \ No newline at end of file Can you add a newline at the end of file? The same regarding spaces.
Attachment #638406 - Flags: review?(rail) → review+
Attached patch updated patchSplinter Review
Attachment #638406 - Attachment is obsolete: true
Attachment #638793 - Flags: review?(rail)
Attachment #638793 - Flags: review?(rail) → review+
Attachment #638793 - Flags: checked-in+
Closing.
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Product: mozilla.org → Release Engineering
Product: Release Engineering → Infrastructure & Operations
Product: Infrastructure & Operations → Infrastructure & Operations Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: