puppetlabs-stdlib/spec
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
..
lib/puppet_spec Copied function test scaffolding from puppet. 2011-06-29 12:25:43 +01:00
monkey_patches Copied function test scaffolding from puppet. 2011-06-29 12:25:43 +01:00
unit Make file_line default to ensure => present 2012-05-10 22:04:58 -07:00
spec.opts Copied function test scaffolding from puppet. 2011-06-29 12:25:43 +01:00
spec_helper.rb Fix spec tests using the new spec_helper 2012-05-10 22:04:58 -07:00
watchr.rb (Maint) Add watchr autotest script 2011-10-10 12:03:57 -07:00