On Thursday, April 30, 2015 at 10:38:29 PM UTC-5, bluethundr wrote:
> Yet when I try to run puppet on the client node, I'm getting this result: > > Could not retrieve fact='nr_java_found', resolution='<anonymous>': > undefined method `start_with?' for nil:NilClass > Error: Could not retrieve catalog from remote server: Error 400 on SERVER: > Invalid relationship: Package[php] { notify => Service[apache::service] }, > because Service[apache::service] doesn't seem to be in the catalog > Warning: Not using cache on failed catalog > Error: Could not retrieve catalog; skipping run > > > So just what in the heck am I doing wrong, if I may ask??? > > "apache::service" is the name of a *class*. Evidently it is not the name of a Service resource declared by that class, or by any other from which your catalog is built. It would probably work to notify the class (and if so then that would be the best solution), but it's possible that you'll need to discover the Service's name (probably "httpd") and notify it directly. John -- 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/05495197-e0b4-4744-bea7-ac5cd3595223%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.