* Add tests.
This commit is contained in:
parent
e70f6e4d78
commit
1c51af5f57
@ -14,6 +14,7 @@ This is a release introduce the Xymon server management.
|
||||
|
||||
##### Changes
|
||||
* README.md: Add informations for the xymon::server class.
|
||||
* Add tests.
|
||||
|
||||
---------------------------------------
|
||||
|
||||
|
3
tests/client_with_two_servers.pp
Normal file
3
tests/client_with_two_servers.pp
Normal file
@ -0,0 +1,3 @@
|
||||
class { 'xymon::client':
|
||||
list_server => [ '192.168.0.10', '10.10.10.10' ],
|
||||
}
|
3
tests/server_old_version.pp
Normal file
3
tests/server_old_version.pp
Normal file
@ -0,0 +1,3 @@
|
||||
class { 'xymon::server':
|
||||
new_version => '4.3.16',
|
||||
}
|
7
tests/server_with_separate_client.pp
Normal file
7
tests/server_with_separate_client.pp
Normal file
@ -0,0 +1,7 @@
|
||||
class { 'xymon::server':
|
||||
manage_client => false,
|
||||
}
|
||||
|
||||
class { 'xymon::client':
|
||||
list_server => [ '127.0.0.1', '192.168.0.10' ],
|
||||
}
|
4
tests/server_without_apache.pp
Normal file
4
tests/server_without_apache.pp
Normal file
@ -0,0 +1,4 @@
|
||||
class { 'xymon::server':
|
||||
manage_apache_conf => false,
|
||||
manage_apache_vhost => false,
|
||||
}
|
Loading…
Reference in New Issue
Block a user