Hello together,

we change from Puppet 3 to Puppet 4. In some of our Modules, we get Error 
message while the node is retrieving the catalog from the master server.

It always said:

Error: Could not retrieve catalog from remote server: Error 500 on SERVER: 
Serve
r Error: Evaluation Error: Error while evaluating a Resource Statement, 
Evaluati
on Error: A substring operation does not accept a String as a character 
index. E
xpected an Integer at /etc/puppetlabs/code/environments/development/modules/
inst
all_oracle12cdriver/manifests/init.pp:6:19 on node testnode01.testdomain.de
Warning: Not using cache on failed catalog
Error: Could not retrieve catalog; skipping run

Its hears a little bit likes this, but i dont see a solution... 
https://tickets.puppetlabs.com/browse/PUP-6480

A module where this happens for example:

class install_oracle12cdriver{

    package { 'oracle12cdriver':
        ensure => installed,
        provider => 'chocolatey',
        require => file['c:/Oracle', 'c:/Oracle/client.rsp'],
        source => 'http://choco01/chocorepo/chocolatey/',
    }

    file { 'c:/Oracle/client.rsp':
        source => 'puppet:///modules/install_oracle12cdriver/client.rsp',
        source_permissions => ignore,
    }

    file { 'c:/Oracle':
        ensure => 'directory',
        source_permissions => ignore,
    }
}


Does anyone know what i can do? Its totaly strange to me. In Puppet 3 
everything works fine.

Thanks for any help

best regards

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/dddc2816-5f35-45cc-b61d-7fe0a033a090%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to