Hi,

A little love about my bug? Am I the only one with this problem or are we
thousand :D ?

On Tue, Apr 17, 2012 at 10:57 PM, Antidot SAS <antidot...@gmail.com> wrote:

> Hi everyone,
>
>
>
> I am using puppet setup with gem:
> ------------------------------------------------------
> root@linux-install:/tmp# facter |egrep -i "pupp|lsbdistdescription"
>
>
> lsbdistdescription => Debian GNU/Linux 6.0.4 (squeeze)
> puppetversion => 2.7.9
> root@linux-install:/tmp# gem list puppet
>
> *** LOCAL GEMS ***
>
> puppet (2.7.9)
> ------------------------------------------------------
>
> I think I found a bug but was not able to see if it was declared, here is
> the puppet file:
>
> root@linux-install:/tmp# cat test.pp
> $string = 'A bug?
> '
>
>
> $test_var = 'test'
>
> file { '/tmp/bug':
>         path    => '/tmp/bug',
>         ensure  => present,
>         content => template('test.erb'),
> }
> root@linux-install:/tmp# cat /etc/puppet/templates/test.erb
> # puppet file
> # Here is a sample
> Here is a value: <%= test_var %>
> root@linux-install:/tmp# puppet apply test.pp
>
>
> notice: /Stage[main]//File[/tmp/bug]/ensure: created
> notice: Finished catalog run in 0.21 seconds
> root@linux-install:/tmp# cat /tmp/bug
>
>
> A bug?
> root@linux-install:/tmp#
>
>
> Is that normal? Bug?
>
>
> Regards,
> JM
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to puppet-users@googlegroups.com.
To unsubscribe from this group, send email to 
puppet-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.

Reply via email to