add some tests
This commit is contained in:
parent
a47e787de8
commit
5c2d174fa1
3 changed files with 7 additions and 0 deletions
3
tests/base.pp
Normal file
3
tests/base.pp
Normal file
|
@ -0,0 +1,3 @@
|
|||
class { 'sudo': dir => '/tmp/sudoers.d' }
|
||||
|
||||
sudo::access { 'foo': }
|
1
tests/deploy.pp
Normal file
1
tests/deploy.pp
Normal file
|
@ -0,0 +1 @@
|
|||
class { 'sudo': deploy_sudoers => true }
|
3
tests/freebsd.pp
Normal file
3
tests/freebsd.pp
Normal file
|
@ -0,0 +1,3 @@
|
|||
# needs to be ran with FACTER_kernel=freebsd puppet apply --modulepath=.. tests/freebsd.pp
|
||||
|
||||
sudo::access { 'foo': }
|
Loading…
Reference in a new issue