summaryrefslogtreecommitdiff
path: root/lib/puppet/type
AgeCommit message (Collapse)Author
2015-12-22Add mirror option for git cloningStrech (Sergey Fedorov)
Example: vcsrepo { '/path/to/repo': ensure => mirror, provider => git, source => 'git://example.com/repo.git', }
2015-10-15Fix :false to be default valueHunter Haugen
false is not a valid value; only :false is.
2015-09-17Merge pull request #262 from webfactory/autorequire-hgDavid Schmitt
Autorequire Package['mercurial']
2015-09-14Add feature depth and param trust_server_cert to svnmonai
added param trust server cert updated depth feature updated README.markdown trust_server_cert is not feature trust_server_cert default value should be false add test for depth and trust_server_cert
2015-08-15Autorequire Package['mercurial']Matthias Pigulla
Along the lines of 2b190756260346931b8f9a0dda8afc0c815710d6, if the Mercurial package is being managed, it stands to reason that the Mercurial package should be installed before trying to potentially manage Mercurial repositories using vcsrepo resources. This commit adds an autorequire to the vcsrepo type that reflects the above premise.
2015-04-21Merge pull request #224 from puppet-by-examples/single-branchTP Honey
Shallow clone with one commit that corresponds to arbitrary tag from arbitrary branch
2015-03-06(MODULES-1551) Add support for SVN conflict handlingDaniel DiSisto
2015-01-29Use branch parameterWłodzimierz Gajda
2015-01-18Merge pull request #218 from dduvnjak/masterAaron Stone
Add submodules feature to git provider
2015-01-18Add submodules feature to git providerdduvnjak
2014-12-26MODULES-1596 - Repository repeatedly destroyed/created with forceMorgan Haskel
The `retrieve` method was calling `create` and `destroy` on every run with `force => true`. Retrieve should not be making any changes to the system, so removed that code, and updated `working_copy_exists` to make sure that the directory not only contains a `.git` directory, but also if `source` is specified it also matches `#{path}/.git/config` so that it will overwrite a git repo with a different source. Updated tests to not check for the old broken behavior. Added a regression test.
2014-06-30Merge pull request #171 from p4paul/masterHunter Haugen
Basic Perforce provider
2014-06-26Update noop to workHunter Haugen
2014-06-23Added support for p4config.Paul Allen
- Removed p4port, p4client, p4user to keep name space clean. - Changed notify to Puppet.debug - Updated markdown and examples - Updated unit tests
2014-06-20Add support for passing password/ticketPaul Allen
Uses param ‘p4passwd’ to set P4PASSWD environment to pass a valid ticket or password.
2014-06-20Basic Perforce providerPaul Allen
Supports sync and client create/update
2014-06-02(MODULES-1014) Adding noop mode optionPeter Souter
2014-05-13Fix issue where force=>true was not destroying repository then recreatingTravis Fields
2014-01-07Add the option to shallow clones with gitFelipe Reyes
The new parameter used to indicate that you want a shallow clone is `:depth`
2013-10-20Add autorequire for Package['git']Reid Vandewiele
If the git package is being managed, it stands to reason that the git package should be installed before trying to potentially manage git repositories using vcsrepo resources. This commit adds an autorequire to the vcsrepo type that reflects the above premise.
2013-07-19WhitespaceAaron Stone
2013-07-19WhitespaceAaron Stone
2013-07-19Allow for setting the CVS_RSH environment variableMatthias Pigulla
2013-07-17Adding svn configuration parameter, and docszane
2013-07-13WhitespaceAaron Stone
2012-10-19Revert pull request #27 until it comes with unit tests.0.1.1Aaron Stone
2012-10-18Merge pull request #30 from ghoneycutt/noticket/master/inappropriate_whitespaceGary Larizza
Removes trailing whitespace
2012-08-29Removes trailing whitespaceGarrett Honeycutt
2012-07-03Add default user to run git as.Cody Herriges
Add a default to the user parameter of root, which is the user that the git commands would have ran in previously versions of this module. Without this an upgrade to the lastest release would cause syntax error all over a person's code base and provide no benefit.
2012-06-29Run git operations as a specific user (puppetlabs ticket 4773), added ssh ↵Eric Hayes
options to ensure no prompting (also fixed in pull request #1 by riseuplabs), added ability to keep repository up to date with latest (puppetlabs ticket 11278)
2012-05-23Merge pull request #24 from jesusaurus/feature/gitJames Turnbull
Add the ability to specify a git remote
2012-05-13Add the ability to specify a git remoteJesusaurus
Rather than fill the git provider with hard-coded references to origin, it would be better to abstract out which remote the resource is fetching from. But since this is only relevant to decentralized version-control systems, a multiple_remotes feature was added for the parameter to depend on. So far this is only implemented for git remotes, but it could be implemented for other VCSs as well.
2012-02-26don't recreate bare repo if it exists already (fixes #12303)Andreas Gerstmayr
2011-11-26Merge pull request #14 from webfactory/fix_10788James Turnbull
Fix (#10788) - Avoid unnecessary remote operations in the vcsrepo type
2011-11-12Fix (#10788) - Avoid unnecessary remote operations in the vcsrepo typeMatthias Pigulla
2011-11-11Fix (#10751) by adding a new "module" parameter for the CVS providerMatthias Pigulla
2011-08-18Forgot to add the parameters to the type definition.Justin Ellison
2011-07-27Add an identity param, respected by the git provider, to use a non-standard ↵Nate Mueller
ssh identity file
2011-06-03Fix #7534: provider.revision should not get called when repo doesn't exist.Marc Fournier
2010-09-13new features for vcsrepo.Brett Lentz
* support recursive chown on repo * support checking out tags (git) * support adding excludes/ignored files * dropped a few unused methods * rework git provider logic a bit
2010-08-20Take into account :latest status in git providerAleksey Lim
2010-07-22When ensure => latest, svn didn't update.mikeknox
svn provider now gets the latest revision from the repo, rather than the checkout Test with revision => <some value> as well now when ensure => latest, only refresh dependent resources if the repo is actually updated Tidied up debug messages
2010-03-15ensure = latest to support reference tracking.\n\nWorking with tags, more ↵Bruce Williams
work needed for branches (at least with git)
2010-03-14filesystem_type feature (for svn's --fstype)Bruce Williams
2010-03-14Since we're overriding retrieve anyhow, make all the values for ensure explicitBruce Williams
2010-03-14Make gzip compression and bare repositories explicit featuresBruce Williams
2010-03-13Basic CVS supportBruce Williams
2010-03-13Some fixes after live testing, add support for bare cloned reposBruce Williams
2010-03-13Convert bare repos to working copy repos and vice-versaBruce Williams
2010-03-12Basic SVN providerBruce Williams