Stefan, Looks related to https://projects.puppetlabs.com/issues/13530, which I just opened.
Make sure you ensure => present in the file_line resource. -Eric -- Eric Shamow Professional Services http://puppetlabs.com/ (c)631.871.6441 On Thursday, March 29, 2012 at 6:17 PM, Dan White wrote: > Why not use host instead of file_line ? > > http://docs.puppetlabs.com/references/latest/type.html#host > > host { 'puppet master host entry': > ip => '172.16.240.200', > name => 'master.dev.puppetlabs.com (http://master.dev.puppetlabs.com)', > host_aliases => ['master'], > } > > On Mar 29, 2012, at 11:08 AM, Stefan Wiederoder wrote: > > > I´m trying to utilize the new stdlib module, but got stuck after > > installation on my puppet server. > > > > I´ve tried to use the included test file file_line.pp on the server, but > > it´s only creating the file - but not managing the content. > > > > the same problem on my clients (the new provider file_line has been > > synced), it´s just not working: > > > > file_line { 'puppet master host entry': > > line => '172.16.240.200 master.dev.puppetlabs.com > > (http://master.dev.puppetlabs.com) master', > > path => '/etc/hosts', > > } > > > > do you have any Ideas what´s wrong? > > > > thanks > > , > > Stefan > > > > > -- > 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 > (mailto:puppet-users@googlegroups.com). > To unsubscribe from this group, send email to > puppet-users+unsubscr...@googlegroups.com > (mailto:puppet-users+unsubscr...@googlegroups.com). > For more options, visit this group at > http://groups.google.com/group/puppet-users?hl=en. > > -- 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.