Changes between Version 6 and Version 7 of how-to/puppet
- Timestamp:
- Mar 8, 2011, 4:14:13 PM (14 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
how-to/puppet
v6 v7 123 123 However, changes to the modules directory require more careful attention since thay are stored as git submodules. 124 124 125 ==== Editing a puppet module (git submodule) ==== 126 125 127 * For every submodule, you need to add a writable remote (by default, you will pulling these in read-only). You can do that with: 126 128 {{{ … … 151 153 152 154 Be 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 158 To add a new puppet module, first [wiki:git publish the module via git]. 159 160 Next, add it to our puppet git repo with: 161 162 {{{ 163 git submodule add git://git.mayfirst.org/mfpl/puppet-modules/MODULE 164 git submodule init 165 git commit 166 }}} 153 167 154 168 === Pulling in changes to the master repo ===