]> git.immae.eu Git - perso/Immae/Projets/Puppet.git/blobdiff - modules/base_configuration/manifests/init.pp
Add mirrorlist file, and remove root password
[perso/Immae/Projets/Puppet.git] / modules / base_configuration / manifests / init.pp
index 8b4dd376a0c2c6e0f428962c93bc671857a24022..20bac337231cd03b4f680775993955eda1cd3f29 100644 (file)
@@ -63,6 +63,20 @@ class base_configuration (
      }
   }
 
+  ensure_packages('ruby-shadow')
+  user { 'root':
+    password => '!'
+  }
+
+  file { '/etc/pacman.d/mirrorlist':
+     ensure  => "present",
+     path    => "/etc/pacman.d/mirrorlist",
+     source  => 'puppet:///modules/base_configuration/mirrorlist',
+     mode    => "0644",
+     owner   => "root",
+     group   => "root"
+  }
+
   class { 'pacman':
     color     => true,
     usesyslog => true,