diff options
Diffstat (limited to 'examples/git')
-rw-r--r-- | examples/git/bare_init.pp | 4 | ||||
-rw-r--r-- | examples/git/clone.pp | 5 | ||||
-rw-r--r-- | examples/git/init.pp | 15 | ||||
-rw-r--r-- | examples/git/working_copy_init.pp | 4 |
4 files changed, 13 insertions, 15 deletions
diff --git a/examples/git/bare_init.pp b/examples/git/bare_init.pp new file mode 100644 index 0000000..c70e705 --- /dev/null +++ b/examples/git/bare_init.pp @@ -0,0 +1,4 @@ +vcsrepo { "/tmp/vcstest-git-bare": + ensure => bare, + provider => git +} diff --git a/examples/git/clone.pp b/examples/git/clone.pp new file mode 100644 index 0000000..fe706cc --- /dev/null +++ b/examples/git/clone.pp @@ -0,0 +1,5 @@ +vcsrepo { "/tmp/vcstest-git-clone": + ensure => present, + provider => git, + source => "git://github.com/bruce/rtex.git" +} diff --git a/examples/git/init.pp b/examples/git/init.pp deleted file mode 100644 index 7763a91..0000000 --- a/examples/git/init.pp +++ /dev/null @@ -1,15 +0,0 @@ -vcsrepo { "/tmp/vcstest-git-bare": - ensure => bare, - provider => git -} - -vcsrepo { "/tmp/vcstest-git-wc": - ensure => present, - provider => git -} - -vcsrepo { "/tmp/vcstest-git-clone": - ensure => present, - provider => git, - source => "git://github.com/bruce/rtex.git" -} diff --git a/examples/git/working_copy_init.pp b/examples/git/working_copy_init.pp new file mode 100644 index 0000000..f92fbee --- /dev/null +++ b/examples/git/working_copy_init.pp @@ -0,0 +1,4 @@ +vcsrepo { "/tmp/vcstest-git-wc": + ensure => present, + provider => git +} |