We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4dedbed commit 0b041e5Copy full SHA for 0b041e5
spec/acceptance/agent_spec.rb
@@ -91,4 +91,27 @@ class { 'puppet::agent':
91
it { should_not be_enabled }
92
end
93
94
+
95
+ context 'agent with external scheduler' do
96
+ it 'should run without errors' do
97
+ pp = <<-EOS
98
+ class { 'puppet::agent':
99
+ puppet_run_style => external,
100
+ templatedir => undef,
101
+ }
102
+ EOS
103
+ # Run it twice and test for idempotency
104
+ apply_manifest(pp, :catch_failures => true)
105
+ apply_manifest(pp, :catch_changes => true)
106
+ end
107
108
+ describe package('puppet') do
109
+ it { should be_installed }
110
111
112
+ describe service('puppet') do
113
+ it { should_not be_running }
114
+ it { should_not be_enabled }
115
116
117
0 commit comments