aboutsummaryrefslogtreecommitdiff
path: root/modules/base_configuration/manifests
diff options
context:
space:
mode:
authorIsmaël Bouya <ismael.bouya@normalesup.org>2016-08-10 23:53:14 +0200
committerIsmaël Bouya <ismael.bouya@normalesup.org>2016-08-11 00:25:26 +0200
commit7a7f654494ce996d3abd2c753b98883da8d3d875 (patch)
tree31468fa8a9086eaccfdd3c2ee51e204ae121f793 /modules/base_configuration/manifests
parent2390cad785cc63d59eade9c819675e8699c58ef8 (diff)
downloadPuppet-7a7f654494ce996d3abd2c753b98883da8d3d875.tar.gz
Puppet-7a7f654494ce996d3abd2c753b98883da8d3d875.tar.zst
Puppet-7a7f654494ce996d3abd2c753b98883da8d3d875.zip
Add mirrorlist file, and remove root password
Diffstat (limited to 'modules/base_configuration/manifests')
-rw-r--r--modules/base_configuration/manifests/init.pp14
1 files changed, 14 insertions, 0 deletions
diff --git a/modules/base_configuration/manifests/init.pp b/modules/base_configuration/manifests/init.pp
index 8b4dd37..20bac33 100644
--- a/modules/base_configuration/manifests/init.pp
+++ b/modules/base_configuration/manifests/init.pp
@@ -63,6 +63,20 @@ class base_configuration (
63 } 63 }
64 } 64 }
65 65
66 ensure_packages('ruby-shadow')
67 user { 'root':
68 password => '!'
69 }
70
71 file { '/etc/pacman.d/mirrorlist':
72 ensure => "present",
73 path => "/etc/pacman.d/mirrorlist",
74 source => 'puppet:///modules/base_configuration/mirrorlist',
75 mode => "0644",
76 owner => "root",
77 group => "root"
78 }
79
66 class { 'pacman': 80 class { 'pacman':
67 color => true, 81 color => true,
68 usesyslog => true, 82 usesyslog => true,