puppetlabs-stdlib/lib
Jeff McCune 1373e70639 Make file_line default to ensure => present
The examples in the file_line resource documentation state the following
resource should work:

    file_line { 'sudo_rule':
      path => '/etc/sudoers',
      line => '%sudo ALL=(ALL) ALL',
    }

Without this patch the example does not work because ensure is not set
to present.

This patch fixes the problem by setting the default value of ensure to
present.
2012-05-10 22:04:58 -07:00
..
facter (#13091) Fix LoadError exception with puppet apply 2012-03-13 16:44:21 -07:00
puppet Make file_line default to ensure => present 2012-05-10 22:04:58 -07:00