Skip to content

Releases: terraform-coop/terraform-provider-foreman

v0.7.0

21 Aug 15:23
6476e20
Compare
Choose a tag to compare

What's Changed

  • Fix content views and content view filters by @bitkeks in #157
  • fix(repositories): Handle download_concurrency missing API return value by @bitkeks in #177
  • Add computeresources to hostgroups. by @vhsantos in #175
  • Add missing "description" params to resources and data. by @vhsantos in #173
  • fix(docs): Update all docs to state of 300dee2… by @bitkeks in #181
  • fix(host_interface_attributes): Add error handling to if attrs by @bitkeks in #180

New Contributors

Full Changelog: v0.6.3...v0.7.0

v0.7.0-rc.1

11 Aug 12:21
300dee2
Compare
Choose a tag to compare
v0.7.0-rc.1 Pre-release
Pre-release

What's Changed

  • Fix content views and content view filters by @bitkeks in #157
  • fix(repositories): Handle download_concurrency missing API return value by @bitkeks in #177
  • Add computeresources to hostgroups. by @vhsantos in #175
  • Add missing "description" params to resources and data. by @vhsantos in #173

New Contributors

Road map to v0.7.0

  • error creating contentview resource (#165)
  • Compatibility issue makes plugin crash: "panic: interface conversion: interface {} is nil, not string" (#160, fix in #180)
  • Creating the full documentation with autodoc from latest master branch (#181)

Full Changelog: v0.6.3...v0.7.0-rc.1

v0.6.3

08 Jun 12:36
@lhw lhw
Compare
Choose a tag to compare

What's Changed

  • Bump golang.org/x/net from 0.0.0-20211112202133-69e39bad7dc2 to 0.17.0 by @dependabot in #135
  • Bump google.golang.org/grpc from 1.48.0 to 1.56.3 by @dependabot in #137
  • Fixes for Katello repositories and sync_plans by @bitkeks in #143
  • Bump golang.org/x/crypto from 0.14.0 to 0.17.0 by @dependabot in #145
  • Update README.md by @bitkeks in #144
  • Add job templates TF resource (+data res) with API calls by @bitkeks in #138
  • fix foreman requirements (README) by @togoschi in #147
  • Implement Katello lifecycle environments resource and data source by @bitkeks in #149
  • Fix Katello product resource API call by @bitkeks in #142
  • Katello content_views: add CV and CCV by @bitkeks in #150
  • Bump google.golang.org/protobuf from 1.30.0 to 1.33.0 by @dependabot in #156
  • chore: Update build system by @lhw in #155

New Contributors

Full Changelog: v0.6.2...v0.6.3

v0.6.2

28 Aug 08:22
3ffdb13
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.6.1...v0.6.2

v0.6.1

15 Aug 13:52
cca022e
Compare
Choose a tag to compare

With this release v0.6.1 we have reached a stable new minor version for the Foreman Terraform provider 🎉

Important changes in v0.6.0 and v0.6.1

Starting with v0.6.0 some (breaking) changes require an update of Terraform manifests.

Host: build flag

The host build argument was removed (0.6.0) and is replaced by set_build_flag. (0.6.1)

  • The reason behind this change is complex and was thoroughly discussed in #125
  • Using the argument does one thing: it tells Foreman to set the build flag for a host. It defaults to false, setting it to true causes the host to be re-installed on next boot (network-based installation).

Host: method argument

The method argument is re-introduced as provision_method. It can be either build (network-based) or image (image-based).

  • Both options require different additional arguments, e.g the image to be used. See examples/host/.

Host: name argument

The host name argument was considered for deprecation (in 0.6.0, reverted in 0.6.1).

  • The name attribute has issues based on the "append_domain_name" setting in Foreman. It causes "inconsistent plan" errors when you give it a shortname as value, Terraform receives an FQDN back, and the name attribute is then used in variables in other places in your Terraform manifests.
  • In 0.6.1 the name attribute is not marked as deprecated and can still be used without errors. We added compatibility functions to reduce inconsistency errors, should you continue to use name
  • As an alternative, the shortname argument can be used instead. It is meant for the hostname without the domain part. If you use name as input argument, shortname will be filled by the provider automatically.
  • To get the host's FQDN from the provider, use the read-only attribute fqdn. (0.6.1)
  • Use shortname and fqdn as variables in your manifests! Example: other_server = foreman_host.other_server.fqdn. This will prevent you from running into inconsistent plans.

What's Changed in v0.6.1

  • Update the docs to no longer reference removed 'build' parameter by @tnorris in #127
  • Add more fields to Foreman host by @bitkeks in #123
  • foreman_host: Replace the "name" attribute with "fqdn" (computed) and "shortname" (required) by @bitkeks in #121
  • Implement settings API as data source by @bitkeks in #120
  • Re-add ability to set build flag (via set_build_flag argument) by @bitkeks in #131
  • Add compatibility to "name" argument by @bitkeks in #132

New Contributors

Full Changelog: v0.6.0...v0.6.1

v0.6.0

30 Jun 12:55
2e2fe78
Compare
Choose a tag to compare

What's Changed

  • Remove build flag and re-introduce provision method attribute by @bitkeks in #122

Full Changelog: v0.5.8...v0.6.0

v0.5.8

30 Jan 10:54
4a410d1
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v0.5.7...v0.5.8

v0.5.7

07 Nov 21:19
Compare
Choose a tag to compare

What's Changed

  • Fix nested puppetclasses. Add test for verification by @lhw in #99
  • Fix gofmt warnings and actual warnings by @lhw in #100
  • update sdk. might fix intermittent resource conversion issues by @lhw in #101
  • Add build token attribute to host resource by @agriffit79 in #97

Full Changelog: v0.5.6...v0.5.7

v0.5.6

29 Aug 20:56
@lhw lhw
98ca6dd
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.5.4...v0.5.6

v0.5.4

12 Jul 20:58
e9c589f
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.5.1...v0.5.4