terraform/builtin/providers/ignition
Jake Champlin f458feb055
provider/ignition: Fix systemd unit errors
According to the coreos [documentation](https://coreos.com/ignition/docs/latest/configuration.html), systemd units only require the name attribute per each unit. This can also be validated with the CoreOS config validator. This change allows the `ignition_systemd_unit` resource to no longer fail if given an empty `content` and `dropin`.

Also adds a test to cover this use case.
2017-01-21 00:28:04 -05:00
..
provider.go provider/ignition: allowing empty systemd.content when a dropin is provided (#11216) 2017-01-17 11:49:45 +00:00
provider_test.go provider/ignition: allowing empty systemd.content when a dropin is provided (#11216) 2017-01-17 11:49:45 +00:00
resource_ignition_config.go Ignition provider (#6189) 2017-01-03 11:29:14 +00:00
resource_ignition_config_test.go provider/ignition: Fix systemd unit errors 2017-01-21 00:28:04 -05:00
resource_ignition_disk.go Ignition provider (#6189) 2017-01-03 11:29:14 +00:00
resource_ignition_disk_test.go Ignition provider (#6189) 2017-01-03 11:29:14 +00:00
resource_ignition_file.go Ignition provider (#6189) 2017-01-03 11:29:14 +00:00
resource_ignition_file_test.go Ignition provider (#6189) 2017-01-03 11:29:14 +00:00
resource_ignition_filesystem.go Ignition provider (#6189) 2017-01-03 11:29:14 +00:00
resource_ignition_filesystem_test.go Fix vet errors in providers 2017-01-13 17:31:44 -05:00
resource_ignition_group.go Ignition provider (#6189) 2017-01-03 11:29:14 +00:00
resource_ignition_group_test.go Ignition provider (#6189) 2017-01-03 11:29:14 +00:00
resource_ignition_networkd_unit.go provider/ignition: allowing empty systemd.content when a dropin is provided (#11216) 2017-01-17 11:49:45 +00:00
resource_ignition_networkd_unit_test.go Ignition provider (#6189) 2017-01-03 11:29:14 +00:00
resource_ignition_raid.go Ignition provider (#6189) 2017-01-03 11:29:14 +00:00
resource_ignition_raid_test.go Fix vet errors in providers 2017-01-13 17:31:44 -05:00
resource_ignition_systemd_unit.go provider/ignition: Fix systemd unit errors 2017-01-21 00:28:04 -05:00
resource_ignition_systemd_unit_test.go provider/ignition: Fix systemd unit errors 2017-01-21 00:28:04 -05:00
resource_ignition_user.go Ignition provider (#6189) 2017-01-03 11:29:14 +00:00
resource_ignition_user_test.go Fix vet errors in providers 2017-01-13 17:31:44 -05:00