Support deferred deployment

Review Request #179 - Created Aug. 4, 2015 and submitted

Information
Stephen Gallagher
rolekit
master
1
193, 178
31ff7a0...
Reviewers
rolekit
mitr, nphilipp, sgallagh, twoerner

We want to be able to support configuring role deployments during
automated system setup (such as Anaconda kickstart for Fedora and
Red Hat Enterprise Linux systems). With this patch, we add a
--deferred argument to 'rolectl deploy'. This will cause a one-
time systemd service unit to be created and configured to run at
the first boot.

This service unit will execute the real 'rolectl deploy' after the
network is online and will process the role deployment, then
delete the temporary files. These files will not be deleted in the
event of an error.

Fixes https://github.com/libre-server/rolekit/issues/1

Deployed the memcache role with --next-boot. Tested it by doing 'systemctl start deferred-role-deployment-memcache-name.service'

Issues

  • 0
  • 6
  • 0
  • 6
Description From Last Updated
Stephen Gallagher
Thomas Woerner
Stephen Gallagher
Thomas Woerner
Stephen Gallagher
Thomas Woerner
Stephen Gallagher
Thomas Woerner
Thomas Woerner
Stephen Gallagher
Thomas Woerner
Stephen Gallagher
Thomas Woerner
Stephen Gallagher
Stephen Gallagher
Stephen Gallagher
Stephen Gallagher
Thomas Woerner
Stephen Gallagher
Review request changed

Status: Closed (submitted)

Loading...