# manage the root user class profiles::accounts::root ( String $password, Optional[Array[String]] $sshkeys = undef, ) { accounts::user { 'root': sshkeys => $sshkeys, password => $password, } file {'/root/.config': ensure => directory, owner => 'root', group => 'root', mode => '0600', } }