We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
In manifest add something like this
case $trusted['certname'] { 'dsp-zoo-01.domain.com': { $privateip = ['192.168.0.7/24']; $netiface ='eth1'; $zooid ='01' } 'dsp-zoo-02.domain.com': { $privateip = ['192.168.0.7/24']; $netiface ='eth1'; $zooid ='02' } 'dsp-zoo-03.domain.com': { $privateip = ['192.168.0.7/24']; $netiface ='eth1'; $zooid ='03' } default: { $privateip = '' } }
then
class { 'zookeeper': ... id => $zooid, ... }
The text was updated successfully, but these errors were encountered:
Or just create a custom fact based on hostname, so say somehost001 has id 1.
Facter.add(:hostid) do setcode do Facter.value(:hostname).gsub(/[^0-9]/, '').sub!(/^0+/, "") end end
Sorry, something went wrong.
No branches or pull requests
In manifest add something like this
then
The text was updated successfully, but these errors were encountered: