Closed hiltonaipfw closed 5 years ago
Hi! Sorry to hear that.
Which distro are you running (version, release,...)?
Those values are set in module data (see common linked below), something not working on your system with data in modules? Most of those params existed before this latest update as well.
https://github.com/saz/puppet-resolv_conf/blob/master/data/common.yaml
You may want to specify a tag/release of the module instead of just looking at master branch so you can test updates before they go live in your environment
@hiltonaipfw Any news?
I'm out of the office right now, so I can't guarantee the releases, but I know the problem exists on RHEL 6 and 7. I'll have more info for you tomorrow.
Sent from my Verizon, Samsung Galaxy smartphone
-------- Original message -------- From: Steffen Zieger notifications@github.com Date: 7/1/18 9:37 AM (GMT-05:00) To: saz/puppet-resolv_conf puppet-resolv_conf@noreply.github.com Cc: Aaron Hilton hiltona@pfw.edu, Mention mention@noreply.github.com Subject: Re: [saz/puppet-resolv_conf] Error while evaluating a Resource Statement upon release of v4.0.0 (#51)
@hiltonaipfwhttps://github.com/hiltonaipfw Any news?
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHubhttps://github.com/saz/puppet-resolv_conf/issues/51#issuecomment-401607509, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AVA8aDkEQ63yiWN3xvxn7eGpQ-lTFZb6ks5uCNCggaJpZM4U9h9y.
@saz - This is verified to be broken on RHEL 6.9, 7.3, 7.4, 7.5, and SLES 11.4.
@mhudson1 - tagging the release has been on my radar for a while, but I've been lucky until now :)
I have tested on RHEL 6.9 and RHEL 7.5 (as well as AIX 7.1 and Solaris 10 and 11) myself without issues. We may need more info to help such as maybe a Puppet run with --debug specified. FYI, I am the person that submitted PR #50, I am logged in with a different account than I submitted it with.
One other thing you may want to check, you should look on your master and ensure the module is downloaded with the same content as the source. Based on your original error output you should find the module at /etc/puppetlabs/code/environments/production/modules/resolv_conf and you should verify that module has a "data" folder and that the contents of data/common.yaml has the same data as the link I posted earlier. This will at least verify you have the default data the module should be looking for.
@hiltonaipfw I'm also able to confirm that this is working as expected. As @mhudson1 suggested, can you please provide the output of a puppet run with --debug set?
hi there! I can confirm that I have the same issue as the original poster.
I'm using debian stretch with debian packages for puppet, so puppet 4.8.2
I can see that this is caused by "data in module" not being supported up until puppet 4.10, hence a couple of parameters not getting their default values.
so the compatibility tag for puppet should be bumped to 4.10
Good afternoon! My Puppet server picked up the new release of the resolv_conf module today, and immediately started throwing the following error when it ran
Error: Could not retrieve catalog from remote server: Error 500 on SERVER: Server Error: Evaluation Error: Error while evaluating a Resource Statement, Evaluation Error: Error while evaluating a Resource Statement, Class[Resolv_conf]: expects a value for parameter 'config_file' expects a value for parameter 'config_template' expects a value for parameter 'use_resolvconf' expects a value for parameter 'update_cmd' expects a value for parameter 'package' expects a value for parameter 'manage_package' expects a value for parameter 'package_ensure' at /etc/puppetlabs/code/environments/production/site/profile/manifests/dns_config.pp:4:3 on node aarontest.ipfw.edu
My manifest is pretty simple and worked porperly before the update.
`class profile::dns_config {
class { 'resolv_conf': nameservers => ['149.164.1.13'], domainname => 'ipfw.edu', } }`
Any suggestions? I'm on Puppet Enterprise 2016.4 (Puppet 4.7.0). Thanks!