Password: 0821
Slides - no username, use password above
| Detected conflicting Accounts::Virtual resources | |
| Accounts::Virtual[melanthius] is conflicting | |
| Conflicting resource ending on line 16 (view node report for details) | |
| /etc/puppetlabs/puppet/environments/production/site/accounts/manifests/init.pp:16 | |
| 16: } | |
| 17: @accounts::virtual { 'melantho': | |
| 18: uid => 721400112, |
Password: 0821
Slides - no username, use password above
| file "/etc/motd" { | |
| ensure => file, | |
| path => '/etc/motd', | |
| owner => 'root', | |
| group => 'root', | |
| mode => '0755', | |
| content => 'This is a crazy motd!\n' | |
| } | |
| #should be: |
| define users::managed_user ( | |
| $group = $title, | |
| ) | |
| { | |
| user { $title: | |
| ensure => present, | |
| managehome => true, | |
| home => "/home/${title}", | |
| gid => $group, | |
| } |
| # profile::webserver | |
| # this is a profile class that configures a webserver | |
| class profile::webserver { | |
| class{ 'apache': } | |
| apache::vhost { 'vhost.example.com': | |
| port => '80', | |
| docroot => '/var/www/vhost', | |
| } | |
| } |
I hereby claim:
To claim this, I am signing this object: