linux

ntpの導入をTDDライクにやってみる

serverspecでテストを実行できるようになったので、ntpの導入をTDDライクに進めながらやってみようと思います。まずはテストケースから。 describe package('ntp') do it { should be_installed } end describe file('/etc/ntp.conf') do it { should be_fil…

digをインストールする

チュートリアル環境にnslookupもdigも入っていなかったのでインストールしておきます。 [vagrant@localhost ~]$ dig -bash: dig: command not found [vagrant@localhost ~]$ nslookup -bash: nslookup: command not found [vagrant@localhost ~]$ [CentOS] d…