FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Redhat > Fedora Infrastructure

 
 
LinkBack Thread Tools
 
Old 07-08-2008, 07:33 PM
Jesse Keating
 
Default puppet and git (README)

On Tue, 2008-07-08 at 14:24 -0500, Mike McGrath wrote:
> Ok, I've got a git puppet mechanism up and working. Its in a very
> simplistic form right now but works pretty well. I'll be sending a follow
> up email with directions and will be updating all relevant documentation.
>
> -Mike
>

What mike forgot to mention, don't make any changes in puppet without
talking to him first.

--
Jesse Keating
Fedora -- Freedom˛ is a feature!
_______________________________________________
Fedora-infrastructure-list mailing list
Fedora-infrastructure-list@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-infrastructure-list
 
Old 07-08-2008, 07:46 PM
"Xavier Lamien"
 
Default puppet and git (README)

On Tue, Jul 8, 2008 at 9:24 PM, Mike McGrath <mmcgrath@redhat.com> wrote:

Ok, I've got a git puppet mechanism up and working. *Its in a very

simplistic form right now but works pretty well. *I'll be sending a follow

up email with directions and will be updating all relevant documentation.



nice

--
Xavier.t Lamien
--
http://fedoraproject.org/wiki/XavierLamien
GPG-Key ID: F3903DEB
Fingerprint: 0F2A 7A17 0F1B 82EE FCBF 1F51 76B7 A28D F390 3DEB
_______________________________________________
Fedora-infrastructure-list mailing list
Fedora-infrastructure-list@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-infrastructure-list
 
Old 07-08-2008, 09:20 PM
Mike McGrath
 
Default puppet and git (README)

On Tue, 8 Jul 2008, Jesse Keating wrote:

> On Tue, 2008-07-08 at 14:24 -0500, Mike McGrath wrote:
> > Ok, I've got a git puppet mechanism up and working. Its in a very
> > simplistic form right now but works pretty well. I'll be sending a follow
> > up email with directions and will be updating all relevant documentation.
> >
> > -Mike
> >
>
> What mike forgot to mention, don't make any changes in puppet without
> talking to him first.
>

This is true. If you made a change please go back in time and don't make
it Actually I didn't see any commits go through so I think we're
golden. The puppet system is now on puppet! Our repos are all in one git
repo (minus private, still working on that).

Here's how to use it:

Old | New
---------------------------------|--------------------------------------
cvs -d /cvs/puppet co manifests | git clone /git/puppet
cvs -d /cvs/puppet co configs | git clone /git/puppet
cvs commit | git commit
make install | git push

That should be enough to get you by. I've got a syntax check on post
commit and it will let you know when you've broken something. I'm going
to try to get this into a pre-commit but there are some speed issues.

You'll also note that make install has been replaced by git push. This is
an instant install and is much faster. I'm going to work on the Makefiles
but make push should still work and I am going to try to get a "make test"
back to a normal working order.

The cvs repos have been moved to /cvs/puppet.disabled/

Once this move has proved working fine I'll start working on some cleanup.
I'm also working on a way to do test runs of puppet before you push on the
actual machines in question. This is still fuzzy in my brain but I'm
pretty sure its possible.

-Mike



_______________________________________________
Fedora-infrastructure-list mailing list
Fedora-infrastructure-list@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-infrastructure-list
 
Old 07-08-2008, 09:26 PM
"Xavier Lamien"
 
Default puppet and git (README)

On Tue, Jul 8, 2008 at 11:20 PM, Mike McGrath <mmcgrath@redhat.com> wrote:

On Tue, 8 Jul 2008, Jesse Keating wrote:



> On Tue, 2008-07-08 at 14:24 -0500, Mike McGrath wrote:

> > Ok, I've got a git puppet mechanism up and working. *Its in a very

> > simplistic form right now but works pretty well. *I'll be sending a follow

> > up email with directions and will be updating all relevant documentation.

> >

> > * * -Mike

> >

>

> What mike forgot to mention, don't make any changes in puppet without

> talking to him first.

>



This is true. *If you made a change please go back in time and don't make

it *Actually I didn't see any commits go through so I think we're

golden. *The puppet system is now on puppet! *Our repos are all in one git

repo (minus private, still working on that).



Here's how to use it:



Old * * * * * * * * * * * * * * *| New

---------------------------------|--------------------------------------

cvs -d /cvs/puppet co manifests *| git clone /git/puppet

cvs -d /cvs/puppet co configs * *| git clone /git/puppet

cvs commit * * * * * * * * * * * | git commit

* * * * * * * * * * * * * * * * * ** git commit _-a_ (not the same thing, doing a git add then a git commit)




make install * * * * * * * * * * | git push



That should be enough to get you by. *I've got a syntax check on post

commit and it will let you know when you've broken something. *I'm going

to try to get this into a pre-commit but there are some speed issues.



You'll also note that make install has been replaced by git push. *This is

an instant install and is much faster. *I'm going to work on the Makefiles

but make push should still work and I am going to try to get a "make test"

back to a normal working order.



The cvs repos have been moved to /cvs/puppet.disabled/



Once this move has proved working fine I'll start working on some cleanup.

I'm also working on a way to do test runs of puppet before you push on the

actual machines in question. *This is still fuzzy in my brain but I'm

pretty sure its possible.



--
Xavier.t Lamien
--
http://fedoraproject.org/wiki/XavierLamien
GPG-Key ID: F3903DEB

Fingerprint: 0F2A 7A17 0F1B 82EE FCBF 1F51 76B7 A28D F390 3DEB
_______________________________________________
Fedora-infrastructure-list mailing list
Fedora-infrastructure-list@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-infrastructure-list
 
Old 07-09-2008, 06:20 AM
Ricky Zhou
 
Default puppet and git (README)

On 2008-07-08 04:20:25 PM, Mike McGrath wrote:
> Our repos are all in one git repo (minus private, still working on
> that).
Hey, the private repo is now in git as well :-)

Here's how to use it:

Old | New
---------------------------------|--------------------------------------
cvs -d /cvs/private co private | git clone /git/private
chmod 700 private | chmod 700 private
cvs commit | git commit
make install | git push

I just used git-cvsimport for the converstion, and modified
/usr/local/bin/syncPuppetMaster.sh (does this need to be put in puppet?)
to pull and rsync from there similar to before. Rsyncing isn't
completely ideal, but since the configs and manifests are in the same
repo and need to be merged with the normal puppet stuff, it was the only
way I could think of, short of splitting the configs and manifests into
separate repos.

Feel free to further restructure - this was just a "get it working
first" attempt.

The old private repo was moved to /cvs/private.disabled

Thanks,
Ricky

_______________________________________________
Fedora-infrastructure-list mailing list
Fedora-infrastructure-list@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-infrastructure-list
 

Thread Tools




All times are GMT. The time now is 10:17 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2007 - 2008, www.linux-archive.org