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)
Infrastructure & Operations Graveyard
CIDuty
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: dustin, Assigned: kmoir)
References
Details
Attachments
(1 file, 1 obsolete file)
1.56 KB,
patch
|
rail
:
review+
kmoir
:
checked-in+
|
Details | Diff | Splinter Review |
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.
Comment 1•12 years ago
|
||
(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.
Comment 2•12 years ago
|
||
(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 | ||
Updated•12 years ago
|
Assignee: nobody → kmoir
Assignee | ||
Comment 3•12 years ago
|
||
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?
Reporter | ||
Comment 4•12 years ago
|
||
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!
Assignee | ||
Comment 5•12 years ago
|
||
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)
Reporter | ||
Comment 6•12 years ago
|
||
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 7•12 years ago
|
||
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+
Assignee | ||
Comment 8•12 years ago
|
||
Attachment #638406 -
Attachment is obsolete: true
Attachment #638793 -
Flags: review?(rail)
Updated•12 years ago
|
Attachment #638793 -
Flags: review?(rail) → review+
Assignee | ||
Updated•12 years ago
|
Attachment #638793 -
Flags: checked-in+
Assignee | ||
Comment 9•12 years ago
|
||
Closing.
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Updated•11 years ago
|
Product: mozilla.org → Release Engineering
Updated•6 years ago
|
Product: Release Engineering → Infrastructure & Operations
Updated•5 years ago
|
Product: Infrastructure & Operations → Infrastructure & Operations Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•