Change request?

Mike McGrath mmcgrath at redhat.com
Thu Nov 13 21:48:54 UTC 2008


On Thu, 13 Nov 2008, Ricky Zhou wrote:

> On 2008-11-13 02:41:47 PM, Mike McGrath wrote:
> > I'm not really making a change but it might affect fedora hosted so I
> > thought it best to ask.
> >
> > There's some restorecon jobs that started piling up on fedorahosted, and
> > puppet is causing the issue.  I'd like to
> >
> > 1) stop puppet on hosted
> > 2) run the job and let it complete on its own.
> > 3) start puppet again
> > 4) make sure the jobs aren't running anymore.
> >
> > Can I get 2+1's?  If we don't do this we'll have to make a change to
> > disable the jobs until later because they do cause problems.
> +1
>

Ok, this turned out to be a deeper issue then I thought, I'd like to do
the following:

diff --git a/manifests/servergroups/hosted.pp
b/manifests/servergroups/hosted.pp
index deb9868..0172046 100644
--- a/manifests/servergroups/hosted.pp
+++ b/manifests/servergroups/hosted.pp
@@ -24,25 +24,25 @@ class hosted {
         hasstatus => true,
     }

-    semanage_fcontext { '/git':
-        type => 'httpd_sys_script_rw_t'
-    }
+#    semanage_fcontext { '/git':
+#        type => 'httpd_sys_script_rw_t'
+#    }

-    semanage_fcontext { '/hg':
-        type => 'httpd_sys_script_rw_t'
-    }
+#    semanage_fcontext { '/hg':
+#        type => 'httpd_sys_script_rw_t'
+#    }

-    semanage_fcontext { '/bzr':
-        type => 'httpd_sys_script_rw_t'
-    }
+#    semanage_fcontext { '/bzr':
+#        type => 'httpd_sys_script_rw_t'
+#    }

-    semanage_fcontext { '/mtn':
-        type => 'httpd_sys_script_rw_t'
-    }
+#    semanage_fcontext { '/mtn':
+#        type => 'httpd_sys_script_rw_t'
+#    }

-    semanage_fcontext { '/svn':
-        type => 'httpd_sys_script_rw_t'
-    }
+#    semanage_fcontext { '/svn':
+#        type => 'httpd_sys_script_rw_t'
+#    }
     semanage_fcontext { '/srv/git(/.*)?':
         type => 'httpd_sys_script_rw_t'
     }


2+1's?

	-Mike




More information about the infrastructure mailing list