You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I enabled the firewall using the following code but received an error.
class { 'jenkins':
configure_firewall => false,
}
include jenkins::master
Error: Failed to apply catalog: Parameter dport failed on Firewall[500 allow Jenkins inbound traffic]: Munging failed for value "undef" in class dport: no such service undef/tcp at /etc/puppetlabs/puppet/modules/jenkins/manifests/firewall.pp:16
Wrapped exception:
Munging failed for value "undef" in class dport: no such service undef/tcp
the firewall module is using $::jenkins::port but I don't see that defined.
The text was updated successfully, but these errors were encountered:
@rtyler I think it's because strict_variables is set to true in my environment - you can override the value in hiera, but with strict_variables on, if it's not explicitly undefined, compilation fails.
Hi,
I enabled the firewall using the following code but received an error.
class { 'jenkins':
configure_firewall => false,
}
include jenkins::master
Error: Failed to apply catalog: Parameter dport failed on Firewall[500 allow Jenkins inbound traffic]: Munging failed for value "undef" in class dport: no such service undef/tcp at /etc/puppetlabs/puppet/modules/jenkins/manifests/firewall.pp:16
Wrapped exception:
Munging failed for value "undef" in class dport: no such service undef/tcp
the firewall module is using $::jenkins::port but I don't see that defined.
The text was updated successfully, but these errors were encountered: