bug 1463592 - bustage fix. r=bustage
authorAki Sasaki <asasaki@mozilla.com>
Tue, 29 May 2018 10:24:25 -0700
changeset 6923 aad7dbb34b77fa75d3167aafbbcea5f85a246607
parent 6922 23db99a37be5f65f5c4a7d0d795b1f53ff5668a4
child 6924 5b8c526bc121b73d8edac3ad185ea2e861f356b3
push id2778
push userasasaki@mozilla.com
push dateTue, 29 May 2018 19:35:39 +0000
reviewersbustage
bugs1463592
bug 1463592 - bustage fix. r=bustage
modules/python/manifests/system_pip_conf.pp
--- a/modules/python/manifests/system_pip_conf.pp
+++ b/modules/python/manifests/system_pip_conf.pp
@@ -32,21 +32,22 @@ class python::system_pip_conf {
             $user     = "administrator"
             $group    = "administrator"
         }
         default: {
             fail("This OS is not supported for system_pip_conf")
         }
     }
     if $dir {
-        directory {
+        file {
             "${dir}":
-                owner => $user,
-                group => $group,
-                mode  => "0755";
+                ensure => directory,
+                owner  => $user,
+                group  => $group,
+                mode   => "0755";
         }
     }
     if $filename {
         file {
             "${filename}":
                 content => template("python/user-pip-conf.erb"),
                 owner   => $user,
                 group   => $group,