On Tuesday, July 30, 2013 10:24:41 PM UTC+1, Tom Hanstra wrote:
>
> I'm running puppet 3.2.3 with the current (4.1.0) stdlib set from 
> puppetlabs.
>
> I'm attempting to use file_line to add a line to a file.  I've dumbed this 
> down to basically the test script:
>
> class hs_puptest1 {
>
>    file { '/tmp/testfile':
>      ensure => present
>    }->
>    file_line { 'test_line':
>      line => 'Some data',
>      path => '/tmp/testfile',
>    }
> }
>
>
> Add

ensure => present

To the file_line resource as well. 

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/puppet-users.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to