Hi,
I would like create a class that says if your hostname includes the letters 'rob', it will assign a class to it.
For example:
class it_default {
case $hostname {
'*rob*': { include robikun_base }
}
}
I have servers that called:
SRV-Roben-01
Roben-02
IT-Roben10
I want to create a case for them and make the class file clean and simple and not putting all hostnames on the module file.
Thanks
↧