puppetlabs-stdlib/spec/unit
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 Merge pull request #44 from jeffmccune/ticket/2.3.x/12357_add_puppet_settings_facts 2012-03-06 17:14:35 -08:00
puppet Make file_line default to ensure => present 2012-05-10 22:04:58 -07:00