Changes between Version 6 and Version 7 of how-to/puppet


Ignore:
Timestamp:
Mar 8, 2011, 4:14:13 PM (13 years ago)
Author:
Jamie McClelland
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • how-to/puppet

    v6 v7  
    123123However, changes to the modules directory require more careful attention since thay are stored as git submodules.
    124124
     125==== Editing a puppet module (git submodule) ====
     126
    125127 * For every submodule, you need to add a writable remote (by default, you will pulling these in read-only). You can do that with:
    126128{{{
     
    151153
    152154Be sure ''not'' to include the trailing slash (thanks [https://we.riseup.net/riseup+tech/puppet-git-submodules Riseup for that and other tips on git submodules]).
     155
     156==== Adding a new puppet module as a gitsubmodule ====
     157
     158To add a new puppet module, first [wiki:git publish the module via git].
     159
     160Next, add it to our puppet git repo with:
     161
     162{{{
     163git submodule add git://git.mayfirst.org/mfpl/puppet-modules/MODULE
     164git submodule init
     165git commit
     166}}}
    153167
    154168=== Pulling in changes to the master repo ===