Closed
Bug 865799
Opened 11 years ago
Closed 11 years ago
switch to setting show_diff => false only on "sensitive" files after 3.2.0 upgrade
Categories
(Infrastructure & Operations :: RelOps: Puppet, task)
Infrastructure & Operations
RelOps: Puppet
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: dustin, Assigned: dustin)
References
Details
Attachments
(3 files)
12.12 KB,
patch
|
Callek
:
review-
|
Details | Diff | Splinter Review |
5.42 KB,
patch
|
Callek
:
review+
|
Details | Diff | Splinter Review |
22.70 KB,
patch
|
dustin
:
checked-in+
|
Details | Diff | Splinter Review |
No description provided.
Updated•11 years ago
|
Component: Server Operations: RelEng → RelOps: Puppet
Product: mozilla.org → Infrastructure & Operations
QA Contact: arich → dustin
Assignee | ||
Updated•11 years ago
|
Severity: normal → enhancement
Assignee | ||
Comment 1•11 years ago
|
||
I'm not sure how best to review this, since the risk is that something with a password was omitted.
Attachment #801746 -
Flags: review?(bugspam.Callek)
Comment 2•11 years ago
|
||
dustin: I'm considering tackling this over the weekend or early next week, is that timescale ok? My reason for the defer is I think this warrants a direct "every file resource" peek to make sure we set every secret one we care about to false. I suspect doing a thorough review here is worth the time.
Flags: needinfo?(dustin)
Assignee | ||
Comment 3•11 years ago
|
||
That's fine - there's no great urgency here. Rather, I'm trying to clean out the backlog of low-priority PuppetAgain bugs. But let's not let it bitrot.
Flags: needinfo?(dustin)
Assignee | ||
Updated•11 years ago
|
Severity: enhancement → normal
Comment 4•11 years ago
|
||
Comment on attachment 801746 [details] [diff] [review] bug865799.patch Review of attachment 801746 [details] [diff] [review]: ----------------------------------------------------------------- All things currently in this patch are good... however,... *** Things I see that I think need show_diff=false, *** D:\Sources\puppet\modules\bmm\manifests\httpd.pp "/opt/bmm/www/squashfs": "/opt/bmm/www/artifacts": - since they source from private dir's. D:\Sources\puppet\modules\packages\manifests\aptrepo.pp "/etc/apt/${repo_name}-pubkey.txt": - despite being a text file, any changes here won't actually be useful for a human to read. D:\Sources\puppet\modules\packages\manifests\yumrepo.pp "/etc/pki/${repo_name}-pubkey.txt": - same reason as aptrepo.pp D:\Sources\puppet\modules\packages\manifests\mozilla\google_api.pp "/builds/gapi.data": - It's purged when we loan the machine, therefore it shouldn't be here. ***** Things Unsure on **** D:\Sources\puppet\modules\bmm\manifests\tftpd.pp "/var/lib/tftpboot/panda-live/uImage": "/var/lib/tftpboot/panda-live/uInitrd": **** While touching all these file resources **** D:\Sources\puppet\modules\puppet\manifests\puppetize_sh.pp "${users::root::home}/puppetize.log": - Can be removed from managed, the referenced bug is resolved ------ For next patch either a part 2, or a new patch+interdiff is fine. (r- strictly for the google api, everything else you can try to convince me on if you disagree) ::: modules/httpd/manifests/config.pp @@ +25,5 @@ > owner => "$httpd::settings::owner", > group => "$httpd::settings::group", > + content => $content, > + # don't show the diff, since sometimes httpd configs contain passwords > + show_diff => false; we could make this a template var that we use instead ;-) but good-for-now
Attachment #801746 -
Flags: review?(bugspam.Callek) → review-
Assignee | ||
Comment 5•11 years ago
|
||
Attachment #806694 -
Flags: review?(bugspam.Callek)
Assignee | ||
Comment 6•11 years ago
|
||
Updated•11 years ago
|
Attachment #806694 -
Flags: review?(bugspam.Callek) → review+
Assignee | ||
Updated•11 years ago
|
Attachment #806695 -
Flags: checked-in+
Assignee | ||
Updated•11 years ago
|
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•