Skip to content

Commit 5649147

Browse files
committed
Better examples
1 parent 52c4df1 commit 5649147

File tree

3 files changed

+16
-12
lines changed

3 files changed

+16
-12
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,8 +69,8 @@ Example usage for installing to a custom location:
6969

7070
```puppet
7171
class { 'ibm_installation_manager':
72-
source => 'http://internal.lan/packages/IM.zip',
73-
target => '/opt/myorg/IBM',
72+
source => 'http://internal.lan/packages/IM.zip',
73+
target => '/opt/myorg/IBM',
7474
}
7575
```
7676

Lines changed: 14 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,16 @@
1-
# Example of installing Installation Manager to '/opt/IBM'. In this example,
2-
# We've downloaded and extracted the Installation Manager packages (installer)
3-
# to '/vagrant/ibm/IM'
1+
# Example of installing Installation Manager to the default location of
2+
# '/opt/IBM/InstallationManager'. In this example, we've downloaded and
3+
# extracted the Installation Manager packages (installer) to '/vagrant/ibm/IM'
44
class { 'ibm_installation_manager':
5-
deploy_source => false,
6-
source_dir => '/vagrant/ibm/IM',
7-
base_dir => '/opt/IBM',
5+
source_dir => '/vagrant/ibm/IM',
6+
}
7+
8+
# Example of providing a zip source and a custom install location
9+
# This will retrieve the zip file from /mnt/IBM and extract it to
10+
# /opt/IBM/tmp/InstallationManager. Installation Manager will then be
11+
# installed to '/opt/myorg/InstallationManager'
12+
class { 'ibm_installation_manager':
13+
source => '/mnt/IBM/im.zip',
14+
source_dir => '/opt/IBM/tmp/InstallationManager',
15+
target => '/opt/myorg/InstallationManager',
816
}

manifests/init.pp

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -34,14 +34,10 @@
3434
# [*group*]
3535
# Group to run the installer as. Defaults to 'root'
3636
#
37-
# === Variables
38-
#
39-
#
4037
# === Examples
4138
#
4239
# class { 'installation_manager':
4340
# source => '/mnt/IBM/IM.zip',
44-
# source_dir => '/opt/IBM',
4541
# }
4642
#
4743
# === Authors

0 commit comments

Comments
 (0)