On Thu, Nov 25, 2010 at 2:08 AM, Arnau Bria wrote:
> That gave me the clue!
> From doc, ensure... it talks about possible values: present, absent...
> "Anything other than those values will be considered to be a symlink"
For what it's worth, I consider this a bug.
We should have present, absent
On Wed, 24 Nov 2010 21:13:37 +0100
Stefan Schulte wrote:
Hi all,
I think I get it...
class File default was:
File {
ensure => prsent,
mode=> 644,
owner => root,
group => root,
}
notice prsent... and not present.
^
> I dont think its working
On Wed, Nov 24, 2010 at 05:03:45PM +0100, Arnau Bria wrote:
> On Wed, 24 Nov 2010 07:22:11 -0800 (PST)
> jcbollinger jcbollinger wrote:
>
>
> > On Nov 24, 6:17 am, Ohad Levy wrote:
> Hi !
>
> I'm getting a little crazy with this... I'll paste some code and see if
> you see what's happening...
>
On Wed, 24 Nov 2010 07:39:09 -0800 (PST)
jcbollinger jcbollinger wrote:
>
>
> On Nov 24, 6:17 am, Ohad Levy wrote:
> > You probably have a File statement somewhere (like site.pp) which
> > has a default source or target attributes.
>
> Or, it could be because you have written "name =>" where y
On Wed, 24 Nov 2010 07:22:11 -0800 (PST)
jcbollinger jcbollinger wrote:
> On Nov 24, 6:17 am, Ohad Levy wrote:
Hi !
I'm getting a little crazy with this... I'll paste some code and see if
you see what's happening...
> > You probably have a File statement somewhere (like site.pp) which
> > has
On Nov 24, 5:32 am, Arnau Bria wrote:
[...]
> I tried the example
> fromhttp://docs.puppetlabs.com/references/stable/type.html#filelike
>
> $srt="search mydomain.com \nnameserver 192.168.1.1 \
> \nnameserver192.168.1.2"
>
> file {
>'default_ntp':
> name=> '/etc/ntp.conf',
>
On Nov 24, 6:17 am, Ohad Levy wrote:
> You probably have a File statement somewhere (like site.pp) which has a
> default source or target attributes.
Or, it could be because you have written "name =>" where you want
"path =>". Or you could omit both and simply title your resource with
the path
On Nov 24, 6:17 am, Ohad Levy wrote:
> You probably have a File statement somewhere (like site.pp) which has a
> default source or target attributes.
Right. And if you do then it is certainly wrong, because default
source or target just does not make sense.
If that's not it, then make sure yo