Skip to content

Instantly share code, notes, and snippets.

@droopy4096
Created January 18, 2017 17:21
Show Gist options
  • Select an option

  • Save droopy4096/f1ed416266aa33577edd6e8fc3283730 to your computer and use it in GitHub Desktop.

Select an option

Save droopy4096/f1ed416266aa33577edd6e8fc3283730 to your computer and use it in GitHub Desktop.
# hiera --hash networking.network environment=net_config clientcert='my.host.com'
nil
# hiera --hash networking environment=net_config clientcert='my.host.com'
{"mac_interfaces"=>
{"20:60:90:00:C0:40"=>
{"ipaddress"=>"10.3.1.2",
"enable"=>true,
"ensure"=>"present",
"bootproto"=>"static",
"netmask"=>"255.255.255.0"}},
"network"=>{"gateway"=>"172.0.0.1", "gatewaydev"=>"eth0"},
"bond_interfaces"=>
{"bond0"=>
{"ipaddress"=>"10.2.1.18",
"enable"=>true,
"ensure"=>"present",
"interfaces"=>["20:60:90:0A:3:A", "20:60:90:0A:3:8"],
"netmask"=>"255.255.255.248"}}}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment