tag:gpgtools.tenderapp.com,2011-11-04:/discussions/problems/74912-automated-configuration-by-scriptGPGTools: Discussion 2018-10-16T22:50:38Ztag:gpgtools.tenderapp.com,2011-11-04:Comment/453657702018-07-06T19:53:55Z2018-07-06T19:53:55ZAutomated configuration (by script)<div><p>Hi Sylvain,</p>
<p>would you mind telling us a little bit about your use case? How many Macs, how you will perform the update check and generally how your deployment mechanism works. We are always interested in learning more how our suite is installed by sys admins so we can potentially find ways to make it easier.</p></div>Luke Letag:gpgtools.tenderapp.com,2011-11-04:Comment/453657702018-07-26T07:56:54Z2018-07-26T07:56:56ZAutomated configuration (by script)<div><p>Hi Luke;</p>
<p>We have something like 30 Mac that we (sysadmins) monitor & administrate via a tool called "Desktop Central" : every Mac has an agent running, and the agent regularly checks with a central server if new "configurations" have to be applied.</p>
<p>It's important for us that every Mac has the same set of configuration, software, versions, etc. to ease administration and avoid strange bugs happening only to one person.<br>
Moreover, there is a bug in the most recent versions of gnupg that annoys us; the bug has been reported, but it probably won't be fix soon. (the bug is in gpg itself, not GPGsuite).</p>
<p>For those different reasons, we don't want GPGsuite to update automatically; if WE judge that an update is needed, WE will trigger the update via the "Desktop Central" tool.</p>
<p>Desktop Central allow us to deploy files and run scripts on the users' MAC; we already have the mechanism to install the version of GPGSuite we want; all we need now is a shell command to disable the auto update, hence this thread.</p>
<p>Hope it is clearer than before .. :)</p></div>Sylvaintag:gpgtools.tenderapp.com,2011-11-04:Comment/453657702018-07-27T07:57:51Z2018-07-27T07:57:51ZAutomated configuration (by script)<div><p>Hi Sylvain,</p>
<p>to disable update checks for the current user run this command:<br></p>
<pre>
<code>defaults write org.gpgtools.updater SUEnableAutomaticChecks -bool NO</code>
</pre>
<p>Regards, Mento</p></div>Mentotag:gpgtools.tenderapp.com,2011-11-04:Comment/453657702018-07-30T09:17:09Z2018-07-30T09:17:10ZAutomated configuration (by script)<div><p>Hi Mento ! Thank you for your answer.</p>
<p>When I launch this command, I don't have any error, which is good; but then I go to the GPGSuite parameters, the "Automatic update check" tick is still checked :/</p></div>Sylvaintag:gpgtools.tenderapp.com,2011-11-04:Comment/453657702018-08-03T14:04:25Z2018-08-03T14:04:25ZAutomated configuration (by script)<div><p>Are you on macOS 10.13.6? We briefly tested this and it worked as expected here. Sorry, but I have to ask the obvious: Did you close and relaunch System Preferences > GPG Suite Preferences after applying the command?</p></div>Steve