fix ruby::libshadow usage
authorPhilipp Gassmann <gassmann@puzzle.ch>
Wed, 22 Dec 2010 14:22:31 +0000 (15:22 +0100)
committerPhilipp Gassmann <gassmann@puzzle.ch>
Wed, 22 Dec 2010 14:22:31 +0000 (15:22 +0100)
manifests/managed.pp

index 52d4f94..baffaa2 100644 (file)
@@ -192,7 +192,7 @@ define user::managed(
                         }
                     }
                     default: {
-                        include ruby-libshadow
+                        require ruby::libshadow
                         if $password_crypted {
                             $real_password = $password
                         } else {
@@ -204,7 +204,6 @@ define user::managed(
                         }
                         User[$name]{
                             password => $real_password,
-                            require => Package['ruby-libshadow'],
                         }
                     }
                 }