Experiments part 17
authorAndreas Schiermeier <andreas@schiermeier.name>
Sat, 12 Dec 2015 21:49:27 +0000 (22:49 +0100)
committerAndreas Schiermeier <andreas@schiermeier.name>
Sat, 12 Dec 2015 21:49:27 +0000 (22:49 +0100)
.gitmodules
modules/concat [new submodule]
modules/pam [new submodule]
modules/stdlib [new submodule]
modules/system/manifests/init.pp

index e69de29..99792e7 100644 (file)
@@ -0,0 +1,9 @@
+[submodule "modules/pam"]
+       path = modules/pam
+       url = https://github.com/jlyheden/puppet-pam
+[submodule "modules/stdlib"]
+       path = modules/stdlib
+       url = https://github.com/puppetlabs/puppetlabs-stdlib
+[submodule "modules/concat"]
+       path = modules/concat
+       url = https://github.com/puppetlabs/puppetlabs-concat
diff --git a/modules/concat b/modules/concat
new file mode 160000 (submodule)
index 0000000..ca98a14
--- /dev/null
@@ -0,0 +1 @@
+Subproject commit ca98a145ca4374383dc33db7119fb0b5364e736f
diff --git a/modules/pam b/modules/pam
new file mode 160000 (submodule)
index 0000000..0c99b36
--- /dev/null
@@ -0,0 +1 @@
+Subproject commit 0c99b36148a5c2ff14f52b829a0bc79b2fabac37
diff --git a/modules/stdlib b/modules/stdlib
new file mode 160000 (submodule)
index 0000000..7a745de
--- /dev/null
@@ -0,0 +1 @@
+Subproject commit 7a745deec698b16a0702d00798dc30dd6c685312
index 35b5752..cb88313 100644 (file)
@@ -29,16 +29,8 @@ class system {
                ensure => installed,
        }
 
-       package { 'libpam-mount':
-               ensure => installed,
-       }
-
-       file { '/etc/security/pam_mount.conf.xml':
-               ensure => file,
-               source => 'puppet:///modules/system/etc/security/pam_mount.conf.xml',
-               mode => 'a=r',
-               require => Package['libpam-mount'],
-       }
+       include pam
+       include pam::mkhomedir
 
        package { 'chrony':
                ensure => installed,