I've created a very simple type as follows:

Puppet::Type.newtype(:bannerfile) do
  @doc = "Create a text file with banner text"
  ensurable
  newproperty(:name)do
    isnamevar
  end
  newproperty(:bannertext)do
  end
  newproperty(:bannertext2)do
  end


end
doesn't do anything yet, but it is a start.

I'm invoking it from a class thusly:

 bannerfile { "/tmp/bannerfile":
          bannertext => "This would be banner text",
          bannertext2 => $testmodule::config::line2

        }

and when I run the Puppet agent I get:

Error: Could not retrieve catalog from remote server: Error 400 on SERVER:
No set of title patterns matched the title "/tmp/bannerfile"

what on earth is it trying to tell me?

-- 
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/CAArvnv3FN_%2B%3DuQF9f%2BTgSUwXbti-OwFdqDvcOyi2Yi%3D%2BBixU0A%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to