On Apr 9, 1:14 pm, Jeff McCune <j...@puppetlabs.com> wrote: > On Mon, Apr 9, 2012 at 12:57 PM, harveyzh <zh.jli...@gmail.com> wrote: > > Shantanu: > > > There is a related thread - "stdlib module not working" - : > > Yes, I think the take away from that thread as it relates to this issue is > to specify: > > file_line { '/tmp/dansfile': > ensure => present, > ... > > } > > The other issue you mentioned with functions appears to be an separate > issue. I believe Puppet 2.6 has problems loading functions from modules if > you're using puppet apply instead of puppet agent with pluginsync. > > Please try Puppet 2.7 if you'd like to use puppet apply with stdlib in the > modulepath. > > Hope this helps, > -Jeff McCune
Thanks for the help - harveyzh and Jeff. It's working fine after I added 'ensure => present' line to the manifest. The issue with functions is resolved as well. I had typos in couple of function names that I had tried and hence it was returning 'unknown function' error. It worked fine for me with 'puppet apply' as well. -- Shantanu -- 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.