Created
September 5, 2018 20:00
-
-
Save binford2k/8d35fedb80596c6d95ead93a7724919f to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class cfg_kvm_libvirt::install { | |
package { 'libvirt': | |
ensure => latest, | |
} | |
user { 'virtmgr': | |
ensure => 'present', | |
comment => 'virt user', | |
forcelocal => true, | |
home => '/home/virtmgr', | |
managehome => true, | |
uid => '1024', | |
gid => '992', | |
groups => 'libvirt', | |
shell => '/bin/bash', | |
} | |
ssh_authorized_key { 'virtmgr@mogo': | |
ensure => present. | |
user => 'virtmgr', | |
type => 'ssh-rsa', | |
key => 'key-data', | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment