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