From time to time NetworkManager breaks my /etc/resolv.conf. I normally turn that off using puppet but when /etc/resolv.conf is broken, puppet won't run so I have to fix it manually :-(
Well, not any more. Now I add a static /etc/hosts entry for the puppet server and puppet will run even when /etc/resolv.conf is broken.
The special part about this is that I look up the IP address using a template so I don't have to hard code the value in my manifest. Google said it could not be done without writing a custom function. As always, I did not believe it...
Assuming you have set $puppetserver to contain the fqdn of your puppet server:
host { 'hostsconf-puppet':
ensure => present,
ip => inline_template("<% _erbout.concat(Resolv::DNS.open.getaddress('$puppetserver').to_s) %>"),
name => $puppetserver,
target => '/etc/hosts',
}
Hooray for no more manual fixes! And what a simple solution it was, too. This is definitely one of those things that you put up with for a long time until one day you're just like "enough!" and actually do something about it. And that something takes like two seconds and you should've done it months ago.
ReplyDeleteBetter late than never?
Fred | https://webhostinggeeks.com/tools/
There is a really high amount of enjoyment in any Betiton canada machine casino. The payout and house advantage vary depending on the casino game. At this point, you are considering the house's perimeter. Fear not; I'll explain the house advantage and show you how to choose the casino game that will make you the most money.
DeleteThe replayability factor of geometry dash is off the charts, with each level offering a unique challenge and the potential for endless improvement.
DeleteThis article is fascinating. Clarie
ReplyDeleteWonderful goods from you, man. I have understand your stuff previous to and you’re just extremely magnificent. I actually like what you’ve acquired here, certainly like what you are saying and the way in which you say it. You make it entertaining and you still care for to keep it wise.
ReplyDeleteI can’t wait to read much more from you. This is really a great web site.
films altadefinizione
Very interesting content. Thanks.
ReplyDeleteLucy Hennessy, for more info visit my Homepage
google 4269
ReplyDeletegoogle 4270
google 4271
google 4272
google 4273
google 4274
google 4275
This is known as the cbd water entourage effect and is the reason our products are potent and effective.
ReplyDeleteFor example, an essay is completed between 3 and 7 hours. Research papers https://rankmywriter.com/payforessay-net-review only require 24 to 48 hours to write properly, and our professionals require the maximum of a week to research and write dissertations.
ReplyDeleteVery recommended service navigate to this web-site, their editors write the professional essay, also very patient for revisions. I have used this service for at least 5 papers now, and been happy with the service on all of them. Most of the time it is done before the deadline. Online customer service is also quick to respond to questions. I will continue to use them in the future!
ReplyDelete
ReplyDeleteعندما نتحدث عن نقل العفش فنحن امام مهمه صعبه جدا على بعض الاشخاص لان بعض الاشخاص يمتلكون العفش الكثير ممما يحتاج الى تغليف وتعبيئه ونقل بشكل مثالى حتى لا يكون فيه خدوش او تلفيات او تكسير ومن هنا تظهر خدماتنا فى القيام بنقل عفش مثالى دون اى تعب او مجهود او تكاليف باهظه
زهرة الشرقيه لنقل الاثاث بالدمام
شركة تركيب اثاث ايكيا بالدمام
شركة نقل عفش بالاحساء
I was very pleased to find this web-site. I wanted to thanks for your time for this wonderful read!! I definitely enjoying every little bit of it and I have you bookmarked to check out new stuff you blog post.
ReplyDeleteFmfreaks.dk
Information
Click Here
Visit Web
Great blog! Our new service https://topessaybrands.com/review/zipjob/ provides our customers with a list of 15 unique topics for the needed subject. Get in touch with us, and we will provide you with the most suitable specialist to handle your task on an individual basis. Pick one among 15 special topics and get it done.
ReplyDeleteIf you have specific topics or problems that you need to splash learn reviews address, you may need a tutor who specializes in that particular area.
ReplyDeleteCheers,
ReplyDeletedrywall companies near me
Analyzing game mechanics Papa's Pizzeria strategies, and narratives can enhance players' critical thinking and analytical skills.
ReplyDeleteIncredibox Sprunki boasts a colorful and engaging interface that makes music creation a breeze. The drag-and-drop mechanics allow for a smooth and enjoyable experience, encouraging players to experiment with different sounds and rhythms.
ReplyDeleteFamiliarize yourself with the Basketball Stars 2 game’s controls to execute precise shots and dribbles. Practice makes perfect, so spend time in practice mode to hone your skills before jumping into competitive matches.
ReplyDeleteThank you so much for sharing this. Lanai Screening Brandon FL
ReplyDeleteI've become addicted to Drift Hunters . The game's drift mechanics are satisfying, and the progression system keeps me coming back. Customizing and upgrading cars is a fun aspect. It's one of the best free drifting games I've played.
ReplyDeleteLooking for top-notch printing service in Oshawa? The UPS Store has you covered. Whether you need business cards, banners, flyers, or custom posters, their team delivers high-quality results tailored to your specifications. Impress your clients or spruce up your presentations with professional printing that stands out. From small print jobs to large orders, they handle it all with care and precision.
ReplyDelete