Skip to content
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

Warning: Unknown variable #86

Open
rgarrigue opened this issue Jun 26, 2017 · 1 comment
Open

Warning: Unknown variable #86

rgarrigue opened this issue Jun 26, 2017 · 1 comment

Comments

@rgarrigue
Copy link

Hello

Using latest 1.7.3 version of the module with puppet 4.10.4, I've those warning

==> test.vagrant.local: Warning: Unknown variable: '::http_proxy'. at /etc/puppetlabs/code/environments/production/modules/wget/manifests/fetch.pp:60:19
==> test.vagrant.local: Warning: Unknown variable: '::https_proxy'. at /etc/puppetlabs/code/environments/production/modules/wget/manifests/fetch.pp:65:20
==> test.vagrant.local: Warning: Unknown variable: 'schedule'. at /etc/puppetlabs/code/environments/production/modules/wget/manifests/fetch.pp:184:20
==> test.vagrant.local: Warning: Unknown variable: '::http_proxy'. at /etc/puppetlabs/code/environments/production/modules/wget/manifests/fetch.pp:60:19
==> test.vagrant.local: Warning: Unknown variable: '::https_proxy'. at /etc/puppetlabs/code/environments/production/modules/wget/manifests/fetch.pp:65:20
==> test.vagrant.local: Warning: Unknown variable: 'schedule'. at /etc/puppetlabs/code/environments/production/modules/wget/manifests/fetch.pp:184:20
==> test.vagrant.local: Warning: Unknown variable: '::http_proxy'. at /etc/puppetlabs/code/environments/production/modules/wget/manifests/fetch.pp:60:19
==> test.vagrant.local: Warning: Unknown variable: '::https_proxy'. at /etc/puppetlabs/code/environments/production/modules/wget/manifests/fetch.pp:65:20
==> test.vagrant.local: Warning: Unknown variable: 'schedule'. at /etc/puppetlabs/code/environments/production/modules/wget/manifests/fetch.pp:184:20

Best regards,

@TJM
Copy link

TJM commented Aug 21, 2018

It looks to me like we need to remove the "$strict" restriction. There is no reason to try to set that if it is not defined, $strict or not.

Example: https://github.com/voxpupuli/puppet-wget/blob/v1.7.3/manifests/fetch.pp#L57-L66

~tommy

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants