diff options
author | James Turnbull <james@lovedthanlost.net> | 2012-03-11 14:47:14 -0700 |
---|---|---|
committer | James Turnbull <james@lovedthanlost.net> | 2012-03-11 14:47:14 -0700 |
commit | d97e19ff90fd966ae322036060caaeb453dfac00 (patch) | |
tree | 409a0880a39e3eaa3792cd0db113b19b11bee408 /examples/git | |
parent | b3de3a5c2b23cef308b6d814a08b4e2a3ab6e791 (diff) | |
parent | 8acf719c0f0560f15bd60b0be75ef5e25257d6ca (diff) | |
download | puppet-vcsrepo-d97e19ff90fd966ae322036060caaeb453dfac00.tar.gz puppet-vcsrepo-d97e19ff90fd966ae322036060caaeb453dfac00.tar.bz2 |
Merge pull request #19 from adamgibbins/master
Improved Puppet DSL style as per the guidelines.
Diffstat (limited to 'examples/git')
-rw-r--r-- | examples/git/bare_init.pp | 4 | ||||
-rw-r--r-- | examples/git/clone.pp | 8 | ||||
-rw-r--r-- | examples/git/working_copy_init.pp | 4 |
3 files changed, 8 insertions, 8 deletions
diff --git a/examples/git/bare_init.pp b/examples/git/bare_init.pp index c70e705..f16d137 100644 --- a/examples/git/bare_init.pp +++ b/examples/git/bare_init.pp @@ -1,4 +1,4 @@ -vcsrepo { "/tmp/vcstest-git-bare": - ensure => bare, +vcsrepo { '/tmp/vcstest-git-bare': + ensure => bare, provider => git } diff --git a/examples/git/clone.pp b/examples/git/clone.pp index fe706cc..b7d5bfb 100644 --- a/examples/git/clone.pp +++ b/examples/git/clone.pp @@ -1,5 +1,5 @@ -vcsrepo { "/tmp/vcstest-git-clone": - ensure => present, +vcsrepo { '/tmp/vcstest-git-clone': + ensure => present, provider => git, - source => "git://github.com/bruce/rtex.git" -} + source => 'git://github.com/bruce/rtex.git' +} diff --git a/examples/git/working_copy_init.pp b/examples/git/working_copy_init.pp index f92fbee..b20af20 100644 --- a/examples/git/working_copy_init.pp +++ b/examples/git/working_copy_init.pp @@ -1,4 +1,4 @@ -vcsrepo { "/tmp/vcstest-git-wc": - ensure => present, +vcsrepo { '/tmp/vcstest-git-wc': + ensure => present, provider => git } |