So the problem ended up being the python module - it was not the latest 
version and it was adding custom resources which ignored what is in the 
global config.

The 3 files which were causing the problems were;
python_version.rb
pip_version.rb
virtualenv_version.rb

The newer version have a statement like this in them - which resolves my 
issues.

https://github.com/stankevich/puppet-python/blob/master/lib/facter/pip_version.rb

if Gem::Version.new(facter_puppet_version) >= Gem::Version.new('3.6')
> pkg = Puppet::Type.type(:package).new(:name => 'python', :allow_virtual => 
> 'false')
> else
> pkg = Puppet::Type.type(:package).new(:name => 'python') 
> end 


Hope if someone else is having these problems it may help them.

Cheers
David 

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to puppet-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/fe0e9ede-8fad-4b16-8cb0-bdb8aae2a8c0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to