Skip to content

Commit 321d81d

Browse files
committed
(maint) add puppetdb_query test
1 parent 6971ed7 commit 321d81d

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

spec/support/acceptance/shared/puppetdb.rb

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,4 +45,8 @@ class { 'puppetdb':
4545
it 'applies idempotently' do
4646
idempotent_apply(pp, debug: ENV.key?('DEBUG'))
4747
end
48+
49+
it 'agent can puppetdb_query' do
50+
apply_manifest("$envs = puppetdb_query('environments[name]{}')", expect_failures: false, debug: ENV.key?('DEBUG'))
51+
end
4852
end

0 commit comments

Comments
 (0)