summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJames Shubin <james@shubin.ca>2014-10-10 14:57:21 -0400
committerJames Shubin <james@shubin.ca>2014-10-10 14:57:21 -0400
commitcffe1540ecd4ac9159da1d6714412cf4252f8bde (patch)
treeca28f425f61015197bd2970ed05cf9b98340e1ea
parentf24cca2ac8d138aae71c019a9bf6f311395f562d (diff)
downloadpuppet-gluster-cffe1540ecd4ac9159da1d6714412cf4252f8bde.tar.gz
puppet-gluster-cffe1540ecd4ac9159da1d6714412cf4252f8bde.tar.xz
puppet-gluster-cffe1540ecd4ac9159da1d6714412cf4252f8bde.zip
Remove small errors from examples so that tests pass :)
-rw-r--r--Rakefile1
-rw-r--r--examples/gluster-simple-physical-example-best.pp6
-rw-r--r--examples/gluster-simple-physical-example.pp6
3 files changed, 7 insertions, 6 deletions
diff --git a/Rakefile b/Rakefile
index 68a36ca..72ce031 100644
--- a/Rakefile
+++ b/Rakefile
@@ -28,6 +28,7 @@ exclude_paths = [
"vendor/**/*",
"spec/**/*",
"tmp/**/*",
+ "rpmbuild/**/*",
"vagrant/**/*", # TODO: remove this, once we update vagrant/ to puppet4
]
PuppetLint.configuration.ignore_paths = exclude_paths
diff --git a/examples/gluster-simple-physical-example-best.pp b/examples/gluster-simple-physical-example-best.pp
index 06be1ed..63f7f29 100644
--- a/examples/gluster-simple-physical-example-best.pp
+++ b/examples/gluster-simple-physical-example-best.pp
@@ -7,10 +7,10 @@ node /^annex\d+$/ { # annex{1,2,..N}
class { '::gluster::simple':
replica => 2,
- vip = '192.168.1.42',
- vrrp = true,
+ vip => '192.168.1.42',
+ vrrp => true,
# NOTE: _each_ host will have four bricks with these devices...
- brick_params_defaults = [ # note the spelling and type...
+ brick_params_defaults => [ # note the spelling and type...
{'dev' => '/dev/sdb'},
{'dev' => '/dev/sdc'},
{'dev' => '/dev/sdd'},
diff --git a/examples/gluster-simple-physical-example.pp b/examples/gluster-simple-physical-example.pp
index 377958b..46a8647 100644
--- a/examples/gluster-simple-physical-example.pp
+++ b/examples/gluster-simple-physical-example.pp
@@ -11,8 +11,8 @@ node /^annex\d+$/ { # annex{1,2,..N}
# this is useful in a tool like foreman which only lets you set
# class variables, and doesn't let you define individual types!
replica => 2,
- vip = '192.168.1.42',
- vrrp = true,
+ vip => '192.168.1.42',
+ vrrp => true,
# NOTE: this example will show you different possibilities, but
# it is probably not sane to define your devices in a mixed way
brick_params => {
@@ -21,7 +21,7 @@ node /^annex\d+$/ { # annex{1,2,..N}
{dev => '/dev/sde', partition => false},
],
'fqdn2.example.com' => [
- {dev => '/dev/disk/by-path/pci-0000:02:00.0-scsi-0:1:0:0', raid_su => 256, raid_sw => 10}
+ {dev => '/dev/disk/by-path/pci-0000:02:00.0-scsi-0:1:0:0', raid_su => 256, raid_sw => 10},
{dev => '/dev/disk/by-id/wwn-0x600508e0000000002b012b744715743a', lvm => true},
],
#'fqdnN.example.com' => [...],