Commits

Etienne Perot  committed ec87657

Add mode parameter to enduser_file::ini

  • Participants
  • Parent commits d1163db

Comments (0)

Files changed (1)

File modules/enduser_file/manifests/ini.pp

 	$section = '',
 	$setting,
 	$value,
-	$key_val_separator = '='
+	$key_val_separator = '=',
+	$mode = 0600
 ) {
 	if ! defined(Enduser_file[$filename]) {
-		enduser_file {$filename:}
+		enduser_file {$filename:
+			mode => $mode
+		}
 	}
 	ini_setting {"/home/etienne/$filename/$section/$setting":
 		path => "/home/etienne/$filename",