github.com/cloudbase/juju-core@v0.0.0-20140504232958-a7271ac7912f/upgrades/steps118.go (about)

     1  // Copyright 2014 Canonical Ltd.
     2  // Licensed under the AGPLv3, see LICENCE file for details.
     3  
     4  package upgrades
     5  
     6  // stepsFor118 returns upgrade steps to upgrade to a Juju 1.18 deployment.
     7  func stepsFor118() []Step {
     8  	return []Step{
     9  		&upgradeStep{
    10  			description: "make $DATADIR/locks owned by ubuntu:ubuntu",
    11  			targets:     []Target{HostMachine},
    12  			run:         ensureLockDirExistsAndUbuntuWritable,
    13  		},
    14  		&upgradeStep{
    15  			description: "generate system ssh key",
    16  			targets:     []Target{StateServer},
    17  			run:         ensureSystemSSHKey,
    18  		},
    19  		&upgradeStep{
    20  			description: "update rsyslog port",
    21  			targets:     []Target{StateServer},
    22  			run:         updateRsyslogPort,
    23  		},
    24  		&upgradeStep{
    25  			description: "install rsyslog-gnutls",
    26  			targets:     []Target{AllMachines},
    27  			run:         installRsyslogGnutls,
    28  		},
    29  		&upgradeStep{
    30  			description: "remove deprecated attribute values",
    31  			targets:     []Target{StateServer},
    32  			run:         processDeprecatedAttributes,
    33  		},
    34  	}
    35  }