Hashar has uploaded a new change for review. ( 
https://gerrit.wikimedia.org/r/331635 )

Change subject: install_server: mock standard class for tests
......................................................................

install_server: mock standard class for tests

Two classes include the 'standard' class. We could add our module to the
list of fixtures but then we would need 'base' and 'apt' as well. That
looks more like an integration test to me.

Stub the standard class in the spec site.pp.

Change-Id: I02587cc4dd06f52e9a8afc1e0b755bf9b3a983b9
---
A modules/install_server/spec/fixtures/manifests/site.pp
1 file changed, 2 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/puppet 
refs/changes/35/331635/1

diff --git a/modules/install_server/spec/fixtures/manifests/site.pp 
b/modules/install_server/spec/fixtures/manifests/site.pp
new file mode 100644
index 0000000..67660ce
--- /dev/null
+++ b/modules/install_server/spec/fixtures/manifests/site.pp
@@ -0,0 +1,2 @@
+class standard {
+}

-- 
To view, visit https://gerrit.wikimedia.org/r/331635
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I02587cc4dd06f52e9a8afc1e0b755bf9b3a983b9
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Hashar <has...@free.fr>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to