On 03/14/2011 05:53 PM, Steve Linabery wrote:
---
spec/configure_spec.rb | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/spec/configure_spec.rb b/spec/configure_spec.rb
index 01f7816..2958961 100644
--- a/spec/configure_spec.rb
+++ b/spec/configure_spec.rb
@@ -69,4 +69,9 @@ describe "aeolus-configure" do
node.content.should =~ /.*Red Hat Cloud Engine.*/
end
+ it "should properly configure ntpd" do
+ #This ensures that ntpd is a client to at least one upstream ntp server
+ output = `/bin/echo listpeers | /usr/sbin/ntpdc`
+ output.should =~ /.*client.*/
+ end
end
ACK to both. Worked for me.
-Mo