On Jun 22, 2009, at 1:25 AM, Michael Semcheski wrote:
>
> Hello,
>
> I'm building some modules for a standalone client. At some point, it
> may be that this machine will get its configuration from a
> puppetmaster, but for now its not necessary.
>
> One thing that is giving me fits is that I can't figure out what to
> use as a file's source. If I use puppet:// or file://, then puppet
> says it can't find the filebucket. (which doesn't surprise me -
> there's no server to connect to.) On the other hand, if I just say
> source => "exim/files/exim.conf", for example, it says err: Could not
> create... Parameter source failed: Got other URL type ''...
>
> So I would imagine this is something well settled, but I'm baffled.
> I'd like to find a way to get this to work with the standalone client,
> preferably through puppet.conf or fileserve.conf, so that if this
> module is later running on a puppetmaster, it still works.
>
> Any thoughts? Thanks,
>
> Mike
Did you try using:
source => "puppet:///filehere"
And then put that file in the file directory of the module?
Regards
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Puppet Users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/puppet-users?hl=en
-~----------~----~----~----~------~----~------~--~---