-
Notifications
You must be signed in to change notification settings - Fork 313
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
Lookup of key 'lookup_options' failed: Data Provider type mismatch: Got String when a hash-like object was expected to access value using 'release' from key 'os.release.full' #122
Comments
@dhose |
@dhose by default the package name is set to Your manifest should only require the following
|
Hi, Thanks for your answers. I just changed the manifest to:
but I still get the same error:
I'm wondering if this could be related to either facter och hiera versions, but I haven't seen this error with any of the other forge modules we use in our Puppetfile, and as I mentioned in the intial post I have disabled all modules in Puppetfile except |
@dhose Does puppet complete a catalogue run if the Docker class is not applied to it? |
Thanks for your answer! Yes, it works if I comment out the Docker class in the manifest. As mentioned earlier we are also using I'm going to start testing with different Puppet/Facter versions, if it is something there, in combination with this module, that triggers this issue. I'm also going to check if I can find a commit where this issue starts appearing. Thanks again! |
Does that facter value resolve when you run it on the server?
Dave
…On Sat, 20 Jan 2018 at 8:59 pm, dhose ***@***.***> wrote:
@scotty-c <https://github.com/scotty-c>
Thanks for your answer!
Yes, it works if I comment out the Docker class in the manifest. As
mentioned earlier we are also using garethr-docker in a different Puppet
environment, and we are not seeing this issue there.
I'm going to start testing with different Puppet/Facter versions, if it is
something there, in combination with this module, that triggers this issue.
Thanks again!
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#122 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AB-NcXf09Rng-yZKhroRXjs3auHYkT7Nks5tMbkZgaJpZM4RkI_p>
.
|
I tried the following:
I have also done some git bisecting and the first commit where this issue appears in is 9f9b0ae. I can see in this commit that a string parameter in Could this be relevant? |
Can you provide a gist of the log output with verbose and debug turned on? I've just upgraded a vagrant box the the same kernel version as yours as run puppet without any issues. If you remove the string type from the variable does the run then pass? |
I removed the string type from the You can find a gist with verbose and debug logging enabled here: https://gist.github.com/dhose/3d343fd56ee9a9bca42ceddb9017c748 Thanks again! |
Hi, I just tried the master-branch. Great success, it works. I just had to add the
Thanks a lot for your help. 👍 |
@dhose thanks for persevering, and letting us know it solved the problem. |
Hi,
Currenly we are using
garethr-docker
forge module, which works fine, but we are having issues with garethr/garethr-docker#701, so therefore I'm in the process of changing topuppetlabs-docker
instead.Unfortunately I'm seeing an issue I have problem pinpointing. My test server is using only the
profile::docker
manifest with a Puppetfile just containingpuppetlabs-docker
andpuppetlabs-stdlib
. When the Puppet agent tries to apply the catalog it logs th error below. I found https://tickets.puppetlabs.com/browse/MODULES-4103, but not sure if it is relevant to this issue. I have tried the1.0.4
version and themaster
branch, but the same error with both.For info, the
include profile::yum::docker_ce
below just adds our internal YUM repository with the Docker CE RPMs.Has anyone seen this issue and can point me in the right direction?
CentOS release
Puppet version
Facter version
Puppetfile
Puppet manifest
Puppet log
The text was updated successfully, but these errors were encountered: