add some tests

This commit is contained in:
Antoine Beaupré 2013-06-22 13:38:27 -04:00
parent a47e787de8
commit 5c2d174fa1
3 changed files with 7 additions and 0 deletions

3
tests/base.pp Normal file
View file

@ -0,0 +1,3 @@
class { 'sudo': dir => '/tmp/sudoers.d' }
sudo::access { 'foo': }

1
tests/deploy.pp Normal file
View file

@ -0,0 +1 @@
class { 'sudo': deploy_sudoers => true }

3
tests/freebsd.pp Normal file
View file

@ -0,0 +1,3 @@
# needs to be ran with FACTER_kernel=freebsd puppet apply --modulepath=.. tests/freebsd.pp
sudo::access { 'foo': }