Hi Team,
I am not able to use the global variable on Puppet 4.7 version its throwing `Cannot reassign variable`, the same thing was working smoothly on Puppet 3.8 Version.
The below code used to work smoothly on Puppet 3.8 version, when I have migrated to Puppet 4.7 its throwing the below error.
Could not retrieve catalog from remote server: Error 500 on SERVER: Server Error: Evaluation Error: Error while evaluating a Resource Statement, Cannot reassign variable '$module_name' at /etc/puppetlabs/code/modules/tarball/manifests/init.pp:1 at /etc/puppetlabs/code/modules/pbis/manifests/init.pp:5 on node
Class example, I have used the "include" to run the classes in a specific order
class ubuntu {
include pbis
include certs
include anyconnect
include ifupvpn
Class['pbis'] -> Class['certs'] -> Class['anyconnect'] -> Class['ifupvpn']
}
Can you please guide me on where I am missing.
Regards,
Kranthi
↧