refactor(systemd): don't allow users to set DropIn=true yet

This commit is contained in:
Jonathan Boulle
2014-05-12 15:20:08 -07:00
parent 31cfad91e3
commit cdee32d245
2 changed files with 26 additions and 2 deletions

View File

@@ -27,7 +27,11 @@ type Unit struct {
Runtime bool
Content string
Command string
DropIn bool // drop-in configuration? if so, a cloudinit.conf will be generated
// For drop-in units, a cloudinit.conf is generated.
// This is currently unbound in YAML (and hence unsettable in cloud-config files)
// until the correct behaviour for multiple drop-in units is determined.
DropIn bool `yaml:"-"`
}
func (u *Unit) Type() string {