-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Code from example simple_setup fails to compile #99
Comments
I can workaround the issue by adding the container runtime as a data and look it up for both controller and worker. See this commit. Is there a better way? |
After applying a similar workaround for other common data and turning off puppetdb discovery, it now gives error like this when applying to the controller:
|
Using the example dealing with secrets in bootstrap token is sensitive, node_token is not, I got things to work in my test repo test-voxpupuli-puppet-k8s, but I had to correct a few more things in data\common.yaml (Used Not sure if those deprecation warning can be addressed to still work with older Puppet versions that this repo supports:
|
I tried to fix the same error as #51 but still get
And yes, my token matches the regex above |
Affected Puppet, Ruby, OS and module versions/distributions
How to reproduce (e.g Puppet code you use)
Run
bolt plan run test_voxpupuli_puppet_k8s::myplan --target <host> --user <user> --password <password> type=<type>
in this repo, where<type>
can be eithercontroller
orworker
.Once I get this working, I will provide a PR to fix the example.
What are you seeing
With
type=controller
, the error is:With
type=worker
, the error is:What behaviour did you expect instead
There is no failure.
Output log
With
type=controller
, the output is:With
type=worker
, the output is:Any additional information you'd like to impart
The text was updated successfully, but these errors were encountered: