Aaron Meihm
3e54d93cf4
[minor] allow loader lookup for staged manifests
2016-03-24 17:08:14 -05:00
Aaron Meihm
410ba77d3a
[minor] include status field in manifest record validation
2016-03-24 17:08:14 -05:00
Aaron Meihm
50dbe215b4
[minor] force loader run on darwin installation
2016-03-24 17:08:14 -05:00
Aaron Meihm
dfceec521e
[minor] remove agt serviceInstall flag and add agent check in loader
...
Remove the service install flag to the agent as it's not really
neccessary; the standard daemon invocation will achieve the same result.
Also add a check in loader runs to see if the agent is running even if
no changes were needed. If not, try to start the agent. This handles
cases where the loader doesnt need to make changes, but the agent is not
running for some reason, and prior the loader would not attempt to
recover this scenario.
2016-03-24 17:08:14 -05:00
Aaron Meihm
93509ed4a0
[minor] add a missing comment for ContentFromFile
2016-03-24 17:08:14 -05:00
Aaron Meihm
79a71ef803
[minor] remove a stray debug line, add some missing comments
2016-03-24 17:08:14 -05:00
Aaron Meihm
a3d9f202d2
[minor] bundle darwin agent change to avoid triggering osx integ protect
2016-03-24 17:08:14 -05:00
Aaron Meihm
cae93f70d7
[medium] transform agent configuration with relay credentials
2016-03-24 17:08:14 -05:00
Aaron Meihm
1266188bbe
[minor] use loader key on file system if present
2016-03-24 17:08:14 -05:00
Aaron Meihm
4bbbe24666
[minor] unique index on loader name and key
2016-03-24 17:08:14 -05:00
Aaron Meihm
16321b66d5
[minor] populate IsAdmin for various other investigator queries
2016-03-24 17:08:14 -05:00
Aaron Meihm
aed606d730
[minor] use default col val for isadmin in InsertSchedulerInvestigator
2016-03-24 17:08:14 -05:00
Aaron Meihm
6b989b2dda
[minor] small cleanup in ManifestUpdateStatus
2016-03-24 17:08:14 -05:00
Aaron Meihm
52be51533f
[minor] use QueryRow in GetLoaderEntryID
2016-03-24 17:08:14 -05:00
Aaron Meihm
966b06044b
[minor] launchd plist for loader scheduling
2016-03-24 17:08:14 -05:00
Aaron Meihm
7beab8a538
[minor] add a basic osx .pkg generation target for mig-loader
2016-03-24 17:08:14 -05:00
Aaron Meihm
a139e581df
[minor/bug] fix issue with investigator creation
...
Use column default of false for isadmin privilege, API will not have
permission to change this value. Also fix a syntax error in investigator
query string that was causing queries to fail.
2016-03-24 17:08:14 -05:00
Aaron Meihm
bbe664523a
[minor] provide a limited install target, see #166
...
This doesn't install the agent or loader, this should probably be
handled in a different target as there are a number of ways the agent
could be deployed.
2016-03-24 17:08:14 -05:00
Aaron Meihm
df27a0d3dd
[medium] add new administrator privilege for investigators
2016-03-24 17:08:14 -05:00
Aaron Meihm
3e7ba217b6
[minor/bug] if Init fails, ensure valid log channel exists before use
...
If Init returns an error because it cannot initialize the log, this
fixes an issue where a channel write will be attempted causing the agent
to block indefinitely
2016-03-24 17:08:14 -05:00
Aaron Meihm
3e8c0df21b
[minor] darwin bundle entry
2016-03-24 17:08:14 -05:00
Aaron Meihm
e66dc8d0b3
[minor] migrate darwin specific environment calls for agentcontext
2016-03-24 17:08:14 -05:00
Aaron Meihm
0858d284bc
[medium] add functions to list target loader entries in manifest reader
2016-03-24 17:08:14 -05:00
Aaron Meihm
f5de1cb5b6
[minor] order manifests by date in api search
2016-03-24 17:08:14 -05:00
Aaron Meihm
0206540a36
[minor] add help for manifest reader
2016-03-24 17:08:14 -05:00
Aaron Meihm
6452e47f01
[minor] if loader manifest selection fails, return a generic error
2016-03-24 17:08:14 -05:00
Aaron Meihm
7f219aa23e
[minor] honor the disabled flag in manifest maintenance operations
2016-03-24 17:08:14 -05:00
Aaron Meihm
1caba2e2c5
[minor] small cleanup to loader api endpoint functions
2016-03-24 17:08:14 -05:00
Aaron Meihm
c7d2350208
[minor] authenticate loader requests using path similar to standard api
2016-03-24 17:08:13 -05:00
Aaron Meihm
509b6dcaa0
[minor] add disable manifest functionality
2016-03-24 17:08:13 -05:00
Aaron Meihm
58644787bf
[medium] add console and api functionality for manifest creation
2016-03-24 17:08:13 -05:00
Aaron Meihm
1c9ba0bec1
[minor] move auth manifest endpoints under correct section in function
2016-03-24 17:08:13 -05:00
Aaron Meihm
7a494e1d05
[medium] validate manifest signatures on loader
2016-03-24 17:08:13 -05:00
Aaron Meihm
eb69b2a316
[minor] update loader based on changes to manifest/api endpoint
2016-03-24 17:08:13 -05:00
Aaron Meihm
93d4adec9f
[minor] correctly handle invalid loader key indications from api
2016-03-24 17:08:13 -05:00
Aaron Meihm
d77e0707ef
[minor] use a dedicated configuration input for the loader
2016-03-24 17:08:13 -05:00
Aaron Meihm
97cac21624
[minor] manifest signature status reset from console
2016-03-24 17:08:13 -05:00
Aaron Meihm
b0c5bd7e94
[minor] update the status of the manifest based on # of sigs
2016-03-24 17:08:13 -05:00
Aaron Meihm
578a2d1a34
[minor] return a proper 404 if invalid manifest is requested from api
2016-03-24 17:08:13 -05:00
Aaron Meihm
3f6cde53d6
[minor] correctly report success for console manifest signature op
2016-03-24 17:08:13 -05:00
Aaron Meihm
4b3fad348d
[minor] enforce single investigator signature per manifest in db
2016-03-24 17:08:13 -05:00
Aaron Meihm
7c897edc06
[major] Initial code for mig-loader
...
Checkpoint commit for initial revision of mig-loader related code. This
change adds functionality supporting agent auto-update using manifests
stored in the API.
2016-03-24 17:08:13 -05:00
Julien Vehent [:ulfr]
1df619ce68
Merge pull request #195 from mozilla/vendoringupdate20160318
...
Vendoring update 20160318
2016-03-18 16:52:25 -04:00
Julien Vehent
87ef301263
[minor] update location of scribe package
2016-03-18 15:14:30 -04:00
Julien Vehent
5883a9f7e9
[minor] update go_vendor_deps makefile target
2016-03-18 15:10:58 -04:00
Julien Vehent
9759ad2c70
[minor] vendoring update
2016-03-18 15:10:46 -04:00
Julien Vehent [:ulfr]
cbbebf0155
Merge pull request #143 from mvanotti/issue107
...
(WIP) [minor/107] Fix issue #107
2016-03-18 09:03:10 -04:00
Julien Vehent [:ulfr]
fff4a944c4
Merge pull request #194 from arunk-s/fix_example
...
[minor/bug] Fix broken link for example.go in module docs
2016-03-18 08:34:41 -04:00
Arun Sori
d732855e8c
[minor/bug] Fix broken link for example.go in module docs
2016-03-18 15:49:59 +05:30
Julien Vehent [:ulfr]
62ad506bc7
Merge pull request #192 from arunk-s/add_neighborIP
...
[minor] Fixes #144 : Add NeighborIP functionality on linux
2016-03-14 14:49:01 -04:00