body file control { # This policy uses parts of the standard library. inputs => { "$(sys.libdir)/users.cf" }; } bundle agent main { vars: # This is the hashed password for 'vagrant' debian_8:: "root_hash" string => "$6$1nRTeNoE$DpBSe.eDsuZaME0EydXBEf.DAwuzpSoIJhkhiIAPgRqVKlmI55EONfvjZorkxNQvK2VFfMm9txx93r2bma/4h/"; users: linux:: "root" policy => "present", password => hashed_password( $(root_hash) ), if => isvariable("root_hash"); }