Geppetto + Github,com configurations

24 views
Skip to first unread message

Warron French

unread,
Dec 4, 2015, 12:58:13 AM12/4/15
to Puppet Users
Hello, I am trying to learn how to write Puppet Modules.  I have taken the free training within the PuppetLabs Learning VM (which was very informative, and self-paced) and wanted to use my Windows 7 machine where I have installed Geppetto-4.3.1.  I already had (months ago) installed and configured Github client pointing to my online repository and configured it with my working directory.

How though, do I configure Geppetto, with the hooks?, so that I can post changes I make on my system up to my repository on the Github,com site?

I have been looking for the last 2 weeks, and, in the evening when I am at home from my long day of working.  Any instructions or document or website that actually tells me how to configure Geppetto, so that I can start, write and post my Puppet Modules up to my Github repository would be greatly appreciated.

Thank you,
Warron


Henrik Lindberg

unread,
Dec 4, 2015, 7:43:53 AM12/4/15
to puppet...@googlegroups.com
On 2015-04-12 6:58, Warron French wrote:
> Hello, I am trying to learn how to write Puppet Modules. I have taken
> the free training within the PuppetLabs Learning VM (which was very
> informative, and self-paced) and wanted to use my Windows 7 machine
> where I have installed Geppetto-4.3.1. I already had (months ago)
> installed and configured Github client pointing to my online repository
> and configured it with my working directory.
>
> *How though, do I configure Geppetto, */with the hooks?,/ so that I can
> post changes I make on my system up to my repository on the Github,com site?
>
> I have been looking for the last 2 weeks, and, in the evening when I am
> at home from my long day of working. Any instructions or document or
> website that actually /tells me/ how to configure Geppetto, so that I
> can start, write and post my Puppet Modules up to my Github repository
> would be greatly appreciated.
>

What you are looking for is how the Git support works in Geppetto.
You can follow any on-line tutorial for Eclipse E-Git.

Basically: add your repository to the set of Git repositories in the Git
Repository View. You have several options there (create new, clone a
remote, use existing local repository). You probably already have it on
disk so just add a reference to that.

You can then import your module from that repository as a general
project. Once that is done change the project's nature to be a puppet
project.

You should after that be able to edit, track changes, commit, push, etc.
etc.

The only puppet specific part on all of this is that puppet projects
have a "puppet nature".

Once this is set up, you get some eclipse/geppetto specific hidden files
in the project. It is beneficial to check those in as it is the easier
for others (or you the next time) you want to import the project.

Done.

Hope that helps you a little - I do recommend online tutorials for E-Git.

- henrik


> Thank you,
> Warron
>
>
> --
> You received this message because you are subscribed to the Google
> Groups "Puppet Users" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to puppet-users...@googlegroups.com
> <mailto:puppet-users...@googlegroups.com>.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/puppet-users/0f583153-cb20-49f0-ab59-e95198f6645c%40googlegroups.com
> <https://groups.google.com/d/msgid/puppet-users/0f583153-cb20-49f0-ab59-e95198f6645c%40googlegroups..com?utm_medium=email&utm_source=footer>.
> For more options, visit https://groups.google.com/d/optout.


--

Visit my Blog "Puppet on the Edge"
http://puppet-on-the-edge.blogspot.se/

Reply all
Reply to author
Forward
0 new messages