Well, even if it is expecting an array...

"passwd[support]" string => "support:x:301:301:Remote Support 
User,,,:$(home):/bin/bash",
comment => "/etc/passwd line for support user",
handle => "support_vars_passwd_support";
"shadow[support]" string => 'support:$(shadow):14939:0:99999:7:::',
comment => "/etc/shadow line for support user",
handle => "support_vars_shadow_support";
files:
support.debian::
"/etc/passwd"
comment => "Add users to the /etc/passwd file.",
handle => "support_files_passwd_append_user",
edit_line => append_users_starting("support.passwd");
"/etc/shadow"
comment => "Add users to the /etc/shadow file.",
handle => "support_files_shadow_append_user",
edit_line => append_users_starting("support.shadow");

This does not work either. This is a bug. 
https://cfengine.com/bugtracker/view.php?id=637

Best regards,
Bolesław Tokarski
_______________________________________________
Help-cfengine mailing list
Help-cfengine@cfengine.org
https://cfengine.org/mailman/listinfo/help-cfengine

Reply via email to