Smalyshev created this task. Smalyshev assigned this task to Joe. Smalyshev added a subscriber: Smalyshev. Smalyshev added projects: operations, Wikidata-Query-Service. Herald added subscribers: Matanya, Aklapper. Herald added projects: Wikidata, Discovery.
TASK DESCRIPTION When deploying Wikidata Query Service, the updater service (`wdqs-updater`) needs to be stopped initially. After the dump data is loaded, it should be manually started and then be in started state. However, puppet class `base::system_unit` does not allow to do this as far as I can see. If I use definition like this: ``` base::service_unit { 'wdqs-updater': template_name => 'wdqs-updater', systemd => true, require => [ File["${package_dir}/updater-logs.xml"], Class['::wdqs::service'], Service['wdqs-blazegraph'], ], service_params => { enable => false, }, } ``` The the service will be started by puppet. If I add `ensure => stopped` it will always stop the service. There seems to be no way to describe manual operation of the service using `base::system_unit`. Any suggestions on how to achieve this are welcome. See also: https://gerrit.wikimedia.org/r/#/c/223663/ TASK DETAIL https://phabricator.wikimedia.org/T105749 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Joe, Smalyshev Cc: Aklapper, Matanya, Smalyshev, jkroll, Wikidata-bugs, Jdouglas, RobH, aude, Manybubbles, mark, JanZerebecki, faidon, fgiunchedi, Dzahn, chasemp, Malyacko, Krenair, P.Copp _______________________________________________ Wikidata-bugs mailing list Wikidata-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs