Parcourir la source

make ensure => present the first attribute

ensure should be the first attribute. puppet-lint errors otherwise
Johan Haals il y a 10 ans
Parent
commit
ff98e78c0a
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      README.markdown

+ 1 - 1
README.markdown

@@ -7,11 +7,11 @@ files.  The main resource type is `ini_setting`, which is used to manage an
 individual setting in an INI file.  Here's an example usage:
 
     ini_setting { "sample setting":
+      ensure  => present,
       path    => '/tmp/foo.ini',
       section => 'foo',
       setting => 'foosetting',
       value   => 'FOO!',
-      ensure  => present,
     }
 
 A supplementary resource type is `ini_subsetting`, which is used to manage