keys::install_keypair { $ssh_keyname:
    ensure  =&gt; $admin_key,
    ssh_dir =&gt; $ssh_path,
  }

  # fixme - need to update sshkeys to allow removal
  sshkeys::known_host { $ssh_keyname:
    ssh_dir =&gt; $ssh_path,
  }

  # fixme - grant access to the account to other users
  sshkeys::authorize { $admin_user:
    ensure          =&gt; $admin_key,
    authorized_keys =&gt; [$ssh_keyname],
    ssh_dir         =&gt; $ssh_path,
  }

  exec { &quot;install_token_psquared&quot;:
    command     =&gt; &quot;