Closed
Bug 799810
Opened 12 years ago
Closed 12 years ago
Send puppet reports from AWS puppet masters to puppet dashboard
Categories
(Infrastructure & Operations Graveyard :: CIDuty, task)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: rail, Assigned: rail)
Details
(Whiteboard: [puppet][aws])
Attachments
(1 file, 1 obsolete file)
3.76 KB,
patch
|
dustin
:
review+
rail
:
checked-in+
|
Details | Diff | Splinter Review |
No description provided.
Assignee | ||
Comment 1•12 years ago
|
||
Per http://docs.puppetlabs.com/dashboard/manual/1.2/bootstrapping.html#using-dashboard-for-reports we need the following in puppet.conf [master] reports = store, http reporturl = http://dashboard.example.com:3000/reports/upload Probably would be great to puppetize this.
Comment 2•12 years ago
|
||
In our case, it's reports = tagmail, http reporturl = http://puppetdash.pvt.build.mozilla.org/reports/upload
Assignee | ||
Comment 3•12 years ago
|
||
Not tested
Comment 4•12 years ago
|
||
Looks good, but whats this? +$extlookup_precedence = ["domain_%{domain}", "local-config", "default-config", "secrets"]
Assignee | ||
Comment 5•12 years ago
|
||
(In reply to Dustin J. Mitchell [:dustin] from comment #4) > Looks good, but whats this? > +$extlookup_precedence = ["domain_%{domain}", "local-config", > "default-config", "secrets"] Probably I should drop that and use local-config instead for master specific customizations. Wanted to have something generic for aws masters, but probably it'll be harder to read/follow the configs in this case.
Assignee | ||
Comment 6•12 years ago
|
||
I tested this with 'puppet apply .. --noop --show_diff --diff diff --diff_args "-u" ...'. The diff looks quite sane: Default: + reports = tagmail + reporturl = http://dashboard.example.com:3000/reports/upload and + reports = tagmail,http + reporturl = http://puppetdash.pvt.build.mozilla.org/reports/upload if I put the following into local-config: puppet_server_reports,"tagmail,http" puppet_server_reporturl,http://puppetdash.pvt.build.mozilla.org/reports/upload
Attachment #669955 -
Attachment is obsolete: true
Attachment #670380 -
Flags: review?(dustin)
Comment 7•12 years ago
|
||
Comment on attachment 670380 [details] [diff] [review] reports Review of attachment 670380 [details] [diff] [review]: ----------------------------------------------------------------- Cool, looks good! ::: manifests/extlookup/default-config.csv @@ +11,5 @@ > crl_sync_url, > puppet_again_repo,http://hg.mozilla.org/build/puppet > global_authorized_keys, > +puppet_server_reports,tagmail > +puppet_server_reporturl,http://dashboard.example.com:3000/reports/upload This example should probably be blank? I don't think we want to accidentally send reports to example.com :)
Attachment #670380 -
Flags: review?(dustin) → review+
Assignee | ||
Comment 8•12 years ago
|
||
Comment on attachment 670380 [details] [diff] [review] reports http://hg.mozilla.org/build/puppet/rev/4ffe43d3857a (In reply to Dustin J. Mitchell [:dustin] from comment #7) > This example should probably be blank? I don't think we want to > accidentally send reports to example.com :) I changed that to "http://localhost:3000/reports/upload" which is default per http://docs.puppetlabs.com/references/latest/configuration.html#reporturl
Attachment #670380 -
Flags: checked-in+
Assignee | ||
Updated•12 years ago
|
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•4 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
•