Actually I made a typo and the segment of code that should have exported a
resource was never invoked.  When I fixed the typo I know get:

Error: Could not retrieve catalog from remote server: Error 400 on SERVER:
Puppet::Parser::AST::Resource failed with error ArgumentError: Invalid
resource type remotemaster at
/etc/puppet/environments/POC/modules/puppet/manifests/master.pp:106 on node
mtinjacn02.nvp.cip.att.com
Warning: Not using cache on failed catalog
Error: Could not retrieve catalog; skipping run

"remotemaster" is the define I put together using the pattern
define registerhost() {
         include parms
         concat::fragment("$fqdn fragment":
               content => "${fqdn}",
               target=>"${parms::filenmae}"
          }
}


I guess you can't export such a thing?


On Thu, Mar 26, 2015 at 1:46 PM Felix Frank <felix.fr...@alumni.tu-berlin.de>
wrote:

> On 03/26/2015 05:29 PM, Peter Berghold wrote:
> >
> > I watched the puppetdb log and it would seem something is being written
> > to puppetdb and puppetdb is the backend for storeconfigs.
>
> Have you tried actually querying the PuppetDB contents?
>
> https://docs.puppetlabs.com/puppetdb/latest/api/query/v2/resources.html
>
> --
> 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/551445C5.7060102%40alumni.tu-berlin.de.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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/CAArvnv0DR0U--NvE%3DDqFc4knZbq9b-QN1gEBefjXGqrZgZ0HKA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to