No description
  • Go 88.1%
  • Shell 5.9%
  • Makefile 2.1%
  • HTML 2%
  • HCL 1.9%
Find a file
OpenTofu Core Development Team 5c51eac0af Apply GitHub workflow changes
2025-11-18 12:21:39 +02:00
.github Apply GitHub workflow changes 2025-11-18 12:21:39 +02:00
cobbler vendor: Updating to Terraform v0.12 (#26) 2019-06-07 09:06:15 -06:00
scripts Fix Changelog Links Script for cobbler provider 2017-06-26 09:49:12 -05:00
vendor vendor: Updating to Terraform v0.12 (#26) 2019-06-07 09:06:15 -06:00
website Docs: Fixing Profile docs (#18) 2018-10-08 11:29:43 -06:00
.gitignore Updating Makefile + Add gitignore 2017-06-06 16:26:31 -04:00
.go-version provider: Ensured Go 1.11 in TravisCI and README 2019-03-01 15:58:23 -05:00
.travis.yml deps: use go modules for dep mgmt 2019-03-01 15:58:30 -05:00
CHANGELOG.md Cleanup after v1.1.0 release 2019-06-07 15:22:52 +00:00
GNUmakefile deps: use go modules for dep mgmt 2019-03-01 15:58:30 -05:00
go.mod vendor: Updating to Terraform v0.12 (#26) 2019-06-07 09:06:15 -06:00
go.sum vendor: Updating to Terraform v0.12 (#26) 2019-06-07 09:06:15 -06:00
LICENSE initial commit 2017-06-05 20:53:56 +00:00
main.go Initial transfer of provider code 2017-06-06 11:40:25 -04:00
README.md provider: Require Go 1.11 in TravisCI and README (#19) 2019-01-09 20:55:55 -07:00

Terraform Provider

Requirements

  • Terraform 0.10.x
  • Go 1.11 (to build the provider plugin)

Building The Provider

Clone repository to: $GOPATH/src/github.com/terraform-providers/terraform-provider-cobbler

$ mkdir -p $GOPATH/src/github.com/terraform-providers; cd $GOPATH/src/github.com/terraform-providers
$ git clone git@github.com:terraform-providers/terraform-provider-cobbler

Enter the provider directory and build the provider

$ cd $GOPATH/src/github.com/terraform-providers/terraform-provider-cobbler
$ make build

Using the provider

Fill in for each provider

Developing the Provider

If you wish to work on the provider, you'll first need Go installed on your machine (version 1.11+ is required). You'll also need to correctly setup a GOPATH, as well as adding $GOPATH/bin to your $PATH.

To compile the provider, run make build. This will build the provider and put the provider binary in the $GOPATH/bin directory.

$ make bin
...
$ $GOPATH/bin/terraform-provider-cobbler
...

In order to test the provider, you can simply run make test.

$ make test

In order to run the full suite of Acceptance tests, run make testacc.

Note: Acceptance tests create real resources, and often cost money to run.

$ make testacc