Skip to content

Commit 9eec4f8

Browse files
committed
Fix typos
Remove typos found during review.
1 parent b65f9c3 commit 9eec4f8

11 files changed

+56
-57
lines changed

Diff for: README.md

+13-14
Original file line numberDiff line numberDiff line change
@@ -92,22 +92,22 @@ puppet module install ".\dellemc-unity-x.y.z.tar.gz"
9292
* Define a managed Unity system
9393

9494
```puppet
95-
unity_system { 'FNM00150600267':
96-
ip => '10.245.101.39',
95+
unity_system { 'FNM12345678901':
96+
ip => '192.168.1.50',
9797
user => 'admin',
98-
password => 'Password123!',
98+
password => 'password',
9999
ensure => present,
100100
}
101101
```
102102

103-
The defined system `Unity_system['FNM00150600267']` then can be passed to any Unity resources.
103+
The defined system `Unity_system['FNM12345678901']` then can be passed to any Unity resources.
104104

105105

106106
* Upload a license
107107

108108
```puppet
109109
unity_license{ '/path/to/the/license.lic':
110-
unity_system => Unity_system['FNM00150600267'],
110+
unity_system => Unity_system['FNM12345678901'],
111111
ensure => present,
112112
}
113113
```
@@ -117,7 +117,7 @@ Note: the path separator in the `title` must be `/` even using on Windows agent.
117117

118118
```puppet
119119
unity_pool { 'puppet_pool':
120-
unity_system => Unity_system['FNM00150600267'],
120+
unity_system => Unity_system['FNM12345678901'],
121121
description => 'created by puppet module',
122122
raid_groups => [{
123123
disk_group => 'dg_15',
@@ -133,7 +133,7 @@ unity_pool { 'puppet_pool':
133133

134134
```puppet
135135
unity_iscsi_portal { '10.244.213.245':
136-
unity_system => Unity_system['FNM00150600267'],
136+
unity_system => Unity_system['FNM12345678901'],
137137
ethernet_port => 'spa_eth3',
138138
netmask => '255.255.255.0',
139139
vlan => 133,
@@ -146,7 +146,7 @@ unity_iscsi_portal { '10.244.213.245':
146146

147147
```puppet
148148
unity_host { 'my_host':
149-
unity_system => Unity_system['FNM00150600267'],
149+
unity_system => Unity_system['FNM12345678901'],
150150
description => 'Created by puppet',
151151
ip => '192.168.1.139',
152152
os => 'Ubuntu16',
@@ -163,7 +163,7 @@ unity_host { 'my_host':
163163
```puppet
164164
# Create a Unity io limit policy (absolute limit)
165165
unity_io_limit_policy { 'puppet_policy':
166-
unity_system => Unity_system['FNM00150600267'],
166+
unity_system => Unity_system['FNM12345678901'],
167167
policy_type => 1,
168168
description => 'Created by puppet 12',
169169
max_iops => 1000,
@@ -180,7 +180,7 @@ The meaning for above burst settings is: **50% for 10 minute(s) resetting every
180180

181181
```puppet
182182
unity_lun { 'puppet_lun':
183-
unity_system => Unity_system['FNM00150600267'],
183+
unity_system => Unity_system['FNM12345678901'],
184184
pool => Unity_pool['puppet_pool'],
185185
size => 15,
186186
thin => true,
@@ -290,7 +290,7 @@ a list of `Hash` is required for the pool.
290290
```puppet
291291
...
292292
unity_pool { 'puppet_pool':
293-
unity_system => Unity_system['FNM00150600267'],
293+
unity_system => Unity_system['FNM12345678901'],
294294
description => 'created by puppet module',
295295
raid_groups => [{
296296
disk_group => 'dg_15',
@@ -642,17 +642,16 @@ Hosts which contain this LUN.
642642

643643
## Limitations
644644

645-
TODO
646645

647646
## Development
648647

649-
Simply fork the repo [puppet-unity](https://github.com/emc-openstack/puppet-unity) and send PR for your code change(also provide testing result of your change), remember to give a title and description of your PR.
648+
Simply fork the repo and send PR for your code change(also provide testing result of your change), remember to give a title and description of your PR.
650649

651650
## Contributors
652651

653652
peter.wang13 at emc.com
654653

655-
## Contract
654+
## Contact
656655

657656
peter.wang13 at emc.com
658657

Diff for: examples/example_host.pp

+5-5
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
unity_system { 'FNM00150600267':
2-
ip => '10.245.101.35',
1+
unity_system { 'FNM12345678901':
2+
ip => '192.168.1.50',
33
user => 'admin',
4-
password => 'Password123!',
4+
password => 'password',
55
}
66

77
#
88
# unity_host { 'my_host':
9-
# unity_system => Unity_system['FNM00150600267'],
9+
# unity_system => Unity_system['FNM12345678901'],
1010
# ip => '192.168.1.130',
1111
# os_type => 'Ubuntu',
1212
# host_type => 1,
@@ -15,7 +15,7 @@
1515
# }
1616

1717
unity_host { 'my_host':
18-
unity_system => Unity_system['FNM00150600267'],
18+
unity_system => Unity_system['FNM12345678901'],
1919
description => 'Created by puppet',
2020
ip => '192.168.1.139',
2121
os => 'Ubuntu16',

Diff for: examples/example_iscsi_portal.pp

+5-5
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
unity_system { 'FNM00150600267':
2-
ip => '10.245.101.35',
1+
unity_system { 'FNM12345678901':
2+
ip => '192.168.1.50',
33
user => 'admin',
4-
password => 'Password123!',
4+
password => 'password',
55
}
66

77
# Make sure the portal is created
88
# unity_iscsi_portal { '10.244.213.245':
9-
# unity_system => Unity_system['FNM00150600267'],
9+
# unity_system => Unity_system['FNM12345678901'],
1010
# ethernet_port => 'spa_eth3',
1111
# netmask => '255.255.255.0',
1212
# vlan => 133,
@@ -16,7 +16,7 @@
1616

1717
# Tests that the portal is destroyed and recreated
1818
unity_iscsi_portal { '10.244.213.245':
19-
unity_system => Unity_system['FNM00150600267'],
19+
unity_system => Unity_system['FNM12345678901'],
2020
ethernet_port => 'spa_eth3',
2121
netmask => '255.255.255.0',
2222
vlan => 133,

Diff for: examples/example_license.pp

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
unity_system { 'FNM00150600267':
2-
ip => '10.245.101.39',
1+
unity_system { 'FNM12345678901':
2+
ip => '192.168.1.50',
33
user => 'admin',
4-
password => 'Password123!',
4+
password => 'password',
55
}
66

77

88
unity_license { 'C:/Users/wangp11/RubymineProjects/puppet-unity/examples/license-any-host-Merlin-ESSENTIAL.lic':
9-
unity_system => Unity_system['FNM00150600267'],
9+
unity_system => Unity_system['FNM12345678901'],
1010
ensure => present,
1111
}

Diff for: examples/example_lun.pp

+8-8
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11

22
# Define a Unity System
3-
unity_system { 'FNM00150600267':
4-
ip => '10.245.101.39',
3+
unity_system { 'FNM12345678901':
4+
ip => '192.168.1.50',
55
user => 'admin',
6-
password => 'Password123!',
6+
password => 'password',
77
}
88

99
# Create a Unity Pool
1010
unity_pool { 'puppet_pool':
11-
unity_system => Unity_system['FNM00150600267'],
11+
unity_system => Unity_system['FNM12345678901'],
1212
description => 'created by puppet module',
1313
raid_groups => [{
1414
disk_group => 'dg_15',
@@ -24,7 +24,7 @@
2424

2525
# Create a Unity IO limit policy (density-based)
2626
unity_io_limit_policy { 'puppet_policy':
27-
unity_system => Unity_system['FNM00150600267'],
27+
unity_system => Unity_system['FNM12345678901'],
2828
policy_type => 2,
2929
description => 'Created by puppet',
3030
max_iops_density => 100,
@@ -33,7 +33,7 @@
3333

3434
# Create a Host for lun access
3535
unity_host { 'my_host':
36-
unity_system => Unity_system['FNM00150600267'],
36+
unity_system => Unity_system['FNM12345678901'],
3737
description => 'Created by puppet',
3838
ip => '192.168.1.139',
3939
os => 'Ubuntu16',
@@ -46,7 +46,7 @@
4646

4747
# Create another Host for lun access
4848
unity_host { 'my_host2':
49-
unity_system => Unity_system['FNM00150600267'],
49+
unity_system => Unity_system['FNM12345678901'],
5050
description => 'Created by puppet2',
5151
ip => '192.168.1.140',
5252
os => 'Ubuntu14',
@@ -61,7 +61,7 @@
6161
# 1. Configure the IO limit policy
6262
# 2. Assign host access
6363
unity_lun { 'puppet_lun':
64-
unity_system => Unity_system['FNM00150600267'],
64+
unity_system => Unity_system['FNM12345678901'],
6565
pool => Unity_pool['puppet_pool'],
6666
size => 30,
6767
thin => true,

Diff for: examples/example_multiple_systems.pp

+6-6
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,26 @@
11
# Define the first system
2-
unity_system { 'FNM00150600267':
3-
ip => '10.245.101.35',
2+
unity_system { 'FNM12345678901':
3+
ip => '192.168.1.50',
44
user => 'admin',
5-
password => 'Password123!',
5+
password => 'password',
66
ensure => present,
77
}
88

99
# define the second system
1010
unity_system { 'APM00150602415':
1111
ip => '192.168.1.58',
1212
user => 'admin',
13-
password => 'Password123!',
13+
password => 'password',
1414
ensure => present,
1515
}
1616

1717
# Create a lun in the first system
1818
unity_pool { 'puppet_pool':
19-
unity_system => Unity_system['FNM00150600267'],
19+
unity_system => Unity_system['FNM12345678901'],
2020
ensure => present,
2121
}
2222
unity_lun { 'puppet_lun_1':
23-
unity_system => Unity_system['FNM00150600267'],
23+
unity_system => Unity_system['FNM12345678901'],
2424
pool => Unity_pool['puppet_pool'],
2525
size => 30,
2626
thin => true,

Diff for: examples/example_policy.pp

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
unity_system { 'FNM00150600267':
2-
ip => '10.245.101.35',
1+
unity_system { 'FNM12345678901':
2+
ip => '192.168.1.50',
33
user => 'admin',
4-
password => 'Password123!',
4+
password => 'password',
55
}
66

77
# Create a Unity io limit policy (absolute limit)
88
unity_io_limit_policy { 'puppet_policy':
9-
unity_system => Unity_system['FNM00150600267'],
9+
unity_system => Unity_system['FNM12345678901'],
1010
policy_type => 1,
1111
description => 'Created by puppet 12',
1212
max_iops => 1000,

Diff for: examples/example_pool.pp

+5-5
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
1-
unity_system { 'FNM00150600267':
2-
ip => '10.245.101.39',
1+
unity_system { 'FNM12345678901':
2+
ip => '192.168.1.50',
33
user => 'admin',
4-
password => 'Password123!',
4+
password => 'password',
55
}
66

77

88

99
unity_pool { 'puppet_pool':
10-
unity_system => Unity_system['FNM00150600267'],
10+
unity_system => Unity_system['FNM12345678901'],
1111
description => 'created by puppet module',
1212
raid_groups => [{
1313
disk_group => 'dg_15',
@@ -26,7 +26,7 @@
2626
# uncomment the following manifest for a pool expansion
2727

2828
# unity_pool { 'puppet_pool':
29-
# unity_system => Unity_system['FNM00150600267'],
29+
# unity_system => Unity_system['FNM12345678901'],
3030
# description => 'created by puppet module',
3131
# raid_groups => [{
3232
# disk_group => 'dg_15',

Diff for: examples/example_system.pp

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
unity_system { 'FNM00150600267':
2-
ip => '10.245.101.35',
1+
unity_system { 'FNM12345678901':
2+
ip => '192.168.1.50',
33
user => 'admin',
4-
password => 'Password123!',
4+
password => 'password',
55
ensure => present,
66
}

Diff for: examples/example_system_wrongip.pp

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
unity_system { 'FNM00150600267':
1+
unity_system { 'FNM12345678901':
22
ip => '10.244.101.35',
33
user => 'admin',
4-
password => 'Password123!',
4+
password => 'password',
55
ensure => absent,
66
}

Diff for: lib/puppet/type/unity_system.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
def self.instances
2424
# this code is here to support purging and the query-all functionality of the
2525
# 'puppet resource' command, such as:
26-
# 'puppet resource unity_system test ip=10.245.101.35 user=admin password=Password123!'
26+
# 'puppet resource unity_system test ip=192.168.1.50 user=admin password=password'
2727
if self.respond_to?(:ip, :user, :password)
2828
# figure out what to do about the separator
2929
Puppet.info("IP :#{ip}, USER: #{user}, PASSWORD: #{password}")

0 commit comments

Comments
 (0)