Howdy. I''m struggling to access exported resources. I''m on Puppet 3.0.0. I can see that the resources have been exported (I''m not sure why puppet is adding duplicate entries) puppetdb=# select cr.title, rp.name, rp.value from catalog_resources cr join resource_params rp on (rp.resource = cr.resource) where exported is true and lower(title) like ''cctest04%'' and exported is true; title | name | value ---------------------------------------+-------------------+-------------- cctest04 | replset | "test" cctest04 | mongo_server_name | "cctest04" cctest04 | mongo_ipaddress | "10.0.0.201" cctest04 | mongo_sequence | "0" cctest04 | replset | "test" cctest04 | mongo_server_name | "cctest04" cctest04 | mongo_ipaddress | "10.0.0.201" cctest04 | mongo_sequence | "0" cctest04 | replset | "test" cctest04 | mongo_server_name | "cctest04" cctest04 | mongo_ipaddress | "10.0.0.201" cctest04 | mongo_sequence | "0" (12 rows) That''s exported via my mongodb module when i create a new mongo node. Now, I try to access that data from the application''s node: (cctest01) app.pp Mongo::Server_config <<| |>> file { "mongoid.yml": ensure => present, content => template("app/mongoid.yml.erb"), mode => ''0644'', owner => $owner, group => $group, } and in my template I have <%= mongo_ipaddress -%> The error i get is: err: Could not retrieve catalog from remote server: Error 400 on SERVER: Failed to parse template app/mongoid.yml.erb: Filepath: /usr/lib/ruby/vendor_ruby/puppet/parser/templatewrapper.rb Line: 70 Detail: Could not find value for ''mongo_ipaddress'' at /etc/puppet/environments/test/modules/app/templates/mongoid.yml.erb:95 at /etc/puppet/environments/test/modules/app/manifests/app.pp:59 on node cctest01 I would expect the Mongo::Server_config <<| |>> to pick up everything for that type, correct? so mongo_ipaddress should be defined. I''ve tried with @mongo_ipaddress and $ip_address and I don''t get the above error, but i also don''t get data. Any help would be greatly appreciated. Thanks. -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To view this discussion on the web visit https://groups.google.com/d/msg/puppet-users/-/L8RzjiE2oFkJ. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.