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've created a new "wls_jdbc_persistence_store" custom type in orawls, which is copy of "wls_file_persistence_store" with the necessary WLST changes, and I'm getting the following error on the puppet agent...
Error: Could not retrieve catalog from remote server: Error 400 on SERVER: Could not autoload puppet/type/wls_jdbc_persistence_store: file puppet/type/wls_jdbc_persistence_store/jdbc_persistence_name not found on node xxxx
Warning: Not using cache on failed catalog
Error: Could not retrieve catalog; skipping run
I've rebuilt the orawls module to update the checksums.json file, and the files are being copied across to the puppet agent.
Ok,
Did you re-start all the puppet master services and did a puppet run on the master.
Else Can you send me your code to biemond at gmail dot com or send me a pull request and I will take a look
I like to develop in one of the vagrant boxes , no master and easy to try it and you can make mistakes.
Plus under root I use puppet resource xxxx --trace --debug which is a great utility to test index.py and your config
Last tip look at the parameters they can be of type property of param. Param can be used by the resource like password or t3 url and property is something of the resource and you can retrieve it.
I've created a new "wls_jdbc_persistence_store" custom type in orawls, which is copy of "wls_file_persistence_store" with the necessary WLST changes, and I'm getting the following error on the puppet agent...
Error: Could not retrieve catalog from remote server: Error 400 on SERVER: Could not autoload puppet/type/wls_jdbc_persistence_store: file puppet/type/wls_jdbc_persistence_store/jdbc_persistence_name not found on node xxxx
Warning: Not using cache on failed catalog
Error: Could not retrieve catalog; skipping run
I've rebuilt the orawls module to update the checksums.json file, and the files are being copied across to the puppet agent.
wls_file_persistence_store
[root@xxxx ~]# find /var/lib/puppet/lib -type f -exec grep -i file_persistence_store {} ; -print
newtype(:wls_file_persistence_store) do
environment = { 'action' => 'index', 'type' => 'wls_file_persistence_store' }
wlst template('puppet:///modules/orawls/providers/wls_file_persistence_store/index.py.erb', binding), environment
template('puppet:///modules/orawls/providers/wls_file_persistence_store/create.py.erb', binding)
template('puppet:///modules/orawls/providers/wls_file_persistence_store/modify.py.erb', binding)
template('puppet:///modules/orawls/providers/wls_file_persistence_store/destroy.py.erb', binding)
/var/lib/puppet/lib/puppet/type/wls_file_persistence_store.rb
Puppet::Type.type(:wls_file_persistence_store).provide(:simple) do
/var/lib/puppet/lib/puppet/provider/wls_file_persistence_store/simple.rb
wls_jdbc_persistence_store
[root@xxxx ~]# find /var/lib/puppet/lib -type f -exec grep -i jdbc_persistence_store {} ; -print
newtype(:wls_jdbc_persistence_store) do
environment = { 'action' => 'index', 'type' => 'wls_jdbc_persistence_store' }
wlst template('puppet:///modules/orawls/providers/wls_jdbc_persistence_store/index.py.erb', binding), environment
template('puppet:///modules/orawls/providers/wls_jdbc_persistence_store/create.py.erb', binding)
template('puppet:///modules/orawls/providers/wls_jdbc_persistence_store/modify.py.erb', binding)
template('puppet:///modules/orawls/providers/wls_jdbc_persistence_store/destroy.py.erb', binding)
/var/lib/puppet/lib/puppet/type/wls_jdbc_persistence_store.rb
Puppet::Type.type(:wls_jdbc_persistence_store).provide(:simple) do
/var/lib/puppet/lib/puppet/provider/wls_jdbc_persistence_store/simple.rb
Any ideas what the issue is?
The text was updated successfully, but these errors were encountered: